Skip to content

Import the std modules for functions that moved there - #6

Merged
S42yt merged 2 commits into
masterfrom
chore/std-imports
Oct 7, 2026
Merged

S42yt merged 2 commits into
masterfrom
chore/std-imports

Conversation

@S42yt

@S42yt S42yt commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

What

Burn moves non-core built-ins into standard library modules (burnlang/burn#32). This adds the imports ash needs:

  • std/math for max
  • std/time for nowMs
  • std/strings for isAlphanumeric
  • std/testing for assert in the tests

burn fix generated these changes, and the only diffs are added imports. They also work with the current Burn, so this can merge before burnlang/burn#32.

Tests

With the new Burn, these pass:

  • fmt and check
  • unit tests
  • e2e on the interpreter and on the compiled binary

🤖 Generated with Claude Code


Generated by Claude Code

S42yt added 2 commits October 7, 2026 11:43
Burn now keeps math, time and character-class functions in std/math, std/time
and std/strings, and assert in std/testing. The imports also work with older
versions of Burn.
@S42yt
S42yt merged commit d78a59d into master Oct 7, 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.

1 participant