[antlr-interest] Location dependent token?
Mats Ekberg
mats.ekberg at arcticgroup.se
Mon Dec 29 05:41:05 PST 2008
Lets say a three letter word in uppercase can mean one of two tings
like:
10 EUR
where EUR means a monetary unit
10 EUR / TNE
where EUR still means a monetary unit but the three letters TNE now
means a measurement uniot.
How can that be expressed in a grammar??
/mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081229/dfa29844/attachment.html
More information about the antlr-interest
mailing list