Expand description
Mini Language
This crate provides an interface to use Mini Language as rust library.
For the documentation of the language itself, see README.md.
Structs§
- Eager
Eval - The eager evaluator
- Lazy
Eval - The lazy evaluator
- Program
- List of define functions, variables, and expressions to print.
- StdPrinter
- The default printer implementation which prints to stdout.
Enums§
- Expr
- The expression tree.
- Mini
Error - The error type for this crate.
- Operator
- The operator enum for expressions.
Traits§
- Evaluator
- The trait to provide kinds of evaluation (or compilation).
- Printer
- The printer to print evaluated value.
Functions§
- execute
- Execute the code by given evaluator and printer.
Type Aliases§
- Mini
Result - The result type for this crate.