Thanks,
 
the problem is something like this:
.......
 
Identifier     : (Letter | '_') (LetterOrDigit | '_')* ;
 
ReservedIdentifier  : PseudoVariableReference | ConstantReference;

PseudoVariableReference  : 'self' | 'super' | 'thisContext';
 
ConstantReference : 'nil' | 'false' | 'true' ;
 
ConstantReference
 : 'nil' | 'false' | 'true'
 ;
 
PseudoVariableReference
 : 'self' | 'super' | 'thisContext'
 ;
 
ReservedIdentifier
 : PseudoVariableReference | ConstantReference
 ;
 
BindableIdentifier : Identifier  -  ReservedIdentifier ;  //this is EBNF 
notation

How do I set up a BindableIdentifier rule so it is valid for ANTLR??
 
I have to admit, I just started using ANTLR and I like it a lot, but still, I 
think the learning curve is very steep....
 
Thanks,
  Vlastimil 


      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to