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
+7 -3
View File
@@ -2,8 +2,6 @@
// Copyright (C) 2017-2024 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
// AUTOGENERATED COPYRIGHT HEADER END
#pragma once
#include <string>
#include <filesystem>
// Compiling requires several steps
// 1. Lexing to known tokens
@@ -13,10 +11,16 @@
// 3. Compiling from the AST to some kind of runnable binary.
// - In our case, we convert the AST to LLVM IR, and then compile it with LLVM.
/*
#include <filesystem>
#include <string>
namespace blitz {
class compiler {
public:
compiler();
~compiler();
};
}
} // namespace blitz
*/