Skip to content

one increment: remove ++ and --; object() takes an argument - #87

Merged
kryptamine merged 1 commit into
masterfrom
one-increment
Nov 16, 2026
Merged

kryptamine merged 1 commit into
masterfrom
one-increment

Conversation

@kryptamine

Copy link
Copy Markdown
Owner
  • ++ and -- are gone, prefix and postfix; x += 1 is the one way to increment.
  • object() without an argument is gone; {} is the empty object.
  • ± 1 still compiles to INCR, and a compound assignment through an index or a field now uses the constant forms (MULK, SUBK, ...) instead of loading the constant.
  • Tests, examples and docs rewritten to += 1.

…ment, {} is the empty object; compound index assignment keeps constants out of registers
@kryptamine
kryptamine merged commit 868e05a into master Nov 16, 2026
3 checks passed
@kryptamine
kryptamine deleted the one-increment branch November 16, 2026 18:26
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