Lice.LState
The type of the Lice state. Contains everything needed for the Lice VM to run, as well as some other metadata.
val empty : t
empty
creates an empty state.
set_logs lstate l
sets the logs level of the Lice interpreter to l
where l
is between 0
and 2
.
Value | Level |
---|---|
| Prints out |
| Prints out |
| Prints out |
do_string lstate code
reads the string code
as code, compiles it and execute it inside the lstate
context.