Lexer done for now, moving on to ast

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2024-06-26 00:31:06 +02:00
parent fa81c2a7fa
commit dfe3e88dbd
15 changed files with 642 additions and 103 deletions
+18 -3
View File
@@ -2,14 +2,28 @@
// Copyright (C) 2017-2024 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
// AUTOGENERATED COPYRIGHT HEADER END
#pragma once
#include "lexer.hpp"
#include <filesystem>
#include "ast/ast.hpp"
#include "ast/value.hpp"
#include "lexer.hpp"
namespace blitz {
class parser {
std::filesystem::path _file;
public:
~parser();
parser(std::filesystem::path file);
};
} // namespace blitz
/*
#include <fstream>
#include <map>
#include <memory>
#include <string>
#include <stack>
#include <string>
#include "ast/value.hpp"
#include "lexer.hpp"
namespace blitz {
class parser {
@@ -37,3 +51,4 @@ namespace blitz {
};
}
*/