Skip to content
Sections
>> Trisquel >> Packages >> nabia >> ocaml >> liboptcomp-camlp4-dev
etiona  ] [  nabia  ]
[ Source: optcomp  ]

Package: liboptcomp-camlp4-dev (1.6-3build1)

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.

Other Packages Related to liboptcomp-camlp4-dev

  • depends
  • recommends
  • suggests

Download liboptcomp-camlp4-dev

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 81.1 kB385 kB [list of files]
armhf 81.4 kB312 kB [list of files]