Let BNF file transfrom to pest.
- install rust toolchain
- run
cargo build --release
- from
target
dir copybnf_transform
to you program dir - extend set env variable
path
bnf_transform <bnf-style> <input.bnf> <output.pest>
bnf_transform --golang golang.bnf golang.pest