lang/camlp5 - The NetBSD Packages Collection

Preprocessor-pretty-printer for ocaml

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.

Build dependencies

pkgtools/mktools devel/gmake lang/perl5 pkgtools/cwrappers

Runtime dependencies

lang/ocaml devel/camlp-streams

Binary packages

NetBSD 10.0aarch64camlp5-8.00.03nb1.tgz
NetBSD 10.0earmv6hfcamlp5-8.00.03nb1.tgz
NetBSD 10.0earmv7hfcamlp5-8.00.03nb1.tgz
NetBSD 9.0aarch64camlp5-8.00.03nb1.tgz
NetBSD 9.0earmv6hfcamlp5-8.00.03nb1.tgz
NetBSD 9.0earmv7hfcamlp5-8.00.03nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.