lang/camlp5 8.03.01nb2 NetBSD
Preprocessor-pretty-printer for ocaml
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- lang
- Package size
- 6493.7 KiB, 50011.8 KiB installed
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.
Install
Binary package:
pkgin install camlp5
From pkgsrc:
cd /usr/pkgsrc/lang/camlp5 && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 8.03.01nb2 |
| NetBSD 10.1 aarch64 | 8.03.01nb2 |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | - |