This crate contains contains the implementation for the gluon programming language.
Gluon is a programming language suitable for embedding in an existing application to extend its behaviour. For information about how to use this library the best resource currently is the tutorial which contains examples on how to write gluon programs as well as how to run them using this library.
Advanced compiler pipeline which ensures that the compilation phases are run in order even if not the entire compilation procedure is needed.
Implementation of the
Module containing bindings to the
Type which makes parsing, typechecking and compiling an AST into bytecode
An instance of
Representation of the virtual machine
Error type wrapping all possible errors that can be generated from gluon
Trait for types which are a placeholder of a value that may become available at some later point in time.
Creates a new virtual machine with support for importing other modules and with all primitives loaded.
Type alias for results returned by gluon