2009/6/6 Terence Parr <[email protected]>:
> Hi. Isn't it annoying though to get a description of something (say in
> a printed book) and then have to go to the machine to read along in
> the code?
I like the approach you've taken with the java pseudocode;
public Token nextToken() {
while ( «lookahead-char»!=EOF ) {
if ( «comment-start-sequence» ) { COMMENT(); continue; }
If you can shorten the code by including this kind of thing, I think
that works very well.
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
-~----------~----~----~----~------~----~------~--~---