Skip to content

Dim variable size#119

Merged
mdbergmann merged 4 commits into
masterfrom
dim-variable-size
Mar 12, 2026
Merged

Dim variable size#119
mdbergmann merged 4 commits into
masterfrom
dim-variable-size

Conversation

@mdbergmann
Copy link
Copy Markdown
Owner

No description provided.

mdbergmann and others added 4 commits March 12, 2026 20:07
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
DIM arr(n) now accepts variables and expressions, not just constants.
Arrays with variable dimensions are heap-allocated at runtime via ALLOC
with a header storing dimension sizes for multi-dimensional indexing.
Constant-sized arrays are unchanged (BSS-allocated as before).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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