summaryrefslogtreecommitdiffhomepage
path: root/lexer.h
blob: 7f1be2d7ae91dd7a2df4f0277ad721c9280661ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "minicc.h"
#include "bnf.h"

namespace Lex {

class Lexer
{

public:
 Lexer(const BNF& bnf, const std::string& Top);
 std::vector<Token> Lex(const std::string& s);

};

} // namespace Lex