diff --git a/headers/Parser.h b/headers/Parser.h new file mode 100644 index 0000000..3695bba --- /dev/null +++ b/headers/Parser.h @@ -0,0 +1,18 @@ +#pragma once +#include +#include "Lexer.h" +#include "Expression.h" +#include "TypeWrapper.h" + +class Parser +{ +private: + const std::vector tokens; + int current = 0; + +public: + Parser(std::vector tokens) : tokens(tokens){}; + +private: + std::shared_ptr> expression(); +}; \ No newline at end of file diff --git a/headers/test.h b/headers/test.h deleted file mode 100644 index c64536b..0000000 --- a/headers/test.h +++ /dev/null @@ -1,14 +0,0 @@ - -#include -#include - -class Test -{ -public: - std::string message; - - Test(std::string msg); - -public: - void Hello(); -}; \ No newline at end of file diff --git a/source/Parser.cpp b/source/Parser.cpp new file mode 100644 index 0000000..b6bf27b --- /dev/null +++ b/source/Parser.cpp @@ -0,0 +1,8 @@ +// +// Created by Bobby Lucero on 5/26/23. +// +#include "../headers/Parser.h" + +std::shared_ptr > Parser::expression() { + +} \ No newline at end of file diff --git a/source/test.cpp b/source/test.cpp deleted file mode 100644 index 02edaac..0000000 --- a/source/test.cpp +++ /dev/null @@ -1,9 +0,0 @@ -#include "../headers/test.h" - -Test::Test(std::string msg){ - this->message = msg; -} - -void Test::Hello(){ - std::cout << this->message << std::endl; -} \ No newline at end of file