Re: Intermediate Language Design?

dwight@pentasoft.com (Dwight VandenBerghe)
7 Oct 1998 23:04:50 -0400

          From comp.compilers

Related articles
Intermediate Language Design? felixmish@usa.net (Felix Mish) (1998-10-06)
Re: Intermediate Language Design? fs29@rummelplatz.uni-mannheim.de (1998-10-07)
Re: Intermediate Language Design? etienne_gagnon@my-dejanews.com (1998-10-07)
Re: Intermediate Language Design? dwight@pentasoft.com (1998-10-07)
Re: Intermediate Language Design? vmakarov@cygnus.com (Vladimir Makarov) (1998-10-07)
Re: Intermediate Language Design? pjk@bcs.org.uk (Peter Knaggs) (1998-10-13)
| List of all articles for this month |

From: dwight@pentasoft.com (Dwight VandenBerghe)
Newsgroups: comp.compilers
Date: 7 Oct 1998 23:04:50 -0400
Organization: http://www.supernews.com, The World's Usenet: Discussions Start Here
References: 98-10-045
Keywords: design

On 6 Oct 1998 15:22:51 -0400, Felix Mish <felixmish@usa.net> wrote:


>[If you just want to interpret it, I like strings of RPN tokens and a
>simple stack-based interpreter. -John]


John's idea is good. I like strings of prefix tokens instead, because
I think they're easier to debug. Also, avoid going with a binary file
- just output ascii, with a newline at the end of a logical node, and
you can even indent to show tree structure. I mean, to do this in the
file itself.


If you haven't chosen a language for the interpreter yet, may I
suggest Perl? It's great for this kind of thing.


Dwight


Post a followup to this message

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