Skip to content

Add Gate 1 QBE vertical slice - #5

Merged
hiroki23 merged 1 commit into
mainfrom
feat/native-gate-one
Aug 28, 2026
Merged

Add Gate 1 QBE vertical slice#5
hiroki23 merged 1 commit into
mainfrom
feat/native-gate-one

Conversation

@hiroki23

Copy link
Copy Markdown
Contributor

Summary

  • add strict snapshot v2 decoding and the heap-free scalar Gate 1 MIR verifier
  • emit QBE 1.3 IL from TypeRB and link Darwin arm64 executables through the system toolchain
  • cover direct calls, block arguments, branches, loops, scalar arithmetic, static output, and checked Integer failure
  • record the disposable QBE target decision and move records/tagged values to Gate 2

Verification

  • trb fmt --check .
  • trb check
  • TYPE_RB_NATIVE_ROOT="/Users/fujita-h/trb/worktrees/type-rb-native/gate-one" TYPE_RB_NATIVE_QBE=/tmp/qbe-1.3/qbe trb test (16 tests, 0 failures)

Gate 1A foundation for #4; Gate 1B and measurements remain.

@hiroki23
hiroki23 merged commit 9628186 into main Aug 28, 2026
1 check passed
@hiroki23
hiroki23 deleted the feat/native-gate-one branch August 28, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant