Erlang & AI
Sun Sep 4 23:21:05 CEST 2005
On 9/4/05, Joel Reymont <> wrote:
> Strange choice. How would you write self-modifying code in Erlang?
Most of the time when someone says "self modifying code" in regard to
AI, they simply mean manipulating code as an abstract syntax tree,
then generating program text from that tree which can be compiled and
loaded on the fly. Lisp has the advantage here, because the AST and
program text can be identical, but this is easy enough to do in Erlang
or any other language where you can call the compiler and reload code
from a running program.
More information about the erlang-questions