#pragma once #include "minicc.h" #include "bnf.h" namespace Lex { class Lexer { //states; // start, ... //transitions; // state, state, character public: Lexer(const BNF& bnf, const std::string& Top); std::vector Lex(const std::string& s); }; } // namespace Lex