Changeset 3892


Ignore:
Timestamp:
Aug 26, 2008, 6:41:47 PM (12 years ago)
Author:
orlov
Message:
  • Earley parser.
Location:
applications/trunk/LFC
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • applications/trunk/LFC/.classpath

    r3791 r3892  
    22<classpath>
    33        <classpathentry kind="src" path="parser"/>
     4        <classpathentry kind="src" path="Earley"/>
    45        <classpathentry kind="con" path="org.refal.rfpdt.launching.rfpContainer"/>
    56        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
  • applications/trunk/LFC/lfc.ast

    r3809 r3892  
    3030         | t.const
    3131         | t.var
    32         | (CALL t.name (e.exp) e.args)
    33         | (PAREN e.exp)
    34         | (IF (e.exp) (e.exp) (e.exp))
    35         | (LET (t.assign e.assigns) e.exp)
     32        | (CALL t.name (e.exp) e.args)
     33        | (PAREN e.exp)
     34        | (IF (e.exp) (e.exp) (e.exp))
     35        | (LET (t.assign e.assigns) e.exp)
    3636
    3737e.args ::= /*empty*/ | (e.exp) e.args
     
    4848
    4949t.name ::= ([characters])
    50 
  • applications/trunk/LFC/parser/GrammarParser.rf

    r3810 r3892  
    3232CheckIdentifier e.ident (e.production) =
    3333  {
    34     <ScanIdentifier e.ident 0 0> : e () s s = (TYPE e.ident);
     34    <ScanIdentifier e.ident 0 0> : e () s s = (TYPE (e.ident));
    3535    $error "Invalid nonterminal name in the left part of the production " e.production;
    3636  };
Note: See TracChangeset for help on using the changeset viewer.