Skip to content

Releases: AjaniBilby/BNF-parser

v4.1.3

30 Jul 04:10
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.1.1...v4.1.3

v4.1.1

09 Jan 04:47
c7d0946
Compare
Choose a tag to compare

Fixes:

  • Fixed an issue where wasm memory usage exceeded predicted usage - the module now checks if it's about to run out of memory on the start of every rule being parsed. (PR #17)

Full Changelog: v4.1.0...v4.1.1

v4.1.0

23 Sep 00:10
Compare
Choose a tag to compare

Added:

  • Added the optional extra argument for an output dir to the cli

Full Changelog: v4.0.7...v4.1.0

Version 4.0.7

21 Sep 22:38
Compare
Choose a tag to compare

Fixes:

  • Slightly altered the import of shared.js from [syntax].js to handle better with Deno compatibility

Full Changelog: v4.0.6...v4.0.7

Version 4.0.6

08 Aug 04:11
Compare
Choose a tag to compare

Fixes:

  • References generated on successful pass not having the correct start reference

Full Changelog: v4.0.5...v4.0.6

Version 4.0.5

19 Jul 06:49
Compare
Choose a tag to compare

Fixes:

  • Hexadecimal characters weren't encoding correctly (\x6b == k)
  • Reduced changes of wasm infinitely allocating to basically zero (as long as you don't try and parse an infinite string)
  • CLI doesn't crash when given an invalid starting path
  • Removed small chance matching could be attempted in the 0-7byte gap after the input string and before the heap starts

Changes:

  • CLI now has coloured outputs
  • Binaryen now validates modules after compilation to expose any potential errors in the build chain
  • A lot more automated tests to ensure past errors do not occur again, and to prevent some future ones

Full Changelog: v4.0.4...v4.0.5

Version 4.0.4

18 Jul 06:42
Compare
Choose a tag to compare

Version 4.0.4

Fixes:

  • Memory over growth: Available memory kept growing after every single parse
  • Better error handling for bnf-compile when given a bad directory

Version 4.0.3

Additions:

  • _Literal helper type in compiled artifacts

Full Changelog: v4.0.2...v4.0.4

Version 4.0.2

18 Jul 03:27
Compare
Choose a tag to compare

Fixes:

  • More consistent formatting for generated artifacts
  • More concise types for repetitions (i.e. one to many will always have at least one element according to the type)
  • Consistent file formatting (everything is LF now)

Changes:

  • Changed to MIT license from ISC

Full Changelog: v4.0.1...v4.0.2

v4.0.1

16 Jul 03:47
Compare
Choose a tag to compare

Version 4.0.1

NPM stuffed up and didn't include all of the package files....

Full Changelog: v4.0.0...v4.0.1

v4.0.0

16 Jul 03:35
Compare
Choose a tag to compare

Version 4.0.0

Additions

  • Compile BNFs down to WebAssembly
  • Generate type definitions for the syntax tree of a given BNF
  • Now able to represent characters by char code using hexadecimal in literals (wasm only) \x41

Changes:

  • All previous APIs moved under the legacy namespace
  • Changed package type to module

Fixes:

  • Count not working when applied directly to a range (i.e. "a"->"z"+)

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