package mpp

  1. Overview
  2. Docs
A preprocessor meant to blend languages.

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.2.tar.gz
sha256=40a23395d8f22e4f36915a8e3a9927fbf0735065e3eb4d6124c16bcf6b492743
md5=b930b28535f0442c2c5fca5e665dddd0

doc/mpp/Mpp_init/index.html

Module Mpp_initSource

Sourceexception Exit of int
Sourceval exit : int -> 'a
Sourceval open_token : string Stdlib.ref
Sourceval close_token : string Stdlib.ref
Sourceval open_nesting_token : string Stdlib.ref
Sourceval close_nesting_token : string Stdlib.ref
Sourceval endline_comments_token : string Stdlib.ref
Sourceval open_comments_token : string Stdlib.ref
Sourceval close_comments_token : string Stdlib.ref
Sourceval open_foreign_token : string Stdlib.ref
Sourceval open_foreign_token_no_location : string Stdlib.ref
Sourceval close_foreign_token : string Stdlib.ref
Sourceval target_language_location_handler : (?filename:string -> int -> string) Stdlib.ref
Sourceval cpp_location_handler : ?filename:string -> int -> string
Sourceval target_language_location_handlers : (string * (?filename:string -> int -> string)) list
Sourceval list_target : unit -> 'a
Sourceval set_target_language_location_handler : string -> unit
Sourceval newline_chars : Mpp_charset.t
Sourceval space_chars : Mpp_charset.t
Sourceval blank_chars : Mpp_charset.t
Sourcetype foreign_block_description = {
  1. name : string;
  2. command : string;
  3. suffix : string;
  4. print : string -> string;
  5. char_escape : char -> string;
  6. string_escape : string -> string;
  7. force_line_number : ?filename:string -> int -> string;
}

foreign blocks

Sourceval bash_string_escape : string -> string
Sourceval php_string_escape : string -> string
Sourceval perl_string_escape : string -> string
Sourceval foreign_blocks : foreign_block_description list
Sourceval default_foreign_block : foreign_block_description
Sourceval foreign : foreign_block_description Stdlib.ref
Sourceval set_foreign : string -> unit
Sourceval list_foreign : unit -> 'a
OCaml

Innovation. Community. Security.