lexer can now read single character tokens

This commit is contained in:
Karma Riuk
2025-06-29 12:33:37 +02:00
parent ca05c3577a
commit ffff13b2e0
4 changed files with 44 additions and 1 deletions

View File

@@ -1,7 +1,10 @@
#include "token/token.hpp"
#include <istream>
namespace lexer {
struct lexer {
std::istream& input;
token::token next_token();
};
} // namespace lexer