|Adding an interpreted language to program email@example.com (me262) (2007-03-29)|
|Re: Adding an interpreted language to program firstname.lastname@example.org (me262) (2007-03-29)|
|Re: Adding an interpreted language to program email@example.com (Louis Krupp) (2007-03-30)|
|Date:||29 Mar 2007 01:01:16 -0400|
|Keywords:||interpreter, question, comment|
|Posted-Date:||29 Mar 2007 01:01:16 EDT|
I am facing a task of hooking up my program to an intepreted
language for front end. I know nothing about compiler theory. Is there
a step-by-step guide on how to do that?
I looked into some tools such and ANTLR and GOLD. Somehow, they
would produce an AST. But how do I work it to do things that are
useful, for example, printing "Hello world: we saw a = 10?".
[This question comes up a lot, and the best advice is NOT to try to
write your own interpreter. There are plenty of interpreted languages
already such as TCL, Lua, and Python, any of which can be used to
drive your application. -John]
Return to the
Search the comp.compilers archives again.