2023-08-28 13:51:04 +00:00
|
|
|
//! The Dust library is used to implement the Dust language, `src/main.rs` implements the command
|
|
|
|
//! line binary.
|
|
|
|
//!
|
|
|
|
//! Using this library is simple and straightforward, see the [inferface] module for instructions on
|
|
|
|
//! interpreting Dust code. Most of the language's features are implemented in the [tools] module.
|
2023-08-22 15:40:50 +00:00
|
|
|
#![forbid(unsafe_code)]
|
|
|
|
|
|
|
|
pub use crate::{
|
|
|
|
error::*,
|
|
|
|
interface::*,
|
|
|
|
operator::Operator,
|
|
|
|
token::PartialToken,
|
2023-08-24 00:21:29 +00:00
|
|
|
tools::{Tool, ToolInfo, TOOL_LIST},
|
2023-08-22 15:40:50 +00:00
|
|
|
tree::Node,
|
|
|
|
value::{
|
|
|
|
function::Function, table::Table, time::Time, value_type::ValueType,
|
|
|
|
variable_map::VariableMap, Value,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2023-08-24 00:21:29 +00:00
|
|
|
pub mod tools;
|
|
|
|
|
2023-08-22 15:40:50 +00:00
|
|
|
mod error;
|
|
|
|
mod interface;
|
|
|
|
mod operator;
|
|
|
|
mod token;
|
|
|
|
mod tree;
|
|
|
|
mod value;
|