suggestion: extract bnf test-cases to their own .bnf files?
SKalt opened this issue · 3 comments
SKalt commented
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
- increased ease of reuse of test cases in this and other projects
- no need for string-in-string escaping, extra indentation to make the strings look right
This'd come at the cost of separating the text of the test-cases from the expected result.
shnewto commented
Yeah totally agree, there's a lot of reasons that's much a better solution. Fully support it 💯
CrockAgile commented
closed by #80 ?
shnewto commented
Ah yep looks like it is, closing 👍