Skip to content

Releases: dy/subscript

5.0

29 Nov 18:54
@dy dy

Choose a tag to compare

5.0

What's Changed

  • Direct lookup table instead of precedence ascend
  • Precedences match MDN
  • Added operator function to create any operators or tokens
  • Group/array are operators, not tokens
  • Performance +30% (260 → 200ms)
  • Size -10% (2.8 → 2.5kb)

Full Changelog: v4.0.0...v5.0.0

4.0

24 Nov 21:19
@dy dy

Choose a tag to compare

4.0

What's changed

  • Functional parsers precedence table;
  • Fast char lookup table;
  • Improved performance by 25%;
  • Space/comments;
  • Correct ternary parser;
  • Correct errors detection;
  • Optimized expression parsing algorithm (merged prefix, postfix & binary);
  • All JSEP tests;

Full Changelog: v3.0.0...v4.0.0

3.0

18 Nov 23:06
@dy dy

Choose a tag to compare

3.0

What's Changed

  • Significantly increased performance (on par with jsep or faster for major cases)
  • Extensible functional parsers instead of declarative configs
  • Operators precedence matches JS
  • Better source files layout
  • Postfix operators support
  • Smaller size
  • Node tests

Full Changelog: v2.0.0...v3.0.0

2.0

15 Nov 18:32
@dy dy

Choose a tag to compare

2.0

What's Changed

  • Generalized & improved performance
  • Operator evaluators are separate from precedence dicts
  • Streamlined expression algorithm to real recursive descent
  • API is consolidated under parse.* and evaluate.* scopes
  • Reduced size

Full Changelog: 1.0.4...v2.0.0

1.0

05 Nov 02:06
@dy dy

Choose a tag to compare

1.0
  • Parser performance based on stripped JSEP engine
  • Frisk-compatible tree
  • 1.4kb size

Full Changelog: https://github.com/spectjs/subscript/commits/1.0.4