package libsail
Module Libsail.InteractiveSource
Each interactive command is passed this struct, containing the abstract syntax tree, effect info and the type-checking environment. Also contains the default Sail directory and configuration.
Source
type action = | ArgString of string * string -> action| ArgInt of string * int -> action| Action of string option * (Sail_file.position * string * State.istate) -> State.istate option
Source
val run_action :
State.istate ->
string ->
Sail_file.position ->
string ->
action ->
State.istate