How yesdisown/numx works
numx is a small Rust arithmetic-expression library with a demo executable and an addition-exercise generator. The demonstrated workflow builds literal Numbers, combines them into an expression, evaluates it during construction, and prints the result. The model also supports subtraction, division, and multiplication; the generator creates addition expressions from a random target. The README is empty, and the sampled source does not show a caller for the generator or any CLI behavior.
Main entry points: main.rs Demo executable · addition.rs Addition generator · models.rs Number model
Components 6
Other components
- User
- Demo executable
src/main.rs - Number model
src/models.rs - Addition generator
src/exercises/addition.rs - Random generator
- Standard output
Connections 5
- User → Demo executable: runs
- Demo executable → Number model: constructs
- Demo executable → Standard output: prints result
- Addition generator → Random generator: draws values
- Addition generator → Number model: builds expression