Related articles |
---|
ANNOUNCE: Generic Interpreter (gi) 0.9 carich@csupomona.edu (Craig A. Rich) (2000-07-27) |
From: | "Craig A. Rich" <carich@csupomona.edu> |
Newsgroups: | comp.compilers |
Date: | 27 Jul 2000 21:32:55 -0400 |
Organization: | California State Polytechnic University Pomona |
Keywords: | interpreter, available |
Generic Interpreter (gi) 0.9
----------------------------
Home: http://www.csupomona.edu/~carich/gi/
Version: Generic Interpreter 0.9
Requires: JDK 1.2 or higher
Download: http://www.csupomona.edu/~carich/gi/gi-0.9.tar.gz
(source, classes, documentation, examples)
http://www.csupomona.edu/~carich/gi/gi-0.9.zip
(source, classes, documentation, examples)
Introduction
------------
The Generic Interpreter is used to produce compact standalone or
embedded interpreters and compilers written in Java. It is unique in
producing "just-in-time" interpreters with respect to source stream,
language specification, and parsing method. Nothing is preconstructed
or generated as in most compiler construction tools. A Language is
specified on the fly, and source streams written in the language can
be interpreted at any time, even as the language evolves. Language
specifications are analyzed only when source streams are read and only
to the extent the source stream and parsing method require. The
Generic Interpreter adapts to changes in language and parsing method,
and it is reasonable to treat the language specification and parsing
method as variables (to what end, I'm not yet sure ;). The Generic
Interpreter has a small footprint; it has a class archive under 40K,
uses under 500K of heap memory, and generates no internal garbage. If
you find an interesting use for the Generic Interpreter, I'd like to
see it.
Several parsing methods are supported--LL(1), LR(0), SLR(1) and LR(1).
A parser extends a Grammar, can be constructed on demand around any
Grammar in constant time, and adapts to changes in the underlying
Grammar and Lexicon.
Feedback/Availability
---------------------
Please report any bugs or feature requests to <carich@acm.org>.
----------------------------------------------------------------------------
Craig A. Rich, Professor voice: (909) 869-3447
Computer Science Department fax: (909) 869-4733
Cal Poly Pomona mailto:carich@acm.org
Pomona, CA 91768 http://www.csupomona.edu/~carich/
Return to the
comp.compilers page.
Search the
comp.compilers archives again.