ready to build AST

This commit is contained in:
2024-08-08 13:05:56 +00:00
parent f1eb6abcc1
commit 9900d5aaf3
23 changed files with 683 additions and 110 deletions

3
src/ast/CMakeLists.txt Normal file
View File

@ -0,0 +1,3 @@
include_directories(${CMAKE_SOURCE_DIR}/include/ast)
file(GLOB AST_SOURCES "*.cpp")
add_library(ast STATIC ${AST_SOURCES})

2
src/ast/astnode.cpp Normal file
View File

@ -0,0 +1,2 @@
#include "astnode.h"
#include "astnode_visitor.h"

View File

1
src/ast/expr_astnode.cpp Normal file
View File

@ -0,0 +1 @@
#include "expr_astnode.h"

View File

@ -0,0 +1 @@
#include "statement_astnode.h"

View File

@ -0,0 +1 @@
#include "structural_astnode.h"