Skip to content
Sections
>> Trisquel >> Packages >> etiona >> ocaml >> optcomp
etiona  ] [  nabia  ]
[ Source: optcomp  ]

Package: optcomp (1.6-2build1)

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.

Other Packages Related to optcomp

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.17)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: liboptcomp-camlp4-dev
    syntax extension for optional compilation with cpp-like directives (library)

Download optcomp

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 1,159.9 kB8509 kB [list of files]
i386 1,008.3 kB6657 kB [list of files]