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) |
From: | Felix Mish <felixmish@usa.net> |
Newsgroups: | comp.compilers |
Date: | 6 Oct 1998 15:22:51 -0400 |
Organization: | Compilers Central |
Keywords: | design, question, comment |
Hello everyone,
I am implementing a simple interpreter. I plan to separate the parsing
and interpreting process. The source files are treated by the parser
and generate a binary form intermediate language. The interpreter take
the binary intermediate language and interprets it.
SOURCE FILE
|
v
|Parser| ==>BINARY INTERMEDIATE LANGUAGE ==>|Interpreter|
Unlike Java VM, The intermediate should have almost the same elements
of the source language. I am wondering how to represent this
intermediate language. Anyone has any hint?
[If you just want to interpret it, I like strings of RPN tokens and a
simple stack-based interpreter. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.