Skip to content
Sections
>> Trisquel >> Paket >> etiona >> ocaml >> optcomp
etiona  ] [  nabia  ]
[ Källkod: optcomp  ]

Paket: 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.

Andra paket besläktade med optcomp

  • beror
  • rekommenderar
  • föreslår
  • dep: libc6 (>= 2.17)
    GNU C Library: Shared libraries
    också ett virtuellt paket som tillhandahålls av libc6-udeb
  • dep: liboptcomp-camlp4-dev
    syntax extension for optional compilation with cpp-like directives (library)

Hämta optcomp

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
amd64 1.159,9 kbyte8509 kbyte [filförteckning]
i386 1.008,3 kbyte6657 kbyte [filförteckning]