[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pb lexical



> LEXICAL ERROR detected at line 1, current character : [

If you want to parse a program fragment of the L language (i.e. text 
that is less than a whole program), you need to define "entry points" 
in the Metal specification of L. 
For each phylum of L, you must add the rule:

<axiom> ::= "[ENTRY_POINT]" <non_terminal> ;

where ENTRY_POINT is the name of the phylum defined in the abstract 
syntax.


Valerie Pascual.