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

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

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 78.4 kB369 kB [list of files]
i386 75.2 kB309 kB [list of files]