Skip to content

Move Call and Run statements into typed call AST - #4

Merged
KernelGhost-gif merged 11 commits into
mainfrom
modernization/0.4-call-run-ast
Nov 12, 2026
Merged

KernelGhost-gif merged 11 commits into
mainfrom
modernization/0.4-call-run-ast

Conversation

@KernelGhost-gif

Copy link
Copy Markdown
Owner

Summary

Continues the typed statement migration:

  • Parses Call function with arguments. and Run function with arguments. into typed call-expression statements in Go and Python.
  • Executes the call but discards its result, preserving the existing statement semantics (no REPL result echo).
  • Compiles the call AST and emits POP to discard the result in native bytecode.
  • Adds parser/runtime tests, compiled-bytecode tests, and a shared conformance case.
  • Updates the EBNF, architecture, and progress documentation.

Validation

Latest branch-head Runtime modernization CI passed:

  • Go tests and vet
  • Python unittest suite
  • Python/native smoke and full runtime-v1 conformance
  • Linux tarball, DEB, and RPM packaging
  • Windows native build and Inno Setup installer
  • macOS universal package validation

The change migrates only the Call/Run statement family; other remaining legacy statement recognizers are still documented as outstanding work.

@KernelGhost-gif
KernelGhost-gif merged commit 9f77bf9 into main Nov 12, 2026
7 checks 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.

1 participant