Skip to content

shake: add the swift target (shen-swift) - #10

Merged
pyrex41 merged 1 commit into
mainfrom
swift-shake-target
Jun 20, 2026
Merged

shake: add the swift target (shen-swift)#10
pyrex41 merged 1 commit into
mainfrom
swift-shake-target

Conversation

@pyrex41

@pyrex41 pyrex41 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

shen-swift is now a Ratatoskr stage-2 target (see pyrex41/ratatoskr#7), so map the swift build target onto its shen-swift impl column in --shake mode.

With this, --shake covers all eight bifrost ports — no column shows ---- for a missing builder.

What's here

  • shake.go + bifrost.pyswift → shen-swift in targetToImpl / TARGET_TO_IMPL.
  • README.md--shake section: all eight ports now have a builder; swift drives the shen-swift tree-walking interpreter on the shaken slice (--shaken mode, ~200-line kernel vs the full ~2500-line kernel).

Verification

  • bifrost --shake --only recursion-fib-file --impls shen-swift,shen-lua → both PASS, byte-identical.
  • go vet / go test (8 passed) / pytest test_portable.py (16 passed) green.

Depends on pyrex41/ratatoskr#7 for the swift builder.

🤖 Generated with Claude Code

shen-swift is now a Ratatoskr stage-2 target, so map the `swift` build
target onto its `shen-swift` impl column. With this, `--shake` covers all
eight bifrost ports — no column shows `----` for a missing builder.

Unlike the compiled targets, shen-swift is a tree-walking interpreter:
its artifact drives the interpreter on the shaken slice in `--shaken`
mode (a ~200-line kernel vs the full ~2500-line kernel), the same
runtime-reference relationship lua/julia have to their toolchains.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pyrex41
pyrex41 merged commit ca08285 into main Jun 20, 2026
20 checks passed
@pyrex41
pyrex41 deleted the swift-shake-target branch June 20, 2026 00:10
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