My calcool cli app and library re-written in rust. Calcool uses a pratt parser to parse and evaluate expressions
Simple. Run this command:
cargo runSimple expressions:
2 * 3 + 4 * 8Function calls:
sin(90deg) ^ cos(45deg) + tan(2rad)Variables:
result = 12 * abs(-42)
result + 10e+3Define functions:
def f2c(f) = (f - 32)/1.8
f2c(70)Calcool is free software and it is licensed under GPL-3 or newer. For more info see LICENSE.