ANNOUNCE: Generic Interpreter (gi) 0.9

"Craig A. Rich" <>
27 Jul 2000 21:32:55 -0400

          From comp.compilers

Related articles
ANNOUNCE: Generic Interpreter (gi) 0.9 (Craig A. Rich) (2000-07-27)
| List of all articles for this month |

From: "Craig A. Rich" <>
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


        Version: Generic Interpreter 0.9

      Requires: JDK 1.2 or higher

                          (source, classes, documentation, examples)

                          (source, classes, documentation, examples)


      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.


      Please report any bugs or feature requests to <>.

Craig A. Rich, Professor voice: (909) 869-3447
Computer Science Department fax: (909) 869-4733
Cal Poly Pomona
Pomona, CA 91768

Post a followup to this message

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