Releases: AjaniBilby/BNF-parser
Releases · AjaniBilby/BNF-parser
v4.1.3
v4.1.1
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
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
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
Fixes:
- References generated on successful pass not having the correct start reference
Full Changelog: v4.0.5...v4.0.6
Version 4.0.5
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
-7
byte 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
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
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
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
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