Structs
Stores errors from the parser if any occur.
error: The message of the error. Accessed with .get_error()
pos: The position of the error. Accessed with .get_pos()
Functions
rounds a f64 to a specific decimal place
Solves an equation in infix notation using the shunting yard algorithm. this function will not accept decimals numbers, only integers.
Solves an equation in infix notation using the shunting yard algorithm.
This will not accept decimal numbers, only integers.
this function takes a HashMap of definitions (type Definitions
Type Definitions
A list of definitions to pass into the crate to be used in the interpreter.