diff options
Diffstat (limited to 'bnf.h')
-rw-r--r-- | bnf.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ std::unordered_map<std::string, std::unordered_set<std::string>> Reverse(const B std::unordered_map<std::string, std::unordered_set<std::string>> reverseFirst(const BNF& bnf); BNF SubBNF(const BNF& bnf, const std::string& top); +BNF removeHeadRecursion(const BNF& bnf); bool isTerminal(const BNF& bnf, const std::string& symbol); std::unordered_set<std::string> getTerminals(const BNF& bnf); |