|A simple IMP intepreter in Prolog email@example.com (Silvio Mazzaro) (2003-10-18)|
|Re: A simple IMP intepreter in Prolog firstname.lastname@example.org (Jorgen Iversen) (2003-10-27)|
|Re: A simple IMP intepreter in Prolog email@example.com (Paulo Pinto) (2003-10-27)|
|From:||Paulo Pinto <firstname.lastname@example.org>|
|Date:||27 Oct 2003 16:03:57 -0500|
|Organization:||CERN - European Laboratory for Particle Physics|
|Posted-Date:||27 Oct 2003 16:03:57 EST|
Silvio Mazzaro wrote:
> I was searching for some example code which could help me in writing
> an intepreter in prolog, for a simple imperative language.
A few years ago I've written a syntatic analyzer for a small
subset of Pascal in SWI Prolog.
Maybe the code could help you somehow.
It is available at
Return to the
Search the comp.compilers archives again.