Crate calc

Source
Expand description

Calculator library for evaluating freehand mathematical expressions.

The general workflow goes like this:

You can freely modify the parsed expression; the types in ast are all public.

To enable calculation based on your custom numeric type, just impl types::Calcable for your type.

Modules§

ast
types

Structs§

Context
Calculation context.

Enums§

Error