A arithmetic parser written in JavaScript, generated with PEG grammar.
To build, run
npm install
npm run build
To use the command-line interface, run
npm run cli
The parser supports basic arithmetics operations (+ - * / ^
)
and some common functions:
sqrt
max
,min
floor
,ceiling
round
sum
,average
power
log
,ln
abs