From: Julian Hsiao Newsgroups: comp.os.msdos.djgpp Subject: Re: interpreting C ??? Date: Sat, 10 Mar 2001 16:19:26 -0500 Organization: Carnegie Mellon University Message-ID: References: <3A9D5EC9 DOT CE9D100C AT t-online DOT de> <983hcu$d4p$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit User-Agent: MT-NewsWatcher/3.1 (PPC) X-Complaints-To: newsabuse AT supernews DOT com Lines: 26 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <983hcu$d4p$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>, Hans-Bernhard Broeker 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