Crate dala

Source

Structs§

BuildError
An error that occurs when processing the a DalaExpression, before its evaluation.
ParseError
An error that occurs when parsing a DalaExpression.
Position
Contains the position of a DalaExpression in the source code.
RuntimeError
An error that occurs during the evaluation of a DalaExpression.

Enums§

DalaError
The result of an unsuccessful evaluation of a DalaExpression.
DalaValue
The result of a successful evaluation of a DalaExpression. It can be either a String, a f64 or a bool.

Functions§

eval
Evaluates a DalaExpression and returns a DalaValue if the evaluation is successful or a DalaError if it is not.
eval_with_data
Evaluates a DalaExpression with the provied dataset and returns a DalaValue if the evaluation is successful or a DalaError if it is not.