Install liboptcomp-camlp4-dev by entering the following commands in the terminal:
sudo apt update sudo apt install liboptcomp-camlp4-dev
Description:
syntax extension for optional compilation with cpp-like directives (library)
Optcomp is a syntax extension which handles #if, #else, ... directives in OCaml source files. Compared to cpp: * it does not interpret //, /*, and */ as comment delimiters * it does not complains about missing ' * it is easier to integrate in the build process when using other camlp4 syntax extensions * it does not do macro expansion while cpp does Compared to pa_macro, it does not require code that will be dropped to be valid OCaml code. This can be useful for code that optionnally uses GADTs, but can be compiled with older versions of OCaml. . This package contains the syntax extension as a camlp4 module.
Homepage: https://github.com/diml/optcomp
Version: 1.6-2build1
Section: universe/ocaml