Related articles |
---|
Simple C Interpreter Using Lex/Yacc jussi@sydney.DIALix.oz.au (1996-12-07) |
From: | jussi@sydney.DIALix.oz.au (Jussi Jumppanen) |
Newsgroups: | comp.compilers |
Date: | 7 Dec 1996 22:50:34 -0500 |
Organization: | DIALix Services, Sydney, Australia. |
Keywords: | C, yacc, lex |
For anyone looking for an example of how to write an interpreter using
the lexx and yacc tools, I have created a small C interpreter using
these tools. The C interpreter is perfect as a macro scripting tool or
a MS-DOS batch processing langauge.
The ZIP package contains both the source code and a working EXE file
that was built using BC++ 5.0 compiler. The zip file is located at the
following web page:
http://ourworld.compuserve.com/homepages/jussi/tTools.htm
The source code in the package comes in both a C and a C++ version.
Jussi Jumppanen (jussij@ca.com.au)
Author of: Hardware Digital Logic Analyers for Windows
Zeus for Windows, Win32 (Brief, WordStar, Emacs) Text Editor
"The C/C++, Java, Pacal, Cobol, Fortran programmers text editor"
Home Page: http://ourworld.compuserve.com/homepages/jussi/
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.