Languages and Compilers:

Parser and Lexer Generators:

  • Opal – Self-contained monadic parser combinators for OCaml.
  • Sedlex is a modern, encoding-agnostic (read: Unicode-supporting) lexer generator (the ppx-based successor to ulex.)
  • Menhir – Menhir is a LR(1) parser generator for OCaml.
      • See ocaml-parsing for a clearer example of using Menhir and Sedlex to produce a useful parser,
      • … and Obelisk, a neat project to produce readable LaTeX, HTML, or plain-text EBNF-style documentation for your grammar.
  • ocamllex/ocamlyacc – lex and yacc implementation for OCaml.
  • Angstrom - Parser combinators built for speed and memory efficiency


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License