Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@kitten kitten released this 23 Feb 11:01
· 7 commits to master since this release
40dfd6d
  • Added tagged template literal support. The grammar now accepts interpolation(predicate) inserts and parse(node) can be called as a tagged template literal to parse strings interspersed with interpolations
  • Improved output for + operator by replacing its special logic with ${x} ${x}* matching.
  • Add lookahead shorthands that allow shorter grammars to be written for lookaheads and non-matching groups (See #13)
  • Breaking: Only consider null and undefined as not matching (See #12)
  • Fix edge cases for zero-length matches (See #14)
  • Improve Babel plugin output, e.g. share hoisted bindings (See 0082078)