Skip to content

Make the BendRT opening program check again and rebuild its PDF - #1382

Merged
nicolas-abril merged 1 commit into
bendlang:mainfrom
oxura:fix/bendrt-opening-example
Oct 7, 2026
Merged

nicolas-abril merged 1 commit into
bendlang:mainfrom
oxura:fix/bendrt-opening-example

Conversation

@oxura

@oxura oxura commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Fixes #1308.

The opening BendRT program now annotates its three arithmetic expressions with U32, as current operator syntax requires. Rebuilt paper/BendRT.pdf from the corrected Typst source using Typst 0.15.1 with Libertinus Serif and DejaVu Sans Mono; inspected the rendered first page. No other paper examples or language/compiler code changed.

Verification on Linux x86-64 at main f76c251a:

  • Extracted the first Bend source block into a throwaway file: --check-only reports ALL PROOFS CHECK.
  • Actual CLI IO execution and emitted JS on Bun 1.3.13 / Node 22.23.1 each print exactly 4294443008.
  • PDF rebuild succeeds without warnings and embeds the requested fonts.

No physical GPU execution was performed; the runtime checks above are the JS IO lane, not the source pure interpreter. No gate/cap, CHANGELOG or GUIDE changes.

@nicolas-abril
nicolas-abril merged commit 05c123a into bendlang:main Oct 7, 2026
1 check passed
@Lorenzobattistela Lorenzobattistela mentioned this pull request Oct 13, 2026
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.

Documentation bug: The BendRT paper’s opening example fails type checking

2 participants