Creates a lexer grammar.
Since antlr token identifiers must start with an uppercase symbol,
I prepend Surrogate_id_SYMB_ to the identifier.
This introduces risks of clashes if somebody uses the same identifier for
user defined tokens. This is not handled.
returns the environment because the parser uses it.
ModuleBNFC-2.9.5Haskell2010
BNFC.Backend.Java.CFtoAntlr4Lexer
- 1 value
- PackageBNFC-2.9.5
- Exports1
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceCFtoAntlr4Lexer.hs