#expression #calc #scratch #eval #0832

bin+lib rxcalc

An expression calculator, originally written in Scratch

4 stable releases

new 1.0.5 May 9, 2024
1.0.4 May 8, 2024
1.0.3 Mar 5, 2024
1.0.2 Feb 13, 2024
1.0.1 Jan 25, 2024

#351 in Math

Download history 2/week @ 2024-01-22 32/week @ 2024-02-12 22/week @ 2024-02-19 41/week @ 2024-02-26 254/week @ 2024-03-04 7/week @ 2024-03-11 7/week @ 2024-04-01 272/week @ 2024-05-06

272 downloads per month

MIT/Apache

60KB
1.5K SLoC

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

No runtime deps