package tiny_languages

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

Module Js_evalSource

Sourcetype t
Sourceval create : ?log:(string -> unit) -> ?seed:int -> ?now:(unit -> float) -> unit -> t
Sourcetype error = {
  1. line : int;
  2. message : string;
}
Sourceval eval : t -> string -> (Js_value.value, error) result
Sourceval global : t -> string -> Js_value.value option
Sourceval define : t -> string -> Js_value.value -> unit
Sourceval set_budget : t -> int -> unit