Skip to content

Commit

Permalink
Added symbol table files. Not complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
ax-6 committed Apr 11, 2024
1 parent d714368 commit e8ee48f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
13 changes: 13 additions & 0 deletions compiler/symbol_table/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2024 AQ authors, All Rights Reserved.
# This program is licensed under the AQ License. You can find the AQ license in
# the root directory.

cmake_minimum_required(VERSION 3.10)

include_directories(${PROJECT_SOURCE_DIR})

set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/symbol_table.cc)

add_library(AqCompilerSymbolTable STATIC ${SOURCES})

target_link_libraries(AqCompilerSymbolTable PRIVATE AqDebugger)
8 changes: 8 additions & 0 deletions compiler/symbol_table/symbol_table.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright 2024 AQ authors, All Rights Reserved.
// This program is licensed under the AQ License. You can find the AQ license in
// the root directory.

#include "compiler/symbol_table/symbol_table.h"

// Wait development.
namespace Aq {}
13 changes: 13 additions & 0 deletions compiler/symbol_table/symbol_table.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2024 AQ authors, All Rights Reserved.
// This program is licensed under the AQ License. You can find the AQ license in
// the root directory.

#ifndef AQ_COMPILER_SYMBOL_TABLE_SYMBOL_TABLE_H_
#define AQ_COMPILER_SYMBOL_TABLE_SYMBOL_TABLE_H_

#include "compiler/compiler.h"

// Wait development.
namespace Aq {}

#endif

0 comments on commit e8ee48f

Please sign in to comment.