Expand description
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.
Re-exports
Modules
- Dust’s built-in commands.
Structs
- A node in the operator tree. The operator tree is created by the crate-level
build_operator_treemethod. It can be evaluated for a given context with theNode::evalmethod. - A collection dust variables comprised of key-value pairs.
Enums
- An enum that represents operators in the operator tree.
- A partial token is an input character whose meaning depends on the characters around it.
- Whale value representation.
- The type of a
Value.
Functions
- Returns
Ok(())if the given value is a String, List, Map or Table. - Evaluate the given expression string.
- Evaluate the given expression string with the given context.
- Returns
Ok(())if the given value is a string or a numeric.