How To Install Optcomp-r?

How To Install Optcomp-r?

optcomp-r

syntax extension for optional compilation with cpp-like directives (tools)

Maintainer: Debian OCaml Maintainers



Section: ocaml

Install optcomp-r

  • Debian apt-get install optcomp Click to copy
  • Ubuntu apt-get install optcomp Click to copy
  • Kali Linux apt-get install optcomp Click to copy
  • Raspbian apt-get install optcomp Click to copy

optcomp

syntax extension for optional compilation with cpp-like directives (tools)

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 command-line tools.

Installation of latest optcomp-r command is available for Debian, Ubuntu, Kali and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.