Structs
A list of definitions to pass into the crate to be used in the interpreter.
Stores errors from the parser if any occur.
A list of definitions of functions to pass into the interpreter to solve for the variables.
The type used for operations.
Enums
An enum representing an error that occurred This is used by the Error struct to represent errors This allows for user handling of errors while still allowing them to just be printed out if custom handling of errors is not needed.
Functions
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