Mail Archives: djgpp/2001/03/10/16:26:36
In article <983hcu$d4p$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>,
Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> wrote:
> Writing a C interpreter is one of the longest standing open projects
> listed by the GNU project, on their website. AFAIK, no progress has
> been achieved in a long while.
On the topic of C interpreters, there was one that I came across called
Leonardo (sp? it's supposed to be named after the artist). It supports
most of the C standard library (stdio, string, math, etc.) I think the
way it was done was that the author uses a virtual CPU (kinda like the
JVM) that executes the C source code.
The really cool thing about this interpreter is that it allows you to
step _backwards_ when debugging, which is helpful at times. And if
you're just writing command-line programs, it's very easy to debug your
code using Leonardo, and later compile it with something else.
Unfortunately, the interpreter hasn't been updated for a few years, and
it only runs on Macintoshes. Does anyone know of similar programs for
the PC?
Thanks.
Julian Hsiao
madoka AT novastar DOT com
- Raw text -