package camlp5

  1. Overview
  2. Docs
Preprocessor-pretty-printer of OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

8.05.03.tar.gz
sha512=348b345c2d26980e5238cbde148517483a2e15b2feefaf8b0c646f8313c7ef8e7f524dfdcc625b0aa4efb488aa065e9fe7243c1607e9ea9671beb8786b63645b

Description

Camlp5 is a preprocessor and pretty-printer for OCaml programs. It also provides parsing and printing tools.

As a preprocessor, it allows to:

extend the syntax of OCaml, redefine the whole syntax of the language. As a pretty printer, it allows to:

display OCaml programs in an elegant way, convert from one syntax to another, check the results of syntax extensions. Camlp5 also provides some parsing and pretty printing tools:

extensible grammars extensible printers stream parsers and lexers pretty print module It works as a shell command and can also be used in the OCaml toplevel.

Added to opam-repository: