Latest stuff, rewriting lexer
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/// AUTOGENERATED COPYRIGHT HEADER START
|
||||
// Copyright (C) 2017-2024 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
|
||||
// AUTOGENERATED COPYRIGHT HEADER END
|
||||
#include "compiler.hpp"
|
||||
#include "parser.hpp"
|
||||
#include "lexer.hpp"
|
||||
@@ -7,19 +10,3 @@
|
||||
blitz::compiler::compiler() {}
|
||||
|
||||
blitz::compiler::~compiler() {}
|
||||
|
||||
bool blitz::compiler::compile(std::string in, std::string out) {
|
||||
/*std::ifstream infile;
|
||||
infile.open(in);
|
||||
if (infile.bad() || !infile.good() || infile.eof()) {
|
||||
std::cerr << "Failed to open file: " << in << std::endl;
|
||||
return false;
|
||||
}*/
|
||||
|
||||
parser psr = parser(in);
|
||||
if (!psr.Parse()) {
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user