From: "David V. Corbin"
<dvcorbin(a)optonline.net>
>> >>>
>> Can you create self modifying code in any high level
>> language, the kind of code where the application program
>> actually changes it's own instructions?
>>
>> I know in C it is possible to pass an address of a function
>> to a function, that's not really what I mean.
>>
Actually this is (sort of) becoming more common. One exciting feature of a
new platform by the software vendor who shall not be named, is that the
compiler is actually part of the runtime. This means that any program can
write source code to a string (or other structure) and compile and execute
it!!!!!!
Hi
It was possible to do in early BASIC's that allowed a machine
code subroutine calls. One input the code as data and then called
it. Both LISP and Forth have the ability to, by program, compile
code and then execute it. It is done more often in LISP.
This is a different form of self modifying.
Dwight