Package pylilac :: Module Symbol
[frames | no frames]

Module pylilac.Symbol

An interface to build expressions in the Backus-Naur form (BNF), used as right hand symbols in the rules of a Grammar.

Hierarchy

The classes in this module follow this hierarchy:
       <pre class="base-tree">
        <a href="../private/pylilac.Symbol._Symbol-class.html"><code>_Symbol</code></a> --+    
                  |    
       <a href="../private/pylilac.Symbol._Aggregation-class.html"><code>_Aggregation</code></a> --+
                      |
                     <b>Alternation</b>
       </pre><br />

  _Symbol --+    
            |
            +------Terminal-----+
            |                   |
            |                   +--_Epsilon
            |
            +---NonTerminal
            |    
            +--_Aggregation-----+
                                |
                                +--Concatenation
                                |
                                +----Alternation

Supported operations

Over the set Σ of possible BNF expressions, two operations are defined: Σ has the following properties:

To Do: _kleene() function and * operator (rank 3)

Classes
Alternation  
Concatenation  
NonTerminal A non-terminal symbol.
Terminal A terminal symbol.

Generated by Epydoc 2.1 on Sat Aug 26 09:33:46 2006 http://epydoc.sf.net