Creating interpreter/compiler for self written language

tadriaen@zorro.ruca.ua.ac.be (Tom Adriaenssen)
13 Feb 1996 00:33:09 -0500

          From comp.compilers

Related articles
Creating interpreter/compiler for self written language tadriaen@zorro.ruca.ua.ac.be (1996-02-13)
Re: Creating interpreter/compiler for self written language lhf@csg.uwaterloo.ca (1996-02-14)
Re: Creating interpreter/compiler for self written language nrd1rls@nrd.ups.com (1996-02-14)
Re: Creating interpreter/compiler for self written language taj@vanbc.wimsey.com (1996-02-16)
Re: Creating interpreter/compiler for self written language tnelson@fluorite.telesciences.com (1996-02-23)
| List of all articles for this month |

From: tadriaen@zorro.ruca.ua.ac.be (Tom Adriaenssen)
Newsgroups: comp.compilers
Date: 13 Feb 1996 00:33:09 -0500
Organization: PING Belgium
Keywords: question

Hi all,


I need to create a small language for a project i'm working on. Syntax
is no point, although i'd like it to be a pascal-C hybrid. Does anyone
know any good references (preferable on the 'net) to start with; I've
got a bit of a clue of how to parse a program, but I definately need
more help.


Would it be best to create a direct interpreter, or develop (another)
meta-instruction set that will be interpreter at run time, and normal
programs will be compiled to this meta instruction set...


Any clues?


Tom
[If your language includes and sort of flow control like if-then-else or loops,
I find it easier to compile to either RPN or trees and interpret that. -John]


--


Post a followup to this message

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