#include "grammer.h" Compiler::Compiler(const BNF& bnf, const std::string& Top): m_bnf(bnf), m_Top(Top), ReverseBNF{Reverse(bnf)} { } ProgramNode Compiler::compile(std::vector Tokens) { if (Tokens.size()){ } else throw std::runtime_error("No tokens!"); return {}; }