[Top][All Lists]

[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


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.

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]