Crate itsy

Source
Expand description

Strongly typed scripting language with a rusty syntax and nice Rust integration.

Look at the build_str or itsy_api! example to get started.

Modules§

ast
Abstract syntax tree representation.
compiler
Bytecode generation.
parser
Sourcecode parsing.
resolver
Type resolution.
runtime
Bytecode execution.
sizes
Defines the sizes of fundamental VM types.

Macros§

itsy_api
Creates an opaque type defining an API of Itsy-callable Rust functions.

Structs§

BuildError
An Error-wrapper generated by build().

Enums§

Error
An error generated during program compilation or execution.

Functions§

build
Parses, resolves and compiles given Itsy source file.
build_str
Parses, resolves and compiles given Itsy source code.
run
Runs the given compiled program.