1pub mod cli;
12pub mod version;
13
14#[cfg(not(target_arch = "wasm32"))]
16pub mod app;
17#[cfg(not(target_arch = "wasm32"))]
18pub mod mode;
19#[cfg(not(target_arch = "wasm32"))]
20pub mod ui;
21
22#[cfg(feature = "gui")]
24pub mod gui;
25
26pub use mathypad_core::{expression, units};
28
29#[cfg(test)]
30mod integration_tests;
31
32pub use cli::run_one_shot_mode;
34pub use mathypad_core::expression::evaluator::evaluate_expression_with_context;
35pub use mathypad_core::{Unit, UnitType, UnitValue};
36
37#[cfg(not(target_arch = "wasm32"))]
39pub use app::App;
40#[cfg(not(target_arch = "wasm32"))]
41pub use mode::Mode;
42#[cfg(not(target_arch = "wasm32"))]
43pub use ui::{run_interactive_mode, run_interactive_mode_with_file};
44
45#[cfg(not(target_arch = "wasm32"))]
47pub const TICK_RATE_MS: u64 = 16; pub use mathypad_core::{FLOAT_EPSILON, MAX_INTEGER_FOR_FORMATTING};
51
52#[cfg(test)]
54pub use mathypad_core::test_helpers;
55
56#[cfg(all(feature = "gui", target_arch = "wasm32"))]
58pub use gui::wasm::main;