rxcalc

Crates.iorxcalc
lib.rsrxcalc
version1.0.5
sourcesrc
created_at2024-01-25 03:37:23.433964
updated_at2024-05-09 10:31:13.384497
descriptionAn expression calculator, originally written in Scratch.
homepage
repositoryhttps://github.com/0832k12/rxCalc/
max_upload_size
id1113427
size59,599
(0832k12)

documentation

README

How To Use

Place this piece of code at the top of your file:

use rxcalc::calc;

Then, you can use rcalc like this:

calc("1*(1+1)"); //return 2

You can also use it as a separate project:

$ cargo run -- '1*(1+1)'
2

source code

Commit count: 12

cargo fmt