- Repository:
Shen-Language/shen-sources, tagshen-43.4(tag object40fd335893cf7caf4c3a285e122ea0de06696430), commitf34b307b490880eedcfe1f5e5d3cc24ca3d2602e - Release asset:
ShenOSKernel-43.4.tar.gz- SHA-256:
15e7972e6bf0cd65d37c2eba85750b8839d2dbadda41027eae0c88e5017a2756 - All 23
.klfiles andtests/are byte-identical to the extracted archive.
- SHA-256:
(version)reports"43.4"(set ininit.kl).- Against 43.2, 17 of 23
.klfiles differ.kernelandstlib.klmust move together: stlib's initialiser now callsshen.declare-with-signature(43.3) andshen.update-lambda-table/precompiled(43.4).t-star.kldiffers but the native typechecker's fingerprints (scripts/kernel-fingerprints.lua) are all unchanged.tests/addsregressions/andextensions/expand-dynamic/.
- Tag
shen-43.2, commite6947f507ebc; asset SHA-25623c71508f0de24785e1f127ea4fab440081904d81c463090bc642ee840417f32.
The records of the earlier imports follow.
The 23 .kl files are vendored byte-identical from the kernel built at upstream
Shen-Language/shen-sources master ec16a9f: the 43.1 release plus the type checker's
deref-once change (shen-sources#117, with its empty-list guard). The kernel test suite
under ../tests/ is unchanged from 43.1 and identical to that build's.
- Build:
ShenOSKernel-43.1-ec16a9f.tar.gz, unmodified upstream sources built with the repo'smake klambda/make release, from https://github.com/pyrex41/shen-sources/releases/tag/upstream-ec16a9f- SHA-256:
060066a8f84d9a2f7d41cb3b37b986a8d4653279752b739b5063cd648d9baacd
- SHA-256:
(version)still reports"43.1".
The record of the original 43.1 import follows.
- Repository:
Shen-Language/shen-sources- Tag:
shen-43.1 - Commit:
715824a52b55e9c81a9501df8548ff3edd8411f5
- Tag:
- Release asset:
ShenOSKernel-43.1.tar.gz- SHA-256:
900eedef44f440af78f9395ed06e689ce1604546fc309f5bc7c8bc84cc651920 - All 23 official
.klfiles andtests/are verified against the extracted archive withcmp/diff -r.
- SHA-256:
(version)reports"43.1"(set byshen.initialise-environmentininit.kl).
Files:
core declarations dict init load macros prolog reader sequent sys
t-star toplevel track types writer yacc -- kernel
stlib -- precompiled standard library
extension-features extension-expand-dynamic extension-launcher
extension-programmable-pattern-matching -- extensions (booted)
extension-namespaces extension-type-annotations -- extensions (vendored, opt-in)
Lineage choice (#79, option a)
This is a lineage switch. Releases up to 0.11.x vendored Mark Tarver's
S42.0 kernel (S42.zip from shenlanguage.org, 2026-08-25, mirrored as
pyrex41/shen-upstream tag s42-pristine-20260825, zip SHA-256
30abdc7e5a1e27b7a20109c1ed141e4712885e31f24d9710d16415fbbd4dfb23) plus the
community 42 extensions and the S-lineage Lib/StLib Shen sources. 42.1,
42.2, and 43.1 are releases of the community line only, which differs structurally,
so per the cross-port decision (pyrex41/bifrost#26, pyrex41/yggdrasil#32) the
43.1 kernel is adopted wholesale rather than porting its changes onto the
S42.0 base.
What that means structurally, relative to the S42.0 tree it replaces:
init.klandshen.initialiseare back. Every 43.1 release file is pure defuns; nothing initialises at load time.boot.lualoads all modules and then calls(shen.initialise)(environment,*property-vector*, arity table, lambda forms, kernel signatures), the extension initialisers, and(stlib.initialise). The S42 load-order constraints (… macros declarations t-star types) and the hoistedtypes.kldeclares are gone.dict.klis back.*property-vector*is ashen.dict(an absvector:shen.dictionary, capacity, count, then hash buckets of(Key . Props)), andget/put/unputgo throughshen.<-dict/shen.dict->/shen.assoc-set/shen.assoc-rm.prims.lua's native property store was rewritten for this layout.- Lambda forms are a property again.
fnreads theshen.lambda-formproperty; there is noshen.*lambdatable*. 42.0's requirement that a cached callable form be invalidated when a function is redefined with zero or unknown arity is met by the nativefnfast path keying its cache on a generation counter that everyshen.lambda-formwrite bumps. stlib.klis back as the standard library: the precompiled output of 43.1'slib/stlibsources (upstreammake-stlib.shen). The S-lineagelib/StLibsources that 0.11.x loaded at boot were removed; see "Standard library" below.backend.kl(S42'scl.*Common Lisp backend) is not part of 43.1 and was removed.- Source-form handlers:
shen.macroexpand-htakes a 4th argument andshen.try-parsereturns parsed forms that the read loop expands afterwards. shen-lua overrides none ofread,lineread,shen.read-loop,shen.try-parse,macroexpandorshen.macroexpand-h, so the kernel's own order applies;read/linereadat EOF without a trailing newline behave like shen-scheme 0.50. - Namespaces:
extension-namespaces.klis vendored from the release as generated (it carries the 43.1externals/with-externalschange). It is not booted; a program loads the extension's Shen source (extensions/namespaces.shenin shen-sources) and calls(shen.x.namespaces.initialise), as the community extension tests do.
boot.lua (FILES) boots the 16 release kernel modules, extension-features,
extension-expand-dynamic, extension-launcher,
extension-programmable-pattern-matching and stlib. After (shen.initialise) it calls
(shen.x.features.initialise …) and
(shen.x.programmable-pattern-matching.initialise) in that order, registers
the lua.* interop entries, then runs (stlib.initialise). The resulting
shen.*sigf* contains 465 signatures in this port, including the four
lua.checked-* signatures.
klambda/stlib.kl loads with the kernel and (stlib.initialise) registers
it (port-upgrades.md, 41.1). Since 43.3 its 290 signatures are precompiled
shen.declare-with-signature forms, so there is no signature sidecar. The two
datatype rule compiles are cached next to the kernel bytecode cache
(<kernel cache>.stlibdt); see boot.lua stlib_datatypes.
SHEN_NO_STDLIB=1 skips (stlib.initialise).
Set SHEN_KL_DIR=/path/to/some/other/klambda to boot a different KLambda tree
with the same file set (e.g. a development build of shen-sources). boot.lua
loads the FILES list from it and calls shen.initialise /
stlib.initialise when the tree defines them.
- 0.11.x: Tarver S42.0 (2026-08-25 refresh) + community 42 extensions +
S-lineage
lib/StLibsources loaded at boot. - Earlier: Tarver S41.2 (2026-07-11 refresh); before that the community ShenOSKernel 41.2 / 41.1 releases.
git log -- klambda/PROVENANCE.md has the full earlier text of each entry.