Example of Lex and Yacc Interpreter

Jussi Jumppanen <jussij@zeusedit.com>
1 Apr 2000 14:04:31 -0500

          From comp.compilers

Related articles
Example of Lex and Yacc Interpreter jussij@zeusedit.com (Jussi Jumppanen) (2000-04-01)
| List of all articles for this month |

From: Jussi Jumppanen <jussij@zeusedit.com>
Newsgroups: comp.compilers
Date: 1 Apr 2000 14:04:31 -0500
Organization: Xidicone Pty Ltd
Keywords: C, interpreter, available

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. This "C like" interpreter is perfect as an embedded macro
scripting language or could also be used as a batch scripting tool.

The zip files containing the source and EXE files are located at the
following new web page:


The source code was built using BC++ 5.0 compiler and is available in
both C (ZMI.ZIP) and C++ (ZMPP.ZIP) versions.

Jussi Jumppanen
Author of: Zeus for Windows, Win32 (Brief, WordStar, Emacs) Text Editor
"The C/C++, Java, HTML, Pascal, Cobol, Fortran programmer's text editor"

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.