Compiler concept
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Mon Dec 12 17:57:24 PST 2016
On Tuesday, 13 December 2016 at 01:03:54 UTC, Ignacious wrote:
> Would it be difficult to implement the following, or something
> with similar capabilities, as a patch to dmd?
It would be pretty hard to do with dmd because compiled code
isn't designed for modification, but it wouldn't be too hard to
do with an interpreter, which uses a tree of nodes already
anyway. Dynamic (and JIT VM based) languages often use this kind
of thing internally for optimizations and sometimes for
self-modifying code.
More information about the Digitalmars-d
mailing list