Skip to content

Commit

Permalink
Cleanup bytecode generator (pegjs/pegjs#450): Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed May 4, 2021
1 parent f047b30 commit 652b4e0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ Released: TBD
from the `options.grammarSource` property. That property can contain arbitrary
data,for example, path to the currently parsed file.
[@Mingun](https://github.com/peggyjs/peggy/pull/95)
- The code generator was slightly reworked to simplify reusing the bytecode generator
(`generate.generateBytecode` pass). Property `consts` on the `grammar` AST node,
has been creating by the pass in the past, was decoupled into 4 other properties
with the structured information:
- `literals`
- `classes`
- `expectations`
- `functions`

Now bytecode generation pass is independent from the JavaScript backend.
[@Mingun](https://github.com/peggyjs/peggy/pull/117)

### Bug fixes

Expand Down

0 comments on commit 652b4e0

Please sign in to comment.