[][src]Crate itsy

Itsy, a tiny language for embedded use.

Modules

bytecode

Bytecode generation and execution.

frontend

Compiler frontend. Generates a type-checked and resolved AST.

Macros

extern_rust

Generates a type implementing VMFunc and VMData.

Enums

Standalone

A default implementation of VMFunc that maps no functions.

Traits

VMData

An internal trait used to make VM generic over a set of Rust functions. Use the extern_rust! macro to generate a type implementing VMData and VMFunc.

VMFunc

An internal trait used to make resolver, compiler and VM generic over a set of Rust functions. Use the extern_rust! macro to generate a type implementing VMData and VMFunc.

Functions

vm

One stop shop to parse, resolve and compile given Itsy source code and create a VM for it. Program execution starts from the "main" function.