package lua-ml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include EVALUATOR
module Value : VALUE
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
module Parser : Luaparser.S with type chunk = Ast.chunk
val do_lexbuf : sourcename:string -> state -> Lexing.lexbuf -> value list
val dostring : ?file:string -> state -> string -> value list
val dofile : state -> string -> value list
val mk : unit -> state
OCaml

Innovation. Community. Security.