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

Structs

Calculation context.

Enums