Better build logs, typed SQL and a playable proof example.
Why you’re getting thisYou’re subscribed to Weekly Bend news and projects, the newsletter from
Built with Bend. One weekly email about the language and its community. Not for you?
Unsubscribe anytime.
Bend, once a week · #3 · 2026-11-24
Find the failing line in an imported module
A failed build used to give you a definition name and an underlined token, leaving you to hunt for the file. This week’s compiler changes shorten that trip. They landed after stable 2.0.40; if you use the release binary, don’t expect its output to match yet.
Bend dev news
- Jump from log to source - CLI errors now end with the source path, line and column. A broken import points to the statement in the importing file; batch checkup output keeps its existing format.
- Trust the filename for ~ parameters - A follow-up fixes a misleading location: the caret could underline your own code while the path sent you to base.bend instead.
- Load Bend modules from Node - On Node 24.15.0, default TypeScript stripping rejected the loader before it reached the Bend code. The fix removes the need to transform two constructor parameter properties.
- Build the emitted C - The README walks through compiling a generated C file, including how to link a foreign library and why macOS architecture and deployment flags matter when sharing a binary.
Five builds to explore
- Reserve stock without breaking a law - Compare five general properties with five fixed examples, then see what each catches when the reservation function is deliberately broken.
- Play Freecell in the terminal - The card rules also drive a beam-search solver. A Python reference helped the author catch disagreements about legal moves, board by board.
- Trace a browser bundle - This experiment starts from the 2.0.40 loader and tests how much unused Bend code a page carries when it imports a module.
- Check SQL offline - Generate typed Bend functions from queries and a schema. Checking needs no live database; applying numbered migrations does.
- Edit Bend 2 in Zed - Install this unofficial extension locally for highlighting and language-server diagnostics. The registry extension named Bend targets the older syntax.
1 tweet about Bend
- Rasul
Share the newsletter
Know someone curious about Bend? Forward them this email, or share the signup page so they can get the next issue.
Independent directory. Not affiliated with the Bend team.