ANTLR v3 FAQ
The set of "frequently asked questions" (FAQ) for ANTLR version 3.
The questions are organized by topic via subpages.
- FAQ - Debugging
- API Documentation - Language Targets
- FAQ - Error handling
- FAQ - Translation
- FAQ - Runtime libraries
- FAQ - Actions
- FAQ - Grammar analysis
- FAQ - Parsing
- FAQ - Getting Started
- FAQ - Command-line options
- FAQ - Tree construction
- What does the error 'cannot find tokenRefBangTrack.st' mean?
- Can you explain ANTLR's tree construction facilities?
- How can I build a different AST node type for each token type?
- How do I display ASTs graphically
- How can I build parse trees not ASTs?
- How do I track whitespace, comments, and other hidden channels during AST construction?
- FAQ - C Target
- FAQ - Lexical analysis
- How do I strip quotes?
- How can I emit more than a single token per lexer rule?
- How can I allow keywords as identifiers?
- How do I combine fuzzy parsing and stream rewriting?
- How do I get case insensitivity?
- Lexing floating point numbers, dot opertor and range operator
- How do I match multi-line comments?
- How do I access hidden tokens from parser?
- How can I emit an error token upon lexical error?
- How do I handle abbreviated keywords?
- How do I implement include files?
- What is the intended behavior of the lexer?
- How do I use a custom token object?
- How can I make the lexer exit upon first lexical error?
- How do I fetch tokens on demand not all at once up front?
- How do I selectively ignore tokens depending on parser context?
- Can I see a more complete example?
- FAQ - General
- FAQ - Tree Parsing
- Downloadable Examples