alpag.net
manual
Table of contents
<
Bibliography
Table of contents
Alpag Manual
What is Alpag
How to read this manual
Introduction
General concepts
Lexer
Regular grammar
Lexical analysis process
Lexer algorithm
Parser
Grammars and algorithms
Grammar definition
Parser algorithm
Parsing example
First steps
Lexer
Lexer grammar
Generating lexer report
Integration with application
Parser
Parser grammar
Generating parser report
Integration with code
Input file format
General format
Definition sections
Common definitions
Lexer definitions
Parser definitions
Lexer rules section
Parser rules section
Lexer
Regular expression syntax
Character ranges and encodings
Lexer operation
Buffers
Matching
Automaton
Programming interface
Basic interface
Token Value
Resetting
Reading input
Encodings
Buffers
Modes
More and Less
Rejecting
Capturing
Debugging
Code generation options
Parser
Parser operation
Context Free Grammar
Automaton
Basic parsing
Handling alternative productions
Recursion
Lookaheads and defaulting
Parser operation with lookaheads
Defaulting
Configuration
Conflicts
Types of conflicts
Conflict context
Resolving conflicts
Managing conflicts
Error handling and recovery
Error recovery mechanism
Custom error tokens
Error recovery and lookahead
Programing interface
Basic operation
Resetting
Reading input
Debugging
Value data
Code generation options
Integration
Lexer-parser integration
Integration options
Token identifiers
Passing value
Error codes
Code generation
Examples
Configuration
Example: Calculator
Options reference
Command line reference
Bibliography
Table of contents
<
Bibliography
Alpag Manual