[antlr-interest] Example C style interpreter?

Brian Todoroff brian at todoroff.com
Wed Nov 21 12:44:33 PST 2007


Those are great examples of parsers, but I'm hoping to find an example
where someone has taken it the next step to an actual interpreter.
Unless I'm missing something these all stop after parsing the source.
I need to add a scripting engine to an in house app, so looking for an
example interpreter to help boost me up the learning curve.

Thanks,
Brian

> ---------- Forwarded message ----------
> From: Johannes Luber <jaluber at gmx.de>
> To:
> Date: Tue, 20 Nov 2007 21:05:35 +0100
> Subject: Re: [antlr-interest] Example C style interpreter?
> Brian Todoroff wrote:
> > Is there an example of a more realistic interpreter than the simple
> > tree based interpreter in the wiki?  Would prefer a simple C style
> > language, but really anything with multiple types, functions, and
> > function local variables will give me the basis for learning how to
> > get this done in ANTLR.  Thanks all for any help and the great tools.
> >
> > Brian
> >
>
> There are the examples for Java, C and C#. They should be available on
> the download page.
>
> Johannes


More information about the antlr-interest mailing list