Repository navigation
Move to ShenOSKernel 43.4 - #103
Merged
Merged
Conversation
Vendor the 23 .kl files and tests/ byte-identical. stlib.kl now declares signatures via shen.declare-with-signature with precompiled abstractions: drop the stdlib signature sidecar, and record those signatures in the native typechecker's table (it had 171 of 465 entries without this). The two stdlib datatypes still run the rule compiler. Replay their fasl records from <kernel cache>.stlibdt, the cache added with PR 101, instead of the signature sidecar that 43.3 made redundant. make certify expects 154 tests on 43.4, the same kerneltests.shen count as 43.2. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The gate blanks EXPECTED_BY_KERNEL instead of rewriting only the 43.2 entry, so a 43.4 build still refuses a version with no recorded count.
PR 101 already reads hd/tl directly after cons?. + - * and the comparisons now do the same after number? or (= E <number>), including through let. Division stays on DIV. A failed compile still drops both fact tables.
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.
Rebased onto main after #101.
(version)is"43.4".ShenOSKernel 43.4 (Shen-Language/shen-sources tag
shen-43.4, commitf34b307, archive SHA-25615e7972e…). The 23.klfiles andtests/are that release.make certifyexpects 154, the samekerneltests.shencount as 43.2, and still fails when a kernel version has no recorded count.stlib.kldeclares its 290 signatures withshen.declare-with-signatureand a precompiled abstraction, so the<kernel cache>.stlibsignature sidecar is gone. The native typechecker records those signatures. The two datatype rule compiles stay cached in<kernel cache>.stlibdt.Once a value is proved a number,
+-*and the comparisons compile to Lua operators./stays onDIV. Aletbound to a cons keeps the cons fact #101 already uses forhd/tl.