Rename some files
This commit is contained in:
parent
cc218d0834
commit
c4b39ecc6e
@ -4,10 +4,10 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
#include "include/lexer.hpp"
|
||||
#include "include/utils.hpp"
|
||||
#include "include/errors.hpp"
|
||||
#include "include/colors.hpp"
|
||||
#include "include/tokenize.hpp"
|
||||
|
||||
string UserError::get_message(void) const {
|
||||
switch (this->type) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "include/memory.hpp"
|
||||
#include "include/parser.hpp"
|
||||
#include "include/casting.hpp"
|
||||
#include "include/interpreter.hpp"
|
||||
#include "include/eval.hpp"
|
||||
using namespace std;
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
#include "tokenize.hpp"
|
||||
#include "lexer.hpp"
|
||||
|
||||
/**
|
||||
* Errors
|
||||
|
@ -5,9 +5,9 @@
|
||||
#include "parser.hpp"
|
||||
#include "colors.hpp"
|
||||
#include "memory.hpp"
|
||||
#include "tokenize.hpp"
|
||||
#include "lexer.hpp"
|
||||
#include "analysis.hpp"
|
||||
#include "interpreter.hpp"
|
||||
#include "eval.hpp"
|
||||
|
||||
typedef struct ExecArgs {
|
||||
bool print_tokens=false;
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <variant>
|
||||
#include <optional>
|
||||
#include <stdexcept>
|
||||
#include "tokenize.hpp"
|
||||
#include "lexer.hpp"
|
||||
#include "errors.hpp"
|
||||
using namespace std;
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include "include/errors.hpp"
|
||||
#include "include/tokenize.hpp"
|
||||
#include "include/lexer.hpp"
|
||||
using namespace std;
|
||||
|
||||
regex INT_REGEX ("\\d+");
|
@ -3,11 +3,11 @@
|
||||
#include <algorithm>
|
||||
using namespace std;
|
||||
|
||||
#include "include/tokenize.hpp"
|
||||
#include "include/lexer.hpp"
|
||||
#include "include/utils.hpp"
|
||||
#include "include/colors.hpp"
|
||||
#include "include/parser.hpp"
|
||||
#include "include/config.hpp"
|
||||
#include "include/utils.hpp"
|
||||
|
||||
CodePosition null_pos = {
|
||||
.line = -1,
|
||||
|
@ -4,7 +4,7 @@ using namespace std;
|
||||
|
||||
#include "include/test.hpp"
|
||||
|
||||
#include "../src/include/tokenize.hpp"
|
||||
#include "../src/include/lexer.hpp"
|
||||
|
||||
int main() {
|
||||
_TEST_PRESENTATION("Lexer");
|
Loading…
Reference in New Issue
Block a user