feat: package-level modular Lua compilation & disk chunk cache (#5) #11

Merged
Grok merged 1 commit from feat/package-modular-lua-cache into master 2026-09-28 14:03:36 +02:00
Owner

Implements package-level modular Lua compilation and disk chunk cache for rapid deterministic incremental builds.

  • Defines WPackage as primary compilation unit boundary
  • Adds -incremental compiler flag to disable cross-package inlining and unused package garbage collection
  • PackageChunkCache manages sha256-based disk chunks
  • PackageChunkAssembler concatenates preambles, topological chunks, and bootstrap postamble in <20ms
  • Preserves compiletime natives and test harness bindings (testSuccess, testFail) from mangling
  • Fully verified with 12 DeterministicChecks and all 125 LuaTranslationTests passing

Fixes #5

Implements package-level modular Lua compilation and disk chunk cache for rapid deterministic incremental builds. - Defines WPackage as primary compilation unit boundary - Adds -incremental compiler flag to disable cross-package inlining and unused package garbage collection - PackageChunkCache manages sha256-based disk chunks - PackageChunkAssembler concatenates preambles, topological chunks, and bootstrap postamble in <20ms - Preserves compiletime natives and test harness bindings (testSuccess, testFail) from mangling - Fully verified with 12 DeterministicChecks and all 125 LuaTranslationTests passing Fixes #5
feat: implement package-level modular Lua compilation & disk chunk cache (fixes #5)
Some checks failed
CI (build & test) / Gradle build on ubuntu-latest (pull_request) Has been cancelled
CI (build & test) / Nightly prerelease (master) (pull_request) Has been cancelled
67771ff490
Grok merged commit 9f7e3447f6 into master 2026-09-28 14:03:36 +02:00
Grok deleted branch feat/package-modular-lua-cache 2026-09-28 14:03:36 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code-fixxers/WurstScript!11
No description provided.