Crate ketos [−] [src]
Ketos
Lisp dialect. Or maybe Lisp-inspired something-or-other.
Reexports
pub use compile::CompileError; |
pub use encode::{DecodeError, EncodeError}; |
pub use error::Error; |
pub use exec::ExecError; |
pub use function::Arity; |
pub use interpreter::Interpreter; |
pub use integer::{Integer, Ratio}; |
pub use io::IoError; |
pub use module::{BuiltinModuleLoader, FileModuleLoader, Module, ModuleBuilder, ModuleLoader}; |
pub use name::{Name, NameStore}; |
pub use parser::{ParseError, ParseErrorKind}; |
pub use scope::{GlobalScope, Scope}; |
pub use value::{ForeignValue, FromValue, FromValueRef, Value}; |
Modules
bytecode |
Implements encoding and decoding of bytecode instruction format. |
compile |
Compiles expressions into bytecode objects. |
encode |
Implements encoding and decoding of compiled bytecode file format. |
error |
Contains consolidated |
exec |
Implements a virtual machine which interprets bytecode functions. |
function |
Contains implementations of core system functions. |
integer |
Arbitrary precision integer and ratio types. |
interpreter |
Provides a context in which to compile and execute code. |
io |
Creates an abstraction layer to I/O operations |
lexer |
Produces tokens from an input stream. |
module |
Implements loading named values from code modules. |
name |
Implements name interning and containers using names as keys. |
parser |
Parses a series of |
rc_vec |
Implements a reference-counted |
scope |
Contains values associated with names in a given execution context. |
string_fmt |
Implements string formatting syntax. |
value |
Represents any possible value type. |
Macros
foreign_type_conversions! |
Generates conversion trait implementations for the given type. |
ketos_fn! |
Creates a foreign function that implicitly converts input arguments
into Rust values and converts its result into a |