menhir
LR(1) parser generator for OCaml
Install
- All systems
-
curl cmd.cat/menhir.sh
- Debian
-
apt-get install menhir
- Ubuntu
-
apt-get install menhir
- Kali Linux
-
apt-get install menhir
- Fedora
-
dnf install ocaml-menhir
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install menhir
- OS X
-
brew install menhir
- Raspbian
-
apt-get install menhir
- Dockerfile
- dockerfile.run/menhir
ocaml-menhir
LR(1) parser generator for OCaml
menhir
Parser generator for OCaml
Menhir is a LR(1) parser generator for the OCaml programming language. It is mostly compatible with the ocamlyacc parser generator provided with the OCaml system, and has the following enhancements over ocamlyacc: * it accepts LR(1) grammars, * it offers parameterized nonterminal symbols as well as a library of standard definitions, * it explains conflicts in terms of the grammar, * it allows grammar specifications to be split over multiple files and parametrized by OCaml modules, * it produces reentrant parsers.