mirror of
https://github.com/PashaBibko/LX.git
synced 2026-04-04 01:49:05 +00:00
Started adding Parser
This commit is contained in:
21
common/Parser.h
Normal file
21
common/Parser.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <Lexer.h>
|
||||
#include <LLVM.h>
|
||||
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
namespace LX
|
||||
{
|
||||
struct GlobalDeclaration
|
||||
{
|
||||
};
|
||||
|
||||
struct FunctionDeclaration
|
||||
{
|
||||
};
|
||||
|
||||
std::vector<std::unique_ptr<GlobalDeclaration>> TurnTokensIntoAbstractSyntaxTree(std::vector<Token>& tokens, std::ofstream* log);
|
||||
}
|
||||
Reference in New Issue
Block a user