initial commit

This commit is contained in:
2021-06-29 19:28:14 +02:00
commit 5c7908ac4b
20 changed files with 913 additions and 0 deletions

15
exception.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include "lexer.h"
#include <string>
class Exception : public std::exception {
private:
std::string cause;
public:
Exception(const std::string &msg);
const char* what() const noexcept;
};