Skip to content

Treat Tell method sentences as no-echo call statements - #5

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

KernelGhost-gif merged 6 commits into
mainfrom
modernization/0.4-tell-call-ast

Conversation

@KernelGhost-gif

Copy link
Copy Markdown
Owner

Summary

Fixes the statement/expression distinction for Tell's natural-language method-call sentence:

  • Tell object to method with arguments. is parsed as a typed call statement in Go and Python, rather than an expression statement.
  • The call executes with the existing call-expression AST and discards its return value, matching the semantics of Call and Run.
  • Compiled bytecode uses the existing CALL + POP lowering path.
  • Adds AST assertions and source/bytecode regression tests proving method results are not unexpectedly echoed.
  • Adds a shared cross-runtime conformance case.

Validation

Latest branch-head CI passed:

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

@KernelGhost-gif
KernelGhost-gif merged commit d623910 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