Added the token class

This commit is contained in:
Pasha Bibko
2025-07-19 23:02:16 +01:00
parent ab564e9649
commit c8975f0c20
5 changed files with 185 additions and 0 deletions

View File

@@ -1,9 +1,18 @@
#include <LXC.h>
#include <Lexer.h>
int main(int argc, char** argv)
{
using namespace LXC;
//
Lexer::LexerContext context;
Lexer::Token exampleToken(context, 2);
//
Util::ReturnVal fileContents = Util::ReadFile("example/example.lx");
if (fileContents.Suceeded())