package liquidsoap-lang

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

Module Liquidsoap_lang.RuntimeSource

Main script evaluation

Sourceexception Error
Sourceval strict : bool ref

Raise errors for warnings.

Sourceval load_libs : ?error_on_no_stdlib:bool -> ?parse_only:bool -> ?deprecated:bool -> ?stdlib:string -> unit -> unit

Load the external libraries.

Sourceval throw : ?formatter:Format.formatter -> Sedlexing.lexbuf -> exn -> unit
Sourceval mk_expr : ?fname:string -> pwd:string -> (Parser.token, Term.t) MenhirLib.Convert.traditional -> Sedlexing.lexbuf -> Term.t
Sourceval from_in_channel : ?parse_only:bool -> lib:bool -> in_channel -> unit

Evaluate a script from an in_channel.

Sourceval from_file : ?parse_only:bool -> lib:bool -> string -> unit

Evaluate a script from a file.

Sourceval from_string : ?parse_only:bool -> lib:bool -> string -> unit

Evaluate a script from a string.

Sourceval interactive : unit -> unit

Interactive loop: read from command line, eval, print and loop.

Sourceval parse : string -> Term.t

Parse a string.

Sourceval eval : ignored:bool -> ty:Type.t -> string -> Value.t

Evaluate a string. The result is checked to have the given type.

Sourceval error_header : formatter:Format.formatter -> int -> Pos.Option.t -> unit
OCaml

Innovation. Community. Security.