diatom/lib.rs
1//! This crate implements an interpreter for Diatom.
2//!
3//! ## The Diatom programming language
4//!
5//! Diatom is a fast, elegant and secure language for writing dynamic script that will be
6//! embedded in an application.
7//!
8//! For the syntax specification see [The Book(WIP)]().
9//!
10//! ## How to use this interpreter
11//!
12//! See examples in [Interpreter].
13//!
14
15mod file_manager;
16mod frontend;
17mod gc;
18mod interpreter;
19mod stdlib;
20mod vm;
21
22#[cfg(test)]
23mod tests;
24
25pub use gc::Reg as DiatomValue;
26pub use interpreter::Interpreter;
27pub use interpreter::State;
28pub use std::io::Write as IoWrite;
29/// The version of this build
30pub const VERSION: &str = env!("CARGO_PKG_VERSION");