[comp.lang.c] lex & yacc source for C-language interpreter

turner@Apple.COM (Douglass Turner) (01/04/90)

Has anyone out there got yacc and lex source for a c language interpreter.
If so would you be willing to share it with me? My real need is a c++
interpreter but I'm assuming it's far too early in the game for that.
 
My intended use is to use it for writing a scene description language for
a 3D rendering system I'm building. 

The use will be internal to my research group and will not be distributed
in any product, or anything of that sort.

If you can help or provide leads, I'd be grateful.

Cheers,
Doug Turner
408-974-0484
turner@apple.com
[There's always gcc, but I haven't heard of anyone building an interpreter
onto the back of it. -John]
-- 
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus}!esegue.  Meta-mail to compilers-request@esegue.
Please send responses to the author of the message, not the poster.

charlie@genrad.genrad.com (Charlie D. Havener) (01/04/90)

The request was for a C++ grammar and or interpreter.
The December Dr. Dobbs Journal had an article on a C++
parser built using the LALR research parser tool.

In comp.lang.c++ a notice was posted asking for reviewers of
a C++ grammar suitable for YACC. 

Date: Tue, 2 Jan 90 14:44:04 EST
Reply-to: Jim Roskind x5570 <mit-eddie!RELAY.CS.NET!ileaf!io!leigh!jar%umb.edu>

Finally, there have been many ads for an expert system shell
called OPS2000 I think for $95 for PC's that claims to have
a C++ interpreter as part of it.
[From "Charlie D. Havener" <charlie@genrad.genrad.com>]
-- 
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus}!esegue.  Meta-mail to compilers-request@esegue.
Please send responses to the author of the message, not the poster.