Crate espy

Crate espy 

Source
Expand description

This crate is a simplified, stabilized version of the espy API.

For more advanced usage (including macros, precompiled programs, and custom diagnostics), see:

Note that these crates’ APIs are considered less stable and will have more frequent major releases than this crate.

Re-exports§

pub use espy_paws::anyhow;

Modules§

diagnostics
Provides useful functionality for the display of parsing and compilation errors.

Macros§

extern_impl

Structs§

CompilerError
This type is an opaque wrapper around espy_tail’s error type, to avoid leaking changes in the compiler’s API.
EnumType
The definition of an espy enum.
EnumVariant
An instance of an EnumType.
Error
Function
An function which is callable by espy or its host.
FunctionType
The combined type of a Function’s input and output.
Program
This structure is guaranteed to contain valid bytecode and debug info because it may only be constructed from source.
StaticEnumVariant
A version of EnumVariant with a static lifetime.
StaticFunction
A version of Function with a static lifetime.
Tuple
This type is used to store anything shaped like an espy tuple.

Enums§

ComplexType
The type of any espy value.
ErrorKind
InvalidBytecode
Errors that may only be caused due to invalid bytecode.
StaticValue
A version of Value with a static lifetime.
Type
The type of a singular espy values.
Value
The root type of every espy value. All interoperation starts here.

Traits§

Extern
ExternFn
ExternFnOwned
ExternOwned