Skip to content

Commit 977ed6c

Browse files
committed
feat: Add VS Code extension, benchmarking tools, and comprehensive documentation, updating core project configurations.
1 parent d223b9f commit 977ed6c

17 files changed

Lines changed: 97 additions & 1159 deletions

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@
1313
*.exe
1414
*.out
1515
*.app
16-
<<<<<<< HEAD
1716
*.obj
1817
*.lib
1918
*.exp
2019
*.pdb
2120
*.ilk
22-
=======
23-
>>>>>>> fix-ci-build
2421
build/
2522
cmake-build-debug/
2623
cmake-build-release/
@@ -122,7 +119,6 @@ htmlcov/
122119
*.cover
123120

124121
# ============================================
125-
<<<<<<< HEAD
126122
# Node.js
127123
# ============================================
128124
node_modules/
@@ -132,8 +128,6 @@ yarn-error.log
132128
package-lock.json
133129

134130
# ============================================
135-
=======
136-
>>>>>>> fix-ci-build
137131
# Project-Specific
138132
# ============================================
139133
.internal_ignore

CHANGELOG.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
---
88

9-
<<<<<<< HEAD
109
## [1.0.0] - 2026-01-06
1110

1211
### Added
@@ -67,11 +66,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6766
- **Runtime**:
6867
- Implemented `OP_USE` opcode for dynamic module loading.
6968
- Added `std.io` and standard library module resolution fixes.
70-
=======
71-
## [Unreleased]
72-
73-
### Added
74-
>>>>>>> fix-ci-build
7569
- Comprehensive documentation suite (400+ pages)
7670
- Professional README with architecture diagrams
7771
- Complete ARCHITECTURE.md with compiler pipeline details
@@ -98,11 +92,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9892
- Refactor report documenting all changes
9993

10094
### Changed
101-
<<<<<<< HEAD
10295
- **CLI**: Updated CLI version to match project version.
10396
- **Build**: Fixed CMake finding LLVM and compiler paths on Windows.
104-
=======
105-
>>>>>>> fix-ci-build
10697
- Reorganized repository structure for clarity and scalability
10798
- Upgraded CMakeLists.txt to modern best practices
10899
- Improved Makefile with multiple build targets
@@ -123,11 +114,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
123114

124115
---
125116

126-
<<<<<<< HEAD
127117
## [0.1.0] - 2024-12-11
128-
=======
129-
## [0.9.0] - 2024-12-11
130-
>>>>>>> fix-ci-build
131118

132119
### Initial C-Based Release
133120

@@ -224,11 +211,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
224211
- Async/await implementation
225212
- Pattern matching
226213
- Generic types
227-
<<<<<<< HEAD
228214
- Module system (Initial support in v0.5.0)
229-
=======
230-
- Module system
231-
>>>>>>> fix-ci-build
232215
- Debugger integration
233216

234217
### Phase 4: Ecosystem (Q3 2025)
@@ -261,23 +244,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
261244
1. **Type Checker**: Partial implementation, needs refinement for complex types
262245
2. **Object System**: Basic inheritance, needs method binding optimization
263246
3. **Memory Management**: Mark-and-sweep GC not yet implemented
264-
<<<<<<< HEAD
265247
4. **Module System**: Partial implementation (`use` keyword support added, std lib in progress)
266-
=======
267-
4. **Module System**: Not yet implemented
268-
>>>>>>> fix-ci-build
269248
5. **Standard Library**: 44/75 functions (58% complete)
270249
6. **Error Messages**: Could be more detailed with suggestions
271250
7. **REPL**: Basic implementation, no history or autocompletion
272251

273252
### Workarounds
274253

275254
- For GC: Short-lived programs work fine with basic allocation
276-
<<<<<<< HEAD
277255
- For modules: Use the new `use` keyword or compile with single-file strategy
278-
=======
279-
- For modules: Use single-file programs or compile with preprocessor
280-
>>>>>>> fix-ci-build
281256
- For missing functions: Implement in ProXPL or use system() calls
282257

283258
---
@@ -378,12 +353,6 @@ This project is licensed under the MIT License.
378353

379354
---
380355

381-
<<<<<<< HEAD
382356
**Current Version**: 1.0.0
383357
**Last Updated**: January 06, 2026
384358
**Next Release**: 1.1.0 (Q1 2026)
385-
=======
386-
**Current Version**: 0.9.0 (Development)
387-
**Last Updated**: December 11, 2024
388-
**Next Release**: 1.0.0 (Q2 2025)
389-
>>>>>>> fix-ci-build

CMakeLists.txt

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
cmake_minimum_required(VERSION 3.15)
2-
<<<<<<< HEAD
32
project(ProXPL VERSION 1.0.0 LANGUAGES C CXX)
4-
=======
5-
project(ProXPL)
6-
>>>>>>> fix-ci-build
73

84
# Enable C and C++
95
enable_language(C CXX)
@@ -19,7 +15,6 @@ else()
1915
endif()
2016

2117
# --- LLVM Configuration ---
22-
<<<<<<< HEAD
2318
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
2419

2520
# --- LLVM Configuration ---
@@ -49,22 +44,14 @@ else()
4944
message(WARNING "LibFFI not found. FFI features will be disabled.")
5045
endif()
5146

52-
=======
53-
find_package(LLVM CONFIG)
54-
55-
>>>>>>> fix-ci-build
5647
if (LLVM_FOUND)
5748
message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
5849
include_directories(SYSTEM ${LLVM_INCLUDE_DIRS})
5950
add_definitions(${LLVM_DEFINITIONS})
6051
link_directories(${LLVM_LIBRARY_DIRS})
6152

6253
# Map generic components to specific libs
63-
<<<<<<< HEAD
6454
llvm_map_components_to_libnames(llvm_libs core support executionengine native ipo analysis transformutils bitwriter)
65-
=======
66-
llvm_map_components_to_libnames(llvm_libs core support executionengine native ipo)
67-
>>>>>>> fix-ci-build
6855
else()
6956
message(WARNING "LLVM not found. Building without LLVM backend.")
7057
set(llvm_libs "")
@@ -87,17 +74,13 @@ list(FILTER LIB_SOURCES EXCLUDE REGEX ".*main\\.c$")
8774
list(FILTER LIB_SOURCES EXCLUDE REGEX ".*vm_v2\\.c$")
8875
list(FILTER LIB_SOURCES EXCLUDE REGEX ".*vm_dispatch\\.c$")
8976
list(FILTER LIB_SOURCES EXCLUDE REGEX ".*instr_handlers_template\\.c$")
90-
<<<<<<< HEAD
9177
# Exclude prototype VM register which has its own main
9278
list(FILTER LIB_SOURCES EXCLUDE REGEX ".*vm_register\\.c$")
93-
=======
94-
>>>>>>> fix-ci-build
9579

9680
if (NOT LLVM_FOUND)
9781
list(FILTER LIB_SOURCES EXCLUDE REGEX ".*backend_llvm\\.cpp$")
9882
endif()
9983

100-
<<<<<<< HEAD
10184

10285
# --- Build Configuration ---
10386
# --- Build Configuration ---
@@ -136,36 +119,17 @@ endif()
136119
if (LIBFFI_FOUND)
137120
target_link_libraries(proxpl PRIVATE ${LIBFFI_LIBRARIES})
138121
endif()
139-
=======
140-
# --- Core Library ---
141-
add_library(proxpl_lib SHARED ${LIB_SOURCES})
142-
if (LLVM_FOUND)
143-
target_link_libraries(proxpl_lib PRIVATE ${llvm_libs})
144-
endif()
145-
146-
# --- Main Executable ---
147-
add_executable(proxpl src/main.c)
148-
target_link_libraries(proxpl PRIVATE proxpl_lib ${llvm_libs})
149-
>>>>>>> fix-ci-build
150122

151123
if(UNIX)
152124
if(APPLE)
153125
target_link_libraries(proxpl PRIVATE pthread dl z)
154-
<<<<<<< HEAD
155-
else()
156-
target_link_libraries(proxpl PRIVATE pthread dl z tinfo)
157-
=======
158-
target_link_libraries(proxpl_lib PRIVATE pthread dl z)
159126
else()
160127
target_link_libraries(proxpl PRIVATE pthread dl z tinfo)
161-
target_link_libraries(proxpl_lib PRIVATE pthread dl z tinfo)
162-
>>>>>>> fix-ci-build
163128
endif()
164129
endif()
165130

166131
# --- IR Test Executable ---
167132
add_executable(ir_gen_test tools/ir_gen_test.c)
168-
<<<<<<< HEAD
169133
if(PROX_STATIC_BUILD)
170134
# Link directly to sources for static build since proxpl_lib doesn't exist
171135
target_sources(ir_gen_test PRIVATE ${LIB_SOURCES})
@@ -184,14 +148,10 @@ else()
184148
target_link_libraries(ir_gen_test PRIVATE ${LIBFFI_LIBRARIES})
185149
endif()
186150
endif()
187-
=======
188-
target_link_libraries(ir_gen_test PRIVATE proxpl_lib)
189-
>>>>>>> fix-ci-build
190151

191152
# --- LLVM Gen Test Executable ---
192153
add_executable(llvm_gen_test tools/llvm_gen_test.c)
193154

194-
<<<<<<< HEAD
195155
if(PROX_STATIC_BUILD)
196156
target_sources(llvm_gen_test PRIVATE ${LIB_SOURCES})
197157
if (LLVM_FOUND)
@@ -206,19 +166,13 @@ else()
206166
target_link_libraries(llvm_gen_test PRIVATE ${LIBFFI_LIBRARIES})
207167
endif()
208168
endif()
209-
=======
210-
target_link_libraries(llvm_gen_test PRIVATE proxpl_lib ${llvm_libs})
211-
>>>>>>> fix-ci-build
212169

213170
# --- PRM Executable ---
214171
add_executable(prm
215172
tools/prm_main.c
216173
src/prm/manifest.c
217174
src/prm/builder.c
218-
<<<<<<< HEAD
219175
src/prm/commands/cmd_core.c
220-
=======
221-
>>>>>>> fix-ci-build
222176
)
223177
# PRM doesn't strictly need proxpl_lib unless it uses core types?
224178
# For now, it's standalone, but let's link it if needed later.

Doxyfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
# Generated documentation will be in build/docs/
33

44
PROJECT_NAME = ProXPL
5-
<<<<<<< HEAD
65
PROJECT_NUMBER = 0.7.0-pre
7-
=======
8-
PROJECT_NUMBER = 0.1.0
9-
>>>>>>> fix-ci-build
106
PROJECT_BRIEF = "A Modern Programming Language Compiler"
117
PROJECT_LOGO =
128

LICENSE

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,4 @@ term sustainability of the ProX ecosystem.
126126

127127
────────────────────────────────────────────────────────
128128
END OF PROX PROFESSIONAL LICENSE (PPL)
129-
<<<<<<< HEAD
130129
────────────────────────────────────────────────────────
131-
=======
132-
────────────────────────────────────────────────────────
133-
>>>>>>> fix-ci-build

0 commit comments

Comments
 (0)