Crate mathypad_core

Source
Expand description

Mathypad Core - Shared calculation and parsing logic

This crate contains the core mathematical evaluation, unit conversion, and expression parsing logic that is shared between the TUI and web UI versions of Mathypad.

Re-exports§

pub use expression::evaluator::evaluate_expression_with_context;
pub use expression::evaluator::evaluate_with_variables;
pub use units::Unit;
pub use units::UnitType;
pub use units::UnitValue;
pub use units::parse_unit;
pub use expression::parser::*;

Modules§

core
Core abstractions for shared application state and logic
expression
Expression parsing and evaluation system
test_helpers
Test helpers for expression evaluation - shared across implementations
units
Unit system for mathypad

Macros§

rate_unit
Macro to simplify creating RateUnit instances

Constants§

FLOAT_EPSILON
MAX_INTEGER_FOR_FORMATTING