package lua-ml

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

Parameters

module T : Lib.USERTYPE
module L : Lib.USERCODE with type 'a userdata' = 'a T.t

Signature

module Value : VALUE with type 'a userdata' = 'a T.t
module Ast : AST with module Value = Value
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.