diff --git a/src/Zhivo.cpp b/src/zhivo/Zhivo.cpp similarity index 99% rename from src/Zhivo.cpp rename to src/zhivo/Zhivo.cpp index 53485af..665924f 100644 --- a/src/Zhivo.cpp +++ b/src/zhivo/Zhivo.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include #include #include diff --git a/src/ast/TerminativeSignal.cpp b/src/zhivo/ast/TerminativeSignal.cpp similarity index 96% rename from src/ast/TerminativeSignal.cpp rename to src/zhivo/ast/TerminativeSignal.cpp index e17ea1f..24fb5fd 100644 --- a/src/ast/TerminativeSignal.cpp +++ b/src/zhivo/ast/TerminativeSignal.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include Token TerminativeBreakSignal::getAddress() const { return this->origin; diff --git a/src/ast/expression/ArrayAccessExpression.cpp b/src/zhivo/ast/expression/ArrayAccessExpression.cpp similarity index 94% rename from src/ast/expression/ArrayAccessExpression.cpp rename to src/zhivo/ast/expression/ArrayAccessExpression.cpp index 7d99718..0ff7864 100644 --- a/src/ast/expression/ArrayAccessExpression.cpp +++ b/src/zhivo/ast/expression/ArrayAccessExpression.cpp @@ -16,9 +16,9 @@ * along with Zhivo. If not, see . */ -#include -#include -#include +#include +#include +#include #include diff --git a/src/ast/expression/ArrayExpression.cpp b/src/zhivo/ast/expression/ArrayExpression.cpp similarity index 95% rename from src/ast/expression/ArrayExpression.cpp rename to src/zhivo/ast/expression/ArrayExpression.cpp index 0ad1544..a5ab960 100644 --- a/src/ast/expression/ArrayExpression.cpp +++ b/src/zhivo/ast/expression/ArrayExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include #include DynamicObject ArrayExpression::visit(SymbolTable& symbols) { diff --git a/src/ast/expression/BinaryExpression.cpp b/src/zhivo/ast/expression/BinaryExpression.cpp similarity index 97% rename from src/ast/expression/BinaryExpression.cpp rename to src/zhivo/ast/expression/BinaryExpression.cpp index 2044b1e..ee6992c 100644 --- a/src/ast/expression/BinaryExpression.cpp +++ b/src/zhivo/ast/expression/BinaryExpression.cpp @@ -16,12 +16,12 @@ * along with Zhivo. If not, see . */ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/ast/expression/BlockExpression.cpp b/src/zhivo/ast/expression/BlockExpression.cpp similarity index 92% rename from src/ast/expression/BlockExpression.cpp rename to src/zhivo/ast/expression/BlockExpression.cpp index 4261b3f..7694d3f 100644 --- a/src/ast/expression/BlockExpression.cpp +++ b/src/zhivo/ast/expression/BlockExpression.cpp @@ -16,8 +16,8 @@ * along with Zhivo. If not, see . */ -#include -#include +#include +#include #include DynamicObject BlockExpression::visit(SymbolTable& symbols) { diff --git a/src/ast/expression/BooleanLiteralExpression.cpp b/src/zhivo/ast/expression/BooleanLiteralExpression.cpp similarity index 86% rename from src/ast/expression/BooleanLiteralExpression.cpp rename to src/zhivo/ast/expression/BooleanLiteralExpression.cpp index 8407eab..c01b91e 100644 --- a/src/ast/expression/BooleanLiteralExpression.cpp +++ b/src/zhivo/ast/expression/BooleanLiteralExpression.cpp @@ -16,9 +16,9 @@ * along with Zhivo. If not, see . */ -#include -#include -#include +#include +#include +#include DynamicObject BooleanLiteralExpression::visit( SymbolTable& symbols diff --git a/src/ast/expression/CatchHandleExpression.cpp b/src/zhivo/ast/expression/CatchHandleExpression.cpp similarity index 89% rename from src/ast/expression/CatchHandleExpression.cpp rename to src/zhivo/ast/expression/CatchHandleExpression.cpp index 4852d47..58a8908 100644 --- a/src/ast/expression/CatchHandleExpression.cpp +++ b/src/zhivo/ast/expression/CatchHandleExpression.cpp @@ -16,10 +16,10 @@ * along with Zhivo. If not, see . */ -#include -#include -#include -#include +#include +#include +#include +#include DynamicObject CatchHandleExpression::visit(SymbolTable& symbols) { DynamicObject object = {}; diff --git a/src/ast/expression/FunctionCallExpression.cpp b/src/zhivo/ast/expression/FunctionCallExpression.cpp similarity index 92% rename from src/ast/expression/FunctionCallExpression.cpp rename to src/zhivo/ast/expression/FunctionCallExpression.cpp index 07cf041..6de6b8b 100644 --- a/src/ast/expression/FunctionCallExpression.cpp +++ b/src/zhivo/ast/expression/FunctionCallExpression.cpp @@ -16,9 +16,9 @@ * along with Zhivo. If not, see . */ -#include -#include -#include +#include +#include +#include DynamicObject FunctionCallExpression::visit(SymbolTable& symbols) { auto func = this->callable->visit(symbols); diff --git a/src/ast/expression/FunctionDeclarationExpression.cpp b/src/zhivo/ast/expression/FunctionDeclarationExpression.cpp similarity index 91% rename from src/ast/expression/FunctionDeclarationExpression.cpp rename to src/zhivo/ast/expression/FunctionDeclarationExpression.cpp index afcdf10..d5e7b3f 100644 --- a/src/ast/expression/FunctionDeclarationExpression.cpp +++ b/src/zhivo/ast/expression/FunctionDeclarationExpression.cpp @@ -16,10 +16,10 @@ * along with Zhivo. If not, see . */ -#include -#include -#include -#include +#include +#include +#include +#include FunctionDeclarationExpression& FunctionDeclarationExpression::operator=( FunctionDeclarationExpression&& other diff --git a/src/ast/expression/GroupedExpression.cpp b/src/zhivo/ast/expression/GroupedExpression.cpp similarity index 93% rename from src/ast/expression/GroupedExpression.cpp rename to src/zhivo/ast/expression/GroupedExpression.cpp index 04b328d..5329ac7 100644 --- a/src/ast/expression/GroupedExpression.cpp +++ b/src/zhivo/ast/expression/GroupedExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include #include DynamicObject GroupedExpression::visit(SymbolTable& symbols) { diff --git a/src/ast/expression/IfElseExpression.cpp b/src/zhivo/ast/expression/IfElseExpression.cpp similarity index 95% rename from src/ast/expression/IfElseExpression.cpp rename to src/zhivo/ast/expression/IfElseExpression.cpp index cda988d..c3b331a 100644 --- a/src/ast/expression/IfElseExpression.cpp +++ b/src/zhivo/ast/expression/IfElseExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject IfElseExpression::visit(SymbolTable& symbols) { DynamicObject condValue = this->condition->visit(symbols); diff --git a/src/ast/expression/LoopExpression.cpp b/src/zhivo/ast/expression/LoopExpression.cpp similarity index 96% rename from src/ast/expression/LoopExpression.cpp rename to src/zhivo/ast/expression/LoopExpression.cpp index 095816a..ed8ed84 100644 --- a/src/ast/expression/LoopExpression.cpp +++ b/src/zhivo/ast/expression/LoopExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject LoopExpression::visit(SymbolTable& symbols) { DynamicObject value; diff --git a/src/ast/expression/MaybeExpression.cpp b/src/zhivo/ast/expression/MaybeExpression.cpp similarity index 87% rename from src/ast/expression/MaybeExpression.cpp rename to src/zhivo/ast/expression/MaybeExpression.cpp index b0d516d..3be1f81 100644 --- a/src/ast/expression/MaybeExpression.cpp +++ b/src/zhivo/ast/expression/MaybeExpression.cpp @@ -16,9 +16,9 @@ * along with Zhivo. If not, see . */ -#include -#include -#include +#include +#include +#include DynamicObject MaybeExpression::visit( SymbolTable& symbols diff --git a/src/ast/expression/NilCoalescingExpression.cpp b/src/zhivo/ast/expression/NilCoalescingExpression.cpp similarity index 93% rename from src/ast/expression/NilCoalescingExpression.cpp rename to src/zhivo/ast/expression/NilCoalescingExpression.cpp index 81b0d15..5f8ea9b 100644 --- a/src/ast/expression/NilCoalescingExpression.cpp +++ b/src/zhivo/ast/expression/NilCoalescingExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject NilCoalescingExpression::visit(SymbolTable& symbols) { DynamicObject leftValue = this->left->visit(symbols); diff --git a/src/ast/expression/NilLiteralExpression.cpp b/src/zhivo/ast/expression/NilLiteralExpression.cpp similarity index 93% rename from src/ast/expression/NilLiteralExpression.cpp rename to src/zhivo/ast/expression/NilLiteralExpression.cpp index ed7cff2..4b8586a 100644 --- a/src/ast/expression/NilLiteralExpression.cpp +++ b/src/zhivo/ast/expression/NilLiteralExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject NilLiteralExpression::visit( SymbolTable& symbols diff --git a/src/ast/expression/NumberLiteralExpression.cpp b/src/zhivo/ast/expression/NumberLiteralExpression.cpp similarity index 93% rename from src/ast/expression/NumberLiteralExpression.cpp rename to src/zhivo/ast/expression/NumberLiteralExpression.cpp index 0fb602f..360f859 100644 --- a/src/ast/expression/NumberLiteralExpression.cpp +++ b/src/zhivo/ast/expression/NumberLiteralExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject NumberLiteralExpression::visit( SymbolTable& symbols diff --git a/src/ast/expression/ParallelExpression.cpp b/src/zhivo/ast/expression/ParallelExpression.cpp similarity index 93% rename from src/ast/expression/ParallelExpression.cpp rename to src/zhivo/ast/expression/ParallelExpression.cpp index b3dd92d..e6eb6f9 100644 --- a/src/ast/expression/ParallelExpression.cpp +++ b/src/zhivo/ast/expression/ParallelExpression.cpp @@ -16,14 +16,14 @@ * along with Zhivo. If not, see . */ -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/ast/expression/RandomExpression.cpp b/src/zhivo/ast/expression/RandomExpression.cpp similarity index 91% rename from src/ast/expression/RandomExpression.cpp rename to src/zhivo/ast/expression/RandomExpression.cpp index ee05482..731d396 100644 --- a/src/ast/expression/RandomExpression.cpp +++ b/src/zhivo/ast/expression/RandomExpression.cpp @@ -16,8 +16,8 @@ * along with Zhivo. If not, see . */ -#include -#include +#include +#include DynamicObject RandomExpression::visit(SymbolTable& symbols) { if(ZhivoUtil::randomBoolValue()) diff --git a/src/ast/expression/RegexExpression.cpp b/src/zhivo/ast/expression/RegexExpression.cpp similarity index 94% rename from src/ast/expression/RegexExpression.cpp rename to src/zhivo/ast/expression/RegexExpression.cpp index c36768a..5b66bb8 100644 --- a/src/ast/expression/RegexExpression.cpp +++ b/src/zhivo/ast/expression/RegexExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject RegexExpression::visit( SymbolTable& symbols diff --git a/src/ast/expression/RenderExpression.cpp b/src/zhivo/ast/expression/RenderExpression.cpp similarity index 90% rename from src/ast/expression/RenderExpression.cpp rename to src/zhivo/ast/expression/RenderExpression.cpp index b1edc40..4c49bbd 100644 --- a/src/ast/expression/RenderExpression.cpp +++ b/src/zhivo/ast/expression/RenderExpression.cpp @@ -16,8 +16,8 @@ * along with Zhivo. If not, see . */ -#include -#include +#include +#include #include DynamicObject RenderExpression::visit(SymbolTable& symbols) { diff --git a/src/ast/expression/StringLiteralExpression.cpp b/src/zhivo/ast/expression/StringLiteralExpression.cpp similarity index 93% rename from src/ast/expression/StringLiteralExpression.cpp rename to src/zhivo/ast/expression/StringLiteralExpression.cpp index cf8973c..76351a6 100644 --- a/src/ast/expression/StringLiteralExpression.cpp +++ b/src/zhivo/ast/expression/StringLiteralExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject StringLiteralExpression::visit( SymbolTable& symbols diff --git a/src/ast/expression/TypeExpression.cpp b/src/zhivo/ast/expression/TypeExpression.cpp similarity index 87% rename from src/ast/expression/TypeExpression.cpp rename to src/zhivo/ast/expression/TypeExpression.cpp index ea83803..04ace6e 100644 --- a/src/ast/expression/TypeExpression.cpp +++ b/src/zhivo/ast/expression/TypeExpression.cpp @@ -16,10 +16,10 @@ * along with Zhivo. If not, see . */ -#include -#include +#include +#include -#include +#include DynamicObject TypeExpression::visit(SymbolTable& symbols) { DynamicObject value = this->expression->visit(symbols); diff --git a/src/ast/expression/UnaryExpression.cpp b/src/zhivo/ast/expression/UnaryExpression.cpp similarity index 94% rename from src/ast/expression/UnaryExpression.cpp rename to src/zhivo/ast/expression/UnaryExpression.cpp index 95e89d9..6723024 100644 --- a/src/ast/expression/UnaryExpression.cpp +++ b/src/zhivo/ast/expression/UnaryExpression.cpp @@ -16,9 +16,9 @@ * along with Zhivo. If not, see . */ -#include -#include -#include +#include +#include +#include #include diff --git a/src/ast/expression/UnlessExpression.cpp b/src/zhivo/ast/expression/UnlessExpression.cpp similarity index 95% rename from src/ast/expression/UnlessExpression.cpp rename to src/zhivo/ast/expression/UnlessExpression.cpp index 48c2f3a..4e20b8a 100644 --- a/src/ast/expression/UnlessExpression.cpp +++ b/src/zhivo/ast/expression/UnlessExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject UnlessExpression::visit(SymbolTable& symbols) { DynamicObject condValue = this->condition->visit(symbols); diff --git a/src/ast/expression/VariableAccessExpression.cpp b/src/zhivo/ast/expression/VariableAccessExpression.cpp similarity index 94% rename from src/ast/expression/VariableAccessExpression.cpp rename to src/zhivo/ast/expression/VariableAccessExpression.cpp index b302ca8..a15123c 100644 --- a/src/ast/expression/VariableAccessExpression.cpp +++ b/src/zhivo/ast/expression/VariableAccessExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include Token VariableAccessExpression::getName() const { return *this->name; diff --git a/src/ast/expression/WhenExpression.cpp b/src/zhivo/ast/expression/WhenExpression.cpp similarity index 95% rename from src/ast/expression/WhenExpression.cpp rename to src/zhivo/ast/expression/WhenExpression.cpp index e366b94..1a185c4 100644 --- a/src/ast/expression/WhenExpression.cpp +++ b/src/zhivo/ast/expression/WhenExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject WhenExpression::visit(SymbolTable& symbols) { DynamicObject expr = this->expression->visit(symbols); diff --git a/src/ast/expression/WhileExpression.cpp b/src/zhivo/ast/expression/WhileExpression.cpp similarity index 95% rename from src/ast/expression/WhileExpression.cpp rename to src/zhivo/ast/expression/WhileExpression.cpp index 4efd97a..7358629 100644 --- a/src/ast/expression/WhileExpression.cpp +++ b/src/zhivo/ast/expression/WhileExpression.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject WhileExpression::visit(SymbolTable& symbols) { DynamicObject value; diff --git a/src/ast/statement/BreakStatement.cpp b/src/zhivo/ast/statement/BreakStatement.cpp similarity index 94% rename from src/ast/statement/BreakStatement.cpp rename to src/zhivo/ast/statement/BreakStatement.cpp index 443cff3..6e25e8f 100644 --- a/src/ast/statement/BreakStatement.cpp +++ b/src/zhivo/ast/statement/BreakStatement.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject BreakStatement::visit( SymbolTable& symbols diff --git a/src/ast/statement/ContinueStatement.cpp b/src/zhivo/ast/statement/ContinueStatement.cpp similarity index 94% rename from src/ast/statement/ContinueStatement.cpp rename to src/zhivo/ast/statement/ContinueStatement.cpp index bf12c72..4b4f529 100644 --- a/src/ast/statement/ContinueStatement.cpp +++ b/src/zhivo/ast/statement/ContinueStatement.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject ContinueStatement::visit( SymbolTable& symbols diff --git a/src/ast/statement/ExpressionStatement.cpp b/src/zhivo/ast/statement/ExpressionStatement.cpp similarity index 93% rename from src/ast/statement/ExpressionStatement.cpp rename to src/zhivo/ast/statement/ExpressionStatement.cpp index d49f68e..7c6bda6 100644 --- a/src/ast/statement/ExpressionStatement.cpp +++ b/src/zhivo/ast/statement/ExpressionStatement.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject ExpressionStatement::visit(SymbolTable& symbols) { return this->expression->visit(symbols); diff --git a/src/ast/statement/ReturnStatement.cpp b/src/zhivo/ast/statement/ReturnStatement.cpp similarity index 94% rename from src/ast/statement/ReturnStatement.cpp rename to src/zhivo/ast/statement/ReturnStatement.cpp index e255e90..e499da8 100644 --- a/src/ast/statement/ReturnStatement.cpp +++ b/src/zhivo/ast/statement/ReturnStatement.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject ReturnStatement::visit(SymbolTable& symbols) { throw TerminativeReturnSignal(this->expression->visit(symbols)); diff --git a/src/ast/statement/TestStatement.cpp b/src/zhivo/ast/statement/TestStatement.cpp similarity index 91% rename from src/ast/statement/TestStatement.cpp rename to src/zhivo/ast/statement/TestStatement.cpp index 832d439..1ea03f7 100644 --- a/src/ast/statement/TestStatement.cpp +++ b/src/zhivo/ast/statement/TestStatement.cpp @@ -16,9 +16,9 @@ * along with Zhivo. If not, see . */ -#include -#include -#include +#include +#include +#include #include diff --git a/src/ast/statement/ThrowStatement.cpp b/src/zhivo/ast/statement/ThrowStatement.cpp similarity index 95% rename from src/ast/statement/ThrowStatement.cpp rename to src/zhivo/ast/statement/ThrowStatement.cpp index 0c28abd..416ce32 100644 --- a/src/ast/statement/ThrowStatement.cpp +++ b/src/zhivo/ast/statement/ThrowStatement.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject ThrowStatement::visit(SymbolTable& symbols) { #ifdef _MSC_VER diff --git a/src/ast/statement/VariableDeclarationStatement.cpp b/src/zhivo/ast/statement/VariableDeclarationStatement.cpp similarity index 96% rename from src/ast/statement/VariableDeclarationStatement.cpp rename to src/zhivo/ast/statement/VariableDeclarationStatement.cpp index 7275024..ae7310d 100644 --- a/src/ast/statement/VariableDeclarationStatement.cpp +++ b/src/zhivo/ast/statement/VariableDeclarationStatement.cpp @@ -16,10 +16,10 @@ * along with Zhivo. If not, see . */ -#include -#include -#include -#include +#include +#include +#include +#include #if defined(__unix__) || defined(__linux__) || defined(__APPLE__) # include diff --git a/src/ast/statement/WaitStatement.cpp b/src/zhivo/ast/statement/WaitStatement.cpp similarity index 94% rename from src/ast/statement/WaitStatement.cpp rename to src/zhivo/ast/statement/WaitStatement.cpp index 263edd2..55b8b61 100644 --- a/src/ast/statement/WaitStatement.cpp +++ b/src/zhivo/ast/statement/WaitStatement.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include DynamicObject WaitStatement::visit(SymbolTable& symbols) { symbols.waitForThreads(); diff --git a/src/core/DynamicObject.cpp b/src/zhivo/core/DynamicObject.cpp similarity index 97% rename from src/core/DynamicObject.cpp rename to src/zhivo/core/DynamicObject.cpp index 8ad2fea..a716743 100644 --- a/src/core/DynamicObject.cpp +++ b/src/zhivo/core/DynamicObject.cpp @@ -16,11 +16,11 @@ * along with Zhivo. If not, see . */ -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include diff --git a/src/core/RegexWrapper.cpp b/src/zhivo/core/RegexWrapper.cpp similarity index 80% rename from src/core/RegexWrapper.cpp rename to src/zhivo/core/RegexWrapper.cpp index b5d13c2..51e06b9 100644 --- a/src/core/RegexWrapper.cpp +++ b/src/zhivo/core/RegexWrapper.cpp @@ -1,4 +1,4 @@ -#include +#include const std::string& RegexWrapper::getPattern() const { return this->pattern; diff --git a/src/core/Runtime.cpp b/src/zhivo/core/Runtime.cpp similarity index 96% rename from src/core/Runtime.cpp rename to src/zhivo/core/Runtime.cpp index 0ccc37e..f859c45 100644 --- a/src/core/Runtime.cpp +++ b/src/zhivo/core/Runtime.cpp @@ -16,8 +16,8 @@ * along with Zhivo. If not, see . */ -#include -#include +#include +#include #include #include diff --git a/src/core/SymbolTable.cpp b/src/zhivo/core/SymbolTable.cpp similarity index 95% rename from src/core/SymbolTable.cpp rename to src/zhivo/core/SymbolTable.cpp index 06f1f9a..c547637 100644 --- a/src/core/SymbolTable.cpp +++ b/src/zhivo/core/SymbolTable.cpp @@ -16,9 +16,9 @@ * along with Zhivo. If not, see . */ -#include -#include -#include +#include +#include +#include SymbolTable& SymbolTable::operator=(const SymbolTable& other) { if(this != &other) { diff --git a/src/parser/LexicalAnalysisException.cpp b/src/zhivo/parser/LexicalAnalysisException.cpp similarity index 93% rename from src/parser/LexicalAnalysisException.cpp rename to src/zhivo/parser/LexicalAnalysisException.cpp index 0304d34..825e8a6 100644 --- a/src/parser/LexicalAnalysisException.cpp +++ b/src/zhivo/parser/LexicalAnalysisException.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include LexicalAnalysisException::LexicalAnalysisException(const std::string& message) : std::runtime_error(message) {} diff --git a/src/parser/OperatorsAndKeys.cpp b/src/zhivo/parser/OperatorsAndKeys.cpp similarity index 96% rename from src/parser/OperatorsAndKeys.cpp rename to src/zhivo/parser/OperatorsAndKeys.cpp index 0e01e4b..babef62 100644 --- a/src/parser/OperatorsAndKeys.cpp +++ b/src/zhivo/parser/OperatorsAndKeys.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include const std::vector OperatorsAndKeys::operators = { "+", "-", "*", "/", "!", "!=", diff --git a/src/parser/Parser.cpp b/src/zhivo/parser/Parser.cpp similarity index 93% rename from src/parser/Parser.cpp rename to src/zhivo/parser/Parser.cpp index 701b8ec..3577f02 100644 --- a/src/parser/Parser.cpp +++ b/src/zhivo/parser/Parser.cpp @@ -16,49 +16,49 @@ * along with Zhivo. If not, see . */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include - -#include -#include -#include -#include - -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include +#include +#include + +#include #include #include diff --git a/src/parser/Token.cpp b/src/zhivo/parser/Token.cpp similarity index 98% rename from src/parser/Token.cpp rename to src/zhivo/parser/Token.cpp index 0bda440..06352e6 100644 --- a/src/parser/Token.cpp +++ b/src/zhivo/parser/Token.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include bool Token::operator==(const Token& other) const { return this->image == other.image && diff --git a/src/parser/Tokenizer.cpp b/src/zhivo/parser/Tokenizer.cpp similarity index 99% rename from src/parser/Tokenizer.cpp rename to src/zhivo/parser/Tokenizer.cpp index 4fc123d..d2966f9 100644 --- a/src/parser/Tokenizer.cpp +++ b/src/zhivo/parser/Tokenizer.cpp @@ -16,8 +16,8 @@ * along with Zhivo. If not, see . */ -#include -#include +#include +#include std::unique_ptr Tokenizer::loadFile(const std::string& filePath) { std::ifstream file(filePath); diff --git a/src/util/Convert.cpp b/src/zhivo/util/Convert.cpp similarity index 98% rename from src/util/Convert.cpp rename to src/zhivo/util/Convert.cpp index 3af8b15..b0793c7 100644 --- a/src/util/Convert.cpp +++ b/src/zhivo/util/Convert.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include namespace ZhivoUtil { diff --git a/src/util/VectorMath.cpp b/src/zhivo/util/VectorMath.cpp similarity index 99% rename from src/util/VectorMath.cpp rename to src/zhivo/util/VectorMath.cpp index f49da0b..7e5192a 100644 --- a/src/util/VectorMath.cpp +++ b/src/zhivo/util/VectorMath.cpp @@ -16,7 +16,7 @@ * along with Zhivo. If not, see . */ -#include +#include namespace ZhivoUtil {