Download Latest Version bnfgen-3.0.0-macos-x86_64.tar.gz (305.9 kB)
Email in envelope

Get an email when there's a new version of BNFGen

Home / 3.0.0
Name Modified Size InfoDownloads / Week
Parent folder
bnfgen-3.0.0-macos-x86_64.tar.gz 2021-02-21 305.9 kB
bnfgen-3.0.0-win64.zip 2021-02-21 893.9 kB
bnfgen-3.0.0-linux-x86_64.tar.gz 2021-02-20 804.7 kB
3.0.0.tar.gz 2021-02-16 11.4 kB
3.0.0.zip 2021-02-16 19.6 kB
README.md 2021-02-16 837 Bytes
Totals: 6 Items   2.0 MB 0

New features

  • Deterministic repetition syntax: <foo>{1,5} (up to five of <foo>), "bar"{10} (exactly ten of bar).
  • Tail-recursive implementation, no more depth limit.
  • [CLI] New debugging option: --dump-stack (displays the current symbol stack at every step).
  • [CLI] Improved and more details --debug output.
  • [CLI] New --max-nonproductive-reductions <int> option to limit reductions that don't produce any terminals and prevent useless loops.

Internal modules are also available as an OCaml library now, see src/lib/bnfgen.mli.

Breaking changes

  • [CLI] The --max-depth option was removed since there's no real "depth" anymore. You can use --max-reductions instead to limit the total number of symbol reductions performed if you want to prevent looping rules and/or infinitely large outputs.
Source: README.md, updated 2021-02-16