Crate lovm2_core

Crate lovm2_core 

Source

Modules§

code
Runnable bytecode objects
error
Error values for compilation and runtime
extend
lovm2::extend bundles functionality for writing lovm2 extensions using Rust. You can either statically import functions or produce a shared object that can be loaded at runtime.
gen
Tools for generating bytecode
module
Generic protocol for module like objects
prelude
Important structs, enums and constants for using lovm2 as library
util
Helper functionality for solving small tasks
value
Representation and operations for lovm2 values
vm
Runs modules and maintains program state

Macros§

lv2_access
Creates an Access expression
lv2_call
Creates a Call expression
lv2_dict
Creates a dict Initialize expression using Expr as items
lv2_list
Creates a list Initialize expression using Expr as items
lv2_var
Creates a Variable from a rust identifier

Structs§

Variable
A thin wrapper around an identifier name.

Enums§

Instruction
Definition of the bytecode