Fast and tiny expression evaluator with minimal syntax.
+= -= *= /= %=
set
, no wrappers[,true]
vs ['',true]
a?.valueOf?.()
context calls supportFull Changelog: https://github.com/dy/subscript/compare/v7.4.0...v8.0.0
skip
argument to naryFull Changelog: https://github.com/dy/subscript/compare/v7.4.4...v7.4.5
parse.unary
, parse.binary
and parse.nary
registerersparse.id
and parse.space
Full Changelog: https://github.com/spectjs/subscript/compare/v6.4.0...v7.0.0
Full Changelog: https://github.com/spectjs/subscript/compare/v6.0.0...v6.1.0
set
method for defining operators or parsers.code
, char
functions.Full Changelog: https://github.com/spectjs/subscript/compare/v5.5.2...v6.0.0
evaluate.operator
is a function on par with parse.operator
subscript
and justin
configurators@
only, no ""
tokensFull Changelog: https://github.com/spectjs/subscript/compare/v5.0.0...v5.5.2
operator
function to create any operators or tokensFull Changelog: https://github.com/spectjs/subscript/compare/v4.0.0...v5.0.0
Full Changelog: https://github.com/spectjs/subscript/compare/v3.0.0...v4.0.0
Full Changelog: https://github.com/spectjs/subscript/compare/v2.0.0...v3.0.0