Skip to content

Minor cleanups

Compare
Choose a tag to compare
@hildjj hildjj released this 05 Mar 16:59
· 325 commits to main since this release
408e094

Minor Changes

  • #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 Allow type definition for ParserBuildOptions to include plugin options. From @hildjj.
  • #346 Allow extra semicolons between rules. From @hildjj.
  • #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 Various minor nits in the docs, including indentation and ensuring that the CNAME file is correct.
  • #357 Fix infinite recursion possibility in repetition delimeters. From @hildjj and @Mingun.
  • #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 Fix passing an incorrect external label to the expression inside the repeated node. From @Mingun.