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

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

Muut pakettiin liboptcomp-camlp4-dev liittyvät paketit

  • depends
  • recommends
  • suggests

Imuroi liboptcomp-camlp4-dev

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Paketin koko Koko asennettuna Tiedostot
amd64 78.4 kt369 kt [tiedostoluettelo]
i386 75.2 kt309 kt [tiedostoluettelo]