Generic Interpreter 1.2
Public API

gi
Class LL1_Grammar

java.lang.Object
  extended bygi.Lexicon
      extended bygi.Grammar
          extended bygi.LL1_Grammar

public class LL1_Grammar
extends Grammar

This class implements an LL(1) parser around a Grammar. The parser adapts to changes in the underlying Grammar. Semantics in a phrase are evaluated during a top-down left-to-right recursive descent parse, when they are first visited. Attributes above or to the left of the Semantics are available during evaluation. A Grammar with left-recursive productions can cause infinite recursion, unless productions that terminate recursion have priority over productions that recurse.

Version:
1.2
Author:
© 1999-2004 Craig A. Rich <carich@csupomona.edu>

Methods inherited from class gi.Grammar
interpret
 
Methods inherited from class gi.Lexicon
interpret, interpret, interpret, interpret, interpret, interpret
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 


 

© 1999-2004 Craig A. Rich <carich@csupomona.edu>