package lua-ml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module T : Lib.USERTYPE
module L : sig ... end

Signature

module Value : sig ... end
module Ast : sig ... end
type state = Value.state
type value = Value.value
exception Error of string
type compiled = unit -> value list
val compile : srcdbg:(Luasrcmap.map * bool) -> Ast.chunk list -> state -> compiled
type startup_code = (string -> unit) -> unit
val pre_mk : unit -> state * startup_code
val error : string -> 'a
val getglobal : state -> value -> value
val fallback : string -> state -> value list -> value list
val with_stack : Value.srcloc -> state -> ('a -> 'b) -> 'a -> 'b
val setfallback : state -> string -> value -> value
val register_globals : (string * value) list -> state -> unit
val register_module : string -> (string * value) list -> state -> unit
OCaml

Innovation. Community. Security.