[antlr-interest] Re: Questions about learning ANTLR
Ric Klaren
klaren at cs.utwente.nl
Tue Oct 8 05:06:09 PDT 2002
Hi,
On Mon, Oct 07, 2002 at 03:43:32PM -0400, Hensley, Richard wrote:
> Does it matter where the tokens section is placed?
> In otherwords, is there a significant functional difference between
> placing tokens for literals in the parser or in the lexer?
Does not matter much, unless you split your antlr lexer/parser/treewalker
hierarchy in separate files, then you have to be really structured with
this and use the right import/exportVocab options in the right place.
If this interests you look for a few detail posts off mine on
import/exportVocab.
Cheers,
Ric
--
-----+++++*****************************************************+++++++++-------
---- Ric Klaren ----- klaren at cs.utwente.nl ----- +31 53 4893722 ----
-----+++++*****************************************************+++++++++-------
"You know how to use that thing?" [pointing to the sword]
"Sure.. The pointy end goes into the other guy."
--- The Mask of Zorro
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list