From f4b2027868c9733bbbbcb4c5ec6d5462a8447e5d Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 21 Jan 2020 22:49:30 +0100 Subject: Separate to cpp files --- bnf.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bnf.h (limited to 'bnf.h') diff --git a/bnf.h b/bnf.h new file mode 100644 index 0000000..8aa2684 --- /dev/null +++ b/bnf.h @@ -0,0 +1,17 @@ +#pragma once + +#include +#include +#include +#include +#include +#include + +using namespace std::string_literals; + +using BNF = std::map>>; +using Terminals = std::set; +using ProgramNode = std::deque; +using PathElement = std::pair; // Name, Index + +std::map> Reverse(BNF bnf); -- cgit v1.2.3