Zoo System

This document is auto-generated for Owl’s APIs. #17 entries have been extracted.

Github: {Signature} {Implementation}

Manipulate gists

val remove_gist : string -> unit

Remove a local gist of given id.

source code

val upload_gist : string -> string

Upload a zoo bundle of given path to the gist server and return a gist id.

source code

val download_gist : ?vid:string -> string -> unit

Download the gist of given id and version; if a version id is not given, the latest version id will be used.

source code

val list_gist : string -> unit

list_gist "" lists all the local gists; list_gist gist-id lists all the local versions of a gist.

source code

val update_gist : string array -> unit

Update the zoo gist bundles of an array of gist ids.

source code

val show_info : string -> unit

Show the gist’s detail information of given gist id.

source code

Execute gists

val eval : string -> unit

Evaluate an OCaml expression in toplevel.

source code

val preprocess : string -> string

Preprocess the zoo scripts, inject the necessary directives, functions, and modules.

source code

val run : string array -> string -> unit

run args script executes the zoo script with the given arguments.

source code

val run_gist : string -> unit

run_gist gist-id runs a zoo gist with the given gist-id.

source code

Helper functions

val print_info : unit -> unit

Print out help information of owl command line.

source code

val start_toplevel : unit -> unit

Start the toplevel system tailored for Owl’s zoo system.

source code

val query_path : string -> string

query_path gist returns the absolute path of a given gist.

source code

val load_file : ?gist:string -> string -> string

Load a zoo file with the given gist name and file name, the file path is relative to the gist/version folder.

source code