[antlr-interest] CLI with ANTLR - best practice
thierryj8
thierryj8 at yahoo.com
Fri Apr 9 09:29:44 PDT 2004
Best practice for CLI in Lex&Yacc, O'Reilly:
".. In order to scan the command line rather than a file, we must
rewrite input() and unput()..." (p38),
"...The input routine handles calls from the lexer to obtain
characters" (p41),
"...The unput() routine handles calls from the lexer to "push back"
characters into the input stream." (p41)
Input() treats the CLI end of line as the end of file. Is there an
equivalent in ANTLR?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list