2025-09-11 23:58:10 +09:00
|
|
|
mod blocks;
|
2025-09-12 14:12:54 +09:00
|
|
|
pub mod builder_cursor;
|
2025-09-12 12:30:42 +09:00
|
|
|
pub mod flow;
|
2025-09-11 23:58:10 +09:00
|
|
|
mod externcall;
|
|
|
|
|
mod newbox;
|
|
|
|
|
mod boxcall;
|
2025-09-13 00:07:38 +09:00
|
|
|
pub mod ctx;
|
|
|
|
|
pub mod string_ops;
|
2025-09-11 23:58:10 +09:00
|
|
|
mod arith;
|
|
|
|
|
mod mem;
|
|
|
|
|
mod consts;
|
🏗️ Refactor: Major LLVM codegen modularization + Phase 15 docs cleanup + Phase 21 DDD concept
## LLVM Codegen Refactoring (by ChatGPT5)
- Split massive boxcall.rs into focused submodules:
- strings.rs: String method optimizations (concat, length)
- arrays.rs: Array operations (get, set, push, length)
- maps.rs: Map operations (get, set, has, size)
- fields.rs: getField/setField handling
- invoke.rs: Tagged invoke implementation
- marshal.rs: Helper functions for marshaling
- Improved code organization and maintainability
- No functional changes, pure refactoring
## Phase 15 Documentation Cleanup
- Restructured phase-15 folder:
- implementation/: Technical implementation docs
- planning/: Planning and sequence docs
- archive/: Redundant/old content
- Removed duplicate content (80k→20k line reduction mentioned 5 times)
- Converted all .txt files to .md for consistency
- Fixed broken links in README.md
- Removed redundant INDEX.md
## Phase 21: Database-Driven Development (New)
- Revolutionary concept: Source code in SQLite instead of files
- Instant refactoring with SQL transactions
- Structured management of boxes, methods, dependencies
- Technical design with security considerations
- Vision: World's first DB-driven programming language
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 00:35:11 +09:00
|
|
|
mod strings;
|
|
|
|
|
mod arrays;
|
|
|
|
|
mod maps;
|
|
|
|
|
mod arith_ops;
|
2025-09-12 01:58:07 +09:00
|
|
|
mod call;
|
2025-09-12 15:35:56 +09:00
|
|
|
mod loopform;
|
2025-09-12 20:06:48 +09:00
|
|
|
mod resolver;
|
2025-09-11 23:58:10 +09:00
|
|
|
|
|
|
|
|
pub(super) use blocks::{create_basic_blocks, precreate_phis};
|
|
|
|
|
pub(super) use flow::{emit_branch, emit_jump, emit_return};
|
|
|
|
|
pub(super) use externcall::lower_externcall;
|
|
|
|
|
pub(super) use newbox::lower_newbox;
|
2025-09-13 00:07:38 +09:00
|
|
|
pub(super) use boxcall::{lower_boxcall, lower_boxcall_boxed};
|
2025-09-11 23:58:10 +09:00
|
|
|
pub(super) use arith::lower_compare;
|
|
|
|
|
pub(super) use mem::{lower_load, lower_store};
|
|
|
|
|
pub(super) use consts::lower_const;
|
🏗️ Refactor: Major LLVM codegen modularization + Phase 15 docs cleanup + Phase 21 DDD concept
## LLVM Codegen Refactoring (by ChatGPT5)
- Split massive boxcall.rs into focused submodules:
- strings.rs: String method optimizations (concat, length)
- arrays.rs: Array operations (get, set, push, length)
- maps.rs: Map operations (get, set, has, size)
- fields.rs: getField/setField handling
- invoke.rs: Tagged invoke implementation
- marshal.rs: Helper functions for marshaling
- Improved code organization and maintainability
- No functional changes, pure refactoring
## Phase 15 Documentation Cleanup
- Restructured phase-15 folder:
- implementation/: Technical implementation docs
- planning/: Planning and sequence docs
- archive/: Redundant/old content
- Removed duplicate content (80k→20k line reduction mentioned 5 times)
- Converted all .txt files to .md for consistency
- Fixed broken links in README.md
- Removed redundant INDEX.md
## Phase 21: Database-Driven Development (New)
- Revolutionary concept: Source code in SQLite instead of files
- Instant refactoring with SQL transactions
- Structured management of boxes, methods, dependencies
- Technical design with security considerations
- Vision: World's first DB-driven programming language
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 00:35:11 +09:00
|
|
|
pub(super) use arith_ops::{lower_binop, lower_unary};
|
2025-09-12 01:58:07 +09:00
|
|
|
pub(super) use call::lower_call;
|
2025-09-12 15:35:56 +09:00
|
|
|
pub(super) use loopform::{LoopFormContext, lower_while_loopform};
|
2025-09-12 19:23:16 +09:00
|
|
|
pub(super) use loopform::normalize_header_phis_for_latch;
|
2025-09-13 00:07:38 +09:00
|
|
|
pub(super) use loopform::dev_check_dispatch_only_phi;
|
2025-09-12 20:06:48 +09:00
|
|
|
pub(super) use resolver::Resolver;
|