alpag.net
manual
Alpag
lexer and parser generator
Manual
version 1.2 free
Jacek Chorobinski
Table of Contents
What is Alpag
How to read this manual
Introduction
General concepts
Lexer
Parser
First steps
Lexer
Parser
Input file format
General format
Definition sections
Lexer rules section
Parser rules section
Lexer
Regular expression syntax
Character ranges and encodings
Lexer operation
Programming interface
Parser
Parser operation
Lookaheads and defaulting
Conflicts
Error handling and recovery
Programing interface
Integration
Lexer-parser integration
Error codes
Code generation
Examples
Configuration
Example: Calculator
Options reference
Command line reference
Bibliography
Table of contents
Alpag Manual
Jacek Chorobinski