Begin the Great S4 Massacre - #17
Draft
isomorphisms wants to merge 6 commits into
Draft
Conversation
Add a reference S4 fixture, compliance checks, conservative S4 scanners, and the migration manifesto. Preserve observable semantics while leaving the future IR object surface unconstrained.
Owner
Author
|
Reference-R gate executed on the PR head in an R-capable GitHub Actions runner (R 4.6.1).
The first run isolated two mechanical defects: R 4.6.1 encoded spaces in the runner's |
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.
What this adds
Great S4 massacre/fixtures/with a reference S4 corpus covering construction/defaults, slot access, validity, inheritance, single dispatch, multiple dispatch, and coercionGreat S4 massacre/converter scripts/scan_s4.Rto inventory S4 machinery without executing the sourceGreat S4 massacre/converter scripts/extract_contract.Rto extract literal class/generic/method/coercion declarations into a conservative neutral migration contractGreat S4 massacre/tests/run_compliance.Rwith self-contained reference-R compliance checksDesign constraint
The scripts intentionally do not emit guessed IR object syntax yet. Unsupported/dynamic declarations remain visible instead of being silently mistranslated. Once the IR object surface is settled, the neutral contract can feed an emitter and the same fixtures can become differential compliance tests.
Verification
The branch is one commit ahead of
irand changes only the newGreat S4 massacre/tree. The R compliance runner still needs execution in an R-capable environment/CI before this should leave draft.