Crate ksl

Crate ksl 

Source
Expand description

§KSL core library

github crates-io docs-rs

§Description

This library provides a comprehensive set of functions for tokenizing and executing KSL code.

Modules§

eval
ksl::eval
token
ksl::token
value
ksl::value

Constants§

BUILTIN_FUNCTIONS
List of built-in functions. List of built-in functions.
INIT_STACK_SIZE
Initial thread stack size.

Statics§

FALSE_SYMBOL
Literal value corresponding to the boolean false in Atom. Literal value corresponding to the boolean false in Atom.
MODULE_NAME_ENV
Module name in environment as key’s literal value. Module name in environment as key’s literal value.
MODULE_PATH_ENV
Imported module path list in environment as key’s literal value. Imported module path list in environment as key’s literal value.
TRUE_SYMBOL
Literal value corresponding to the boolean true in Atom. Literal value corresponding to the boolean true in Atom.

Functions§

expand_tilde
Expand the tilde at the start of a path.
init_environment
Initial Environment in KSL
is_number_eq
Check if two numbers are equal.

Type Aliases§

Dict
Dict type in KSL
Environment
Environment type in KSL