simple equations? Like (a + b)
I want to be able to store formulas and compute them with state.
Why not mathjs?
mathjs is pretty breakable heh
But you're a smart guy Misan, it's not many lines to parse basic math
is z3 available for js
imagine writing your own parser
☺️ I am giving it a try. but I am a little under time pressure
(meanwhile me: pypi.org/project/json-parser )
it's not many lines to parse sexp or rpn 🙂
Reinventing the wheel
eval go brrr
const math = "..." eval(math) /s
Run it with vm2
Обсуждают сегодня