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.
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.
To install camlp5, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install camlp5
To see what files were installed by camlp5, run:
port contents camlp5
To later upgrade camlp5, run:
sudo port selfupdate && sudo port upgrade camlp5
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.