Key facts
- Manuals
- 1
- Languages
- EN
- Last added
- 2026-11-16
Featured Menhir manuals

Menhir 20240715 Parser Generator Reference Manual
Menhir is a parser generator that turns high-level grammar specifications decorated with semantic actions into parsers. It is based on Knuth’s LR(1) parser construction technique and is inspired by yacc, ML-Yacc, and ocamlyacc.
The manual covers usage, lexical conventions, grammar specification syntax, advanced features, conflicts, positions, interpreter mode, generated APIs, and error handling. It also describes the Coq back-end, building grammarware on top of Menhir, interaction with build systems, comparison with ocamlyacc, and technical background.
Covers: Foreword · Usage · Lexical conventions · Syntax of grammar specifications · Advanced features · Conflicts
Latest Menhir manuals
Menhir 20240715 Parser Generator Reference Manual
Programming Manual 61 pages · 526 KB · ENReference manual for Menhir version 20240715, a parser generator that turns high-level grammar specifications into parsers.
Which document do I need?
Programming Manual
Instruction set, parameters and examples for configuring or programming the device.
Questions answered in Menhir manuals
What is Menhir?
Menhir is a parser generator that turns high-level grammar specifications into parsers.
What parser construction technique does Menhir use?
Menhir uses Knuth’s LR(1) parser construction technique.
