Skip to content

Commit

Permalink
Merge branch 'main' into stable
Browse files Browse the repository at this point in the history
* main: (21 commits)
  Update CHANGELOG.md
  Update version number & rebuild
  Update dependencies
  Update test/unit/compiler/passes/report-infinite-repetition.spec.js
  Fixes peggyjs#357.  Do not allow infinite recursion in repetition delimiter.
  Update changelog
  Allow extra semicolons between rules.
  Fix an error in the code generator for "repeated" node
  Update changelog
  Fixes peggyjs#329
  Update changelog
  Fixes peggyjs#359.  Clarifies documentation about reserved words.
  Fix more HTML indentation.
  Test that the generated parser also works without errors
  Remove use of expect.to.not.throw()
  Add Rene Saarsoo to AUTHORS
  Typo in test description
  Add test to ensure special non-reserved keywords are allowed
  Comment out unnecessary reserved words
  Fixes peggyjs#347.  Makes $ invalid as an identifier start character.
  ...
  • Loading branch information
hildjj committed Mar 5, 2023
2 parents 356c0db + 408e094 commit d049e34
Show file tree
Hide file tree
Showing 26 changed files with 1,734 additions and 1,367 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Julian Aubourg <j@ubourg.net> (https://github.com/jaubourg)
Justin Blank <justin.blank@gmail.com> (https://github.com/hyperpape/)
Marco Baumgartl <marco.baumgartl@boerse-go.de>
Mingun <alexander_sergey@mail.ru> (https://github.com/Mingun/)
Rene Saarsoo <nene@triin.net> (https://github.com/nene/)
Tony Lukasavage <anthony.lukasavage@gmail.com> (https://github.com/tonylukasavage/)
chunpu <fengtong@mail.ustc.edu.cn> (https://github.com/chunpu/)
fatfisz <fatfisz@gmail.com> (https://github.com/fatfisz/)
Expand Down
33 changes: 32 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,37 @@ Change Log

This file documents all notable changes to Peggy.

3.0.1
-----

Released: 2022-03-05

### Minor Changes

- [#329](https://github.com/peggyjs/peggy/issues/329) Allow plugin options in
generate. This change loosens type checking strictness to allow for options
unknown to Peggy, but used by plugins such as ts-pegjs. From @hildjj.

### Bug Fixes

- [#329](https://github.com/peggyjs/peggy/issues/329) Allow type definition for ParserBuildOptions to include plugin options. From @hildjj.
- [#346](https://github.com/peggyjs/peggy/issues/346) Allow extra semicolons
between rules. From @hildjj.
- [#347](https://github.com/peggyjs/peggy/issues/347) Disallow '$' as an initial
character in identifiers. This is not a breaking change because no grammar
could have successfully used these in the past. From @hildjj.
- [#354](https://github.com/peggyjs/peggy/pull/354) Various minor nits in the
docs, including indentation and ensuring that the CNAME file is correct.
- [#357](https://github.com/peggyjs/peggy/issues/357) Fix infinite recursion
possibility in repetition delimeters. From @hildjj and @Mingun.
- [#359](https://github.com/peggyjs/peggy/issues/359) Do not treat as many
words as reserved. Clarify the documentation about identifiers. Ensure
that it is more clear that the target language being generated determines
what words are reserved. Clarify that reserved word checking is only
done for labels. From @nene.
- [#364](https://github.com/peggyjs/peggy/issues/364) Fix passing an incorrect
external label to the expression inside the `repeated` node. From @Mingun.

3.0.0
-----

Expand Down Expand Up @@ -84,7 +115,7 @@ reserved words, and will cause errors at compile time if you are using them:
from @hildjj
- [#299](https://github.com/peggyjs/peggy/issues/299) Add example grammar for a
[SemVer.org](https://semver.org) semantic version string, from @dselman
- [[#307](https://github.com/peggyjs/peggy/issues/307)] Allow grammars to have
- [#307](https://github.com/peggyjs/peggy/issues/307) Allow grammars to have
relative offsets into their source files (e.g. if embedded in another doc),
from @hildjj.
- [#308](https://github.com/peggyjs/peggy/pull/308) Add support for reading test
Expand Down
Loading

0 comments on commit d049e34

Please sign in to comment.