feat: initial commit

This commit is contained in:
lisk77 2025-06-30 19:43:09 +02:00
commit 0dd91da74f
17 changed files with 683 additions and 0 deletions

18
include/lexer.hpp Normal file
View file

@ -0,0 +1,18 @@
#ifndef LEXER_HPP
#define LEXER_HPP
#include <vector>
#include <string>
#include "token.hpp"
class Lexer {
std::string src;
bool error_flag;
size_t position;
public:
Lexer(std::string);
std::vector<Token> tokenize();
};
#endif // LEXER_HPP