Library
Module
Module type
Parameter
Class
Class type
This library contains the implementations of utility functions used to generate Ninja build files in OCaml with almost no dependencies -- it only depends on Re. It's currently developed to be used by Clerk, the Catala build system. Therefore, the library supports only very basic features required by Clerk.
Ninja is a low-level build system. It's designed to have its input files (build.ninja) generated by a higher-level build system, and to run builds as fast as possible by supporting native cross-platform (Windows and Unix) parallel builds.
See the manual for more details.
module Var : sig ... end
Ninja variable names, distinguishing binding name ("x") from references in expressions ("$x")
module Expr : sig ... end
Helper module to build ninja expressions.
module Binding : sig ... end
module Rule : sig ... end
Helper module to build ninja rules.
module Build : sig ... end
Helper module to build ninja build statements.
module Default : sig ... end
val comment : string -> def
val format_def : Stdlib.Format.formatter -> def -> unit
type ninja = def Stdlib.Seq.t
val format : Stdlib.Format.formatter -> ninja -> unit