Crate gluon_vm [] [src]

Crate which contain the virtual machine which executes gluon programs

Modules

api

The marshalling api

channel
compiler
core
debug
dynamic
future
gc
internal

Internal types and functions exposed to the main gluon crate

macros

Module providing the building blocks to create macros and expand them.

primitives

Module containing functions for interacting with gluon's primitive types.

reference
stack
thread

The thread/vm type

types

Macros

field_decl

Declares fields useable by the record macros

named_primitive
primitive

Creates a GluonFunction from a function implementing VMFunction

record

Macro that creates a record that can be passed to gluon

record_no_decl

Macro that creates a record that can be passed to gluon. Reuses already declared fields instead of generating unique ones.

record_p

Creates a pattern which matches on marshalled gluon records

record_type

Creates a Rust type compatible with the type of record_no_decl!

try_future

Structs

Variants

Enums

Error

Representation of all possible errors that can occur when interacting with the vm crate

Type Definitions

Result

Type returned from vm functions which may fail