Hi,

I only see bison examples in which all the grammar rules are in the
same file. And all the rules must be tested as a whole.

For example, the following one is of over 6000 lines.

http://git.savannah.gnu.org/cgit/bash.git/tree/parse.y

Having a very large parser file makes it hard to understand the
grammar rules and test them. Is there a way to separate the code and
test each part individually? Thanks.

-- 
Regards,
Peng

_______________________________________________
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to