Crate dust_lib

source ·
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_tree method. It can be evaluated for a given context with the Node::eval method.
  • 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

Type Aliases