At 20:56 9/04/2009, David Cournapeau wrote:
>> Python doesn't require semicolon statement terminators, does
it?
>
>no, it does not (but adding the semicolon made it work). I did
not
>know the above was supposed to be python code.
In general, anything within {} is target language code
(statements), anything in {}? is a target language expression, and
anything in [] is sort-of-target-languagey parameter lists ("sort
of", because ANTLR expects a specific format which might not be
how the target language usually works). Anything else is language
syntax (rule definitions) and isn't target-specific.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---