mirror of
https://github.com/antlr/grammars-v4.git
synced 2026-05-31 00:10:31 +08:00
* Working version of bcpl grammar. Note, this grammar is very slow, requires a non-standard test driver, and is CSharp specific. * Clean up grammar. Remove useless parser symbols. Use assop rule. * Remove Antlr anti-pattern. Remove Antlr anti-pattern. * Removed useless parentheses. Removed parentheses that are unnecessary. * Split of the grammar. * Add lexer base class. * Changes to hide ChannelsCommonTokenStream. * Clean up. * Ported bcpl grammar to Java target. * Fixed semantics check for newlines. The lookahead must be screened for either default or the channel given when asking for lookahead or lookback.