« Return to Thread: How to define the tokens dynamically?

Re: How to define the tokens dynamically?

by Theodore S. Norvell :: Rate this Message:

Reply to Author | View in Thread

You might use javacc's generated tokenizer to find words, but then use a
token
action to look up the word in a table and change the kind field.

--
Dr. Theodore Norvell                    http://www.engr.mun.ca/~theo
Electrical and Computer Engineering,     theo at engr dot mun dot ca
Faculty of Engineering and Applied Science        Ph +1 709 737-8962
Memorial University of Newfoundland              Fax +1 709 737-4042
St. John's, NL, Canada, A1B 3X5

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: How to define the tokens dynamically?