shake: add the swift target (shen-swift) - #10
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
shen-swift is now a Ratatoskr stage-2 target (see pyrex41/ratatoskr#7), so map the
swiftbuild target onto itsshen-swiftimpl column in--shakemode.With this,
--shakecovers all eight bifrost ports — no column shows----for a missing builder.What's here
shake.go+bifrost.py—swift → shen-swiftintargetToImpl/TARGET_TO_IMPL.README.md—--shakesection: all eight ports now have a builder; swift drives the shen-swift tree-walking interpreter on the shaken slice (--shakenmode, ~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
swiftbuilder.🤖 Generated with Claude Code