shnewto / bnf

Parse BNF grammar definitions
MIT License
256 stars 22 forks source link

suggestion: extract bnf test-cases to their own .bnf files? #79

Closed SKalt closed 3 years ago

SKalt commented 3 years ago

What would you think of extracting the test-cases to separate files and then re-including them using std::include_str!("path/to/file")?

Potential benefits might include

This'd come at the cost of separating the text of the test-cases from the expected result.

shnewto commented 3 years ago

Yeah totally agree, there's a lot of reasons that's much a better solution. Fully support it 💯

CrockAgile commented 3 years ago

closed by #80 ?

shnewto commented 3 years ago

Ah yep looks like it is, closing 👍