davidedc / Algebrite

Computer Algebra System in Javascript (Typescript)
http://algebrite.org
MIT License
966 stars 59 forks source link

Algebrite.simplify("--a").toString() evaluates to nil #76

Open Jean-MarieL opened 5 years ago

Jean-MarieL commented 5 years ago

In case of ill formated expression (in Algebrite sense), it would be nicer to produce an error (say an exception). BTW THANKS for this wonderful package

davidedc commented 5 years ago

agreed. Note: the error should also preserve the existing environment state.