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