I am recently thinking about writing self-modifying programs, I think it may be powerful and fun... So I am currently looking for a language that allow modifying program own code easily..
I read about C# (as a way around) and the ability to compile -and execute- code in runtime, but that is too hurting..
- I am also thinking about assembly... it is easier there to change running code but it is not very powerful (very raw)...
Can you suggest me a powerful language -or a feature- that support modifying code in runtime..?
Hints
That what I mean by modifying code in runtime:
Start:
a=10,b=20,c=0;
label1: c=a+b;
....
label1= c=a*b;
goto label1;
and may be building a list of instructions:
code1.add(c=a+b);
code1.add(c=c*(c-1));
code1. execute();
Thanks!