Crate knightrs[][src]

Re-exports

pub use environment::Environment;
pub use environment::Variable;

Modules

environment
function

The functions within Knight.

rcstring

Types relating to the RcString.

Structs

Function

The type that represents functions themselves (eg PROMPT, +, =, etc.) within Knight.

RcString

The string type within Knight.

Enums

ParseError

The error type used to indicate an error whilst parsing Knight source code.

RuntimeError

An error occurred whilst executing a knight program.

Value

Functions

run

Parses a Value from the given iterator and then runs the value.

run_str

Runs the given string as Knight code, returning the result of its execution.

Type Definitions

Number

The number type within Knight.