package melange

  1. Overview
  2. Docs
Toolchain to produce JS from Reason/OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

melange-1.0.0.tbz
sha256=01ff3a2711b3812889313288f9e0c8bfe2e17464b6b85282c5113cfc3b740968
sha512=db9ac4554d0c9a8deabbdcd2ae05653964184916982c746ca794df6e2061444adaa6a0367bc1840825a007be3941643abd824aaff737a431b0e5347f7c558378

doc/melange.ppxlib/Melange_ppx_lib/Ast_io/index.html

Module Melange_ppx_lib.Ast_ioSource

Sourcemodule Compiler_version = Ppxlib_ast.Compiler_version
Sourcemodule type OCaml_version = Ppxlib_ast.OCaml_version
Sourcemodule Intf_or_impl : sig ... end
Sourcetype input_version = (module OCaml_version)
Sourceval fall_back_input_version : (module OCaml_version)
Sourcetype t = {
  1. input_name : string;
  2. input_version : input_version;
  3. ast : Intf_or_impl.t;
}
Sourcetype read_error =
  1. | Not_a_binary_ast
  2. | Unknown_version of string * input_version
  3. | Source_parse_error of Ppxlib_ast.Location_error.t * input_version
  4. | System_error of Ppxlib_ast.Location_error.t * input_version
Sourcetype input_source =
  1. | Stdin
  2. | File of string
Sourcetype input_kind =
  1. | Possibly_source of {
    1. filename : string;
    2. parse_fun : Lexing.lexbuf -> Intf_or_impl.t;
    }
  2. | Necessarily_binary
Sourceval read : input_source -> input_kind:input_kind -> (t, read_error) result
Sourceval read_exn : input_source -> input_kind:input_kind -> t
OCaml

Innovation. Community. Security.