[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to modularize bison files?
From: |
Peng Yu |
Subject: |
How to modularize bison files? |
Date: |
Sun, 6 Jan 2019 07:44:41 -0600 |
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
- How to modularize bison files?,
Peng Yu <=