Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> ocaml >> optcomp
etiona  ] [  nabia  ]
[ 源代码: optcomp  ]

软件包: 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.

其他与 optcomp 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.17)
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: liboptcomp-camlp4-dev
    syntax extension for optional compilation with cpp-like directives (library)

下载 optcomp

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 1,159.9 kB8509 kB [文件列表]
i386 1,008.3 kB6657 kB [文件列表]