|Executing code without generating stack machine code firstname.lastname@example.org (2005-04-26)|
|Re: Executing code without generating stack machine code email@example.com (Carlos) (2005-04-30)|
|Re: Executing code without generating stack machine code firstname.lastname@example.org (2005-04-30)|
|Date:||26 Apr 2005 20:40:02 -0400|
|Posted-Date:||26 Apr 2005 20:40:02 EDT|
I have seen hoc ( Kernighan & Pike ), PL0 ( Niklaus Wirth ) that
are calculator programs.
I was wondering if I could execute code from its tree
representation without generating any intermediate code. At the least
my language supports if/then/else, loops, procedures, goto's and
expressions. This would allow me to avoid the extra stack machine
processor code, required to run the intermediate code.
[Sure. Interpreting trees is not hard. -John]
Return to the
Search the comp.compilers archives again.