Update to version v2.2.1
31 Aug 2020, v2.2.1
Summary of changes:
- Add version property to the exported package, which is now "2.2.1"
- Add strict to options, see README.md
- Parse "member expression" such as "p.first_component" and "f(x).someThing.another()" wether or not
options.singleCharName == true
. - When
options.strict == false
, "f()" is function regardless ofoptions.functions
. - When
options.strict == false
, "f + a - sin" is parse with no "Function used as variable" error. - Allow functions to be invoked by void parentheses such as "f()";
- A more intelligent way to handle
- Fix operators ^ and ! from the previous release to parse some expression like: "5^2x!" as "(5^2)(x!)".