summaryrefslogtreecommitdiffhomepage
path: root/bnf.h
blob: 959e1f8f5ed482d64da1d5f16b3c2f68bb18fd1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <deque>
#include <map>
#include <set>
#include <string>
#include <utility>
#include <vector>

using namespace std::string_literals;

using BNF = std::map<std::string, std::vector<std::vector<std::string>>>;

std::map<std::string, std::set<std::string>> Reverse(BNF bnf);