ANTLR Section Index | Page 5

Are parsers generated by ANTLR thread-safe? Can I parse multiple inputs concurrently?

Has anyone constructed a grammar file for English, Spanish, or other natural language?

How can I make a lexer throw away characters until a rule is satisfied?

How can I use multiple lexers to scan my input (how do I get "lexer states")?

How can I use the same lexer with multiple parsers?

How do I signal the parser to bail out immediately upon detection of a syntax error, instead of trying to consume tokens until it resynchs?

Is there an ANTLR grammar/parser for language X?

Using the heterogenous tree construction facility, how can I force all the AST nodes created be of type MyASTNode thereby doing away the required casting from AST*?

Why does ANTLR generate an if-then-else for an optional subrule where the else-clause tests for what follows the subrule?

How can I get AWK or SED type filtering behavior?

How do I use a non-ANTLR-generated (C++) lexer into an ANTLR-generated parser?

How do you design the parser to retain identifiers to check if the same identifier is being repeated later in the input?

Is it possible to parse/lex UNICODE characters with ANTLR?

Can a tree parser inherit from another tree parser?

When I inherit rules from another grammar, the generated output parser actually includes the combined rules of my grammar and the supergrammar. Why doesn't the generated parser class just inherit from the class generated from the supergrammar?

About | Sitemap | Contact