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.
Modules
- Top-level unit of Dust code.
- Pattern matching.
Structs
- A collection of statements and comments interpreted from a syntax tree.
- An abstractiton of an independent unit of source code, or a comment.
- A collection dust variables comprised of key-value pairs.
Enums
- Abstract representation of a statement.
- Whale value representation.
- The type of a
Value.
Constants
- The content of the
node-types.jsonfile for this grammar.
Traits
- This trait is implemented by the Evaluator’s internal types to form an executable tree that resolves to a single value.
Functions
- Evaluate the given source code.
- Evaluate the given source code with the given context.
- Get the tree-sitter Language for this grammar.