[antlr-interest] Keywords in grammar
Dagi.Troegner at dlr.de
Dagi.Troegner at dlr.de
Tue Oct 19 02:49:06 PDT 2010
Hi everyone,
I would like to create a grammar that looks for specific keywords. The problem is that the keywords may differ in different applications.
So is there a possibility to provide the grammar with some external variables containing the keywords?
And a rule in the grammar then compares a specific token in the input file, if it is one the provided keywords?
Thanks,
Dagi
********************************************************
Dagi Troegner
Deutsches Zentrum fuer Luft- und Raumfahrt (DLR)
Institut fuer Flugfuehrung
Abteilung Lotsenassistenz
Lilienthalplatz 7
D-38108 Braunschweig
Telefon: (49) 531 / 295-2189
Fax: (49) 531 / 295-2180
Email: Dagi.Troegner at dlr.de<mailto:Dagi.Troegner at dlr.de>
__/|__
/_/_/_/
|/ DLR
********************************************************
More information about the antlr-interest
mailing list