Related articles |
---|
A simple IMP intepreter in Prolog silvio@bluecodes.com (Silvio Mazzaro) (2003-10-18) |
Re: A simple IMP intepreter in Prolog jive@daimi.au.dk (Jorgen Iversen) (2003-10-27) |
Re: A simple IMP intepreter in Prolog paulo.pinto@cern.ch (Paulo Pinto) (2003-10-27) |
From: | Paulo Pinto <paulo.pinto@cern.ch> |
Newsgroups: | comp.compilers |
Date: | 27 Oct 2003 16:03:57 -0500 |
Organization: | CERN - European Laboratory for Particle Physics |
References: | 03-10-094 |
Keywords: | prolog, Pascal |
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
http://www.progtools.org/compilers/projects/analyzer/analyzer.tgz
--
Paulo Pinto
Return to the
comp.compilers page.
Search the
comp.compilers archives again.