Skip to content

Upgrade Shen kernel to 41.1 - #51

Merged
tiancaiamao merged 1 commit into
tiancaiamao:masterfrom
pyrex41:update-shen-41.1-kernel
Jun 8, 2026
Merged

Upgrade Shen kernel to 41.1#51
tiancaiamao merged 1 commit into
tiancaiamao:masterfrom
pyrex41:update-shen-41.1-kernel

Conversation

@pyrex41

@pyrex41 pyrex41 commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrade the bundled Shen kernel from S39.2 to S41.1. This refreshes the
Shen sources and the generated Go kernel so the port starts from the 41.1
initialise/repl entry points. The test programs move from
S39/Test Programs/ to kernel/tests/.

The REPL banner now reports version: S41.1.

Testing

  • go build ./... and go test ./... pass.
  • The 41.1 kernel loads and runs; spot-checked against the bundled
    kernel/tests/ programs, e.g. (prime*? 1000003)true and
    (cartesian-product [1 2 3] [4 5])
    [[1 4] [1 5] [2 4] [2 5] [3 4] [3 5]].

Relationship to the bytecode-VM PR

This is independent of the bytecode-VM compiler PR (#50): that PR only
touches kl/, while this one only touches the generated kernel
(cmd/shen/), the bundled sources, and the test programs — zero file
overlap
, so the two can merge in either order without conflict.

I've verified the two compose: with both applied, the 41.1 kernel compiles
through the bytecode VM, loads cleanly, and the kernel/tests/ programs
above produce the same correct results.

🤖 Generated with Claude Code

Refresh the bundled Shen sources and generated Go kernel so the port starts from the 41.1 initialise/repl entry points.

Made-with: Cursor
@tiancaiamao
tiancaiamao merged commit 343d665 into tiancaiamao:master Jun 8, 2026
1 check passed
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.

2 participants