Sprint 2 Step 1: base ASTNode class and Module concept

Adds the C++ editor stack foundation with ASTNode (id, conceptType, parent pointer, virtual dtor) and Module as the first concrete concept (name, targetLanguage). Header-only, compiles with C++20, test passes all assertions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-06 18:44:42 -07:00
parent 25aa8bd024
commit 586914df4e
4 changed files with 50 additions and 0 deletions

8
editor/CMakeLists.txt Normal file
View File

@@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.20)
project(WhetstoneEditor LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(step1_test tests/step1_test.cpp)
target_include_directories(step1_test PRIVATE src)