Re: Absolute beginner - Need some pointers

Soeren Sandmann <sandmann@daimi.au.dk>
07 Mar 2008 23:39:01 +0100

          From comp.compilers

Related articles
Absolute beginner - Need some pointers nacarlson@gmail.com (NickCarlson) (2008-02-27)
Re: Absolute beginner - Need some pointers DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-02-28)
Re: Absolute beginner - Need some pointers bc@freeuk.com (Bartc) (2008-02-29)
Re: Absolute beginner - Need some pointers anton@mips.complang.tuwien.ac.at (2008-03-02)
Re: Absolute beginner - Need some pointers anton@mips.complang.tuwien.ac.at (2008-03-03)
Re: Absolute beginner - Need some pointers anton@mips.complang.tuwien.ac.at (2008-03-04)
Re: Absolute beginner - Need some pointers gah@ugcs.caltech.edu (glen herrmannsfeldt) (2008-03-05)
Re: Absolute beginner - Need some pointers sandmann@daimi.au.dk (Soeren Sandmann) (2008-03-07)
| List of all articles for this month |
From: Soeren Sandmann <sandmann@daimi.au.dk>
Newsgroups: comp.compilers
Date: 07 Mar 2008 23:39:01 +0100
Organization: University of Aarhus, Department of Computer Science (DAIMI)
References: 08-02-091
Keywords: interpreter
Posted-Date: 08 Mar 2008 10:57:49 EST

NickCarlson <nacarlson@gmail.com> writes:


> [Unless you plan to save the bytecode to a file and reload it later,
> it's easier just to interpret the trees. -John]


Things like "goto", "break" or "continue" can be pretty difficult to
implement in a recursive tree-walking interpreter. I have found it
simpler to generate a goto-graph, then walk that.


Soren


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.