Skip to content
CAI
Produce a survey ↗Verify a survey

HigherOrderCO/Bend

Bend is a compiler and runtime system for the Bend language, designed to translate high-level functional and imperative code into an intermediate net representation for execution. It provides a complete toolchain including a parser, static analysis, and multiple optimization passes that transform user code into an efficient, normalized form. The system supports a rich standard library, module imports, and pattern matching, while enforcing strict type and scope checks to prevent common errors. Its architecture is built around a core library for AST and net manipulation, with extensive golden testing to ensure correctness across compilation, execution, and error handling.

68.9

Adequate · 3 August 2026

15k

lines of production code

Rust

primary language

2

bus factor · 52 authors in all

2

measurements over time

CAI band scale
CAI trend line

How it got here

2023 · Bend migration and CLI overhaul

This period focused on migrating the codebase to the 'bend-lang' project, replacing the legacy AST and parser modules with hvm-core types and an internal net representation. The work also included a comprehensive CLI restructuring and the addition of golden tests to ensure compiler stability.

9 changes

2024 · Language feature expansion and test coverage

This period focused on expanding the Bend language's capabilities by introducing a standard library, an import system, and advanced AST transformation passes for pattern matching and recursion. These features were supported by a comprehensive suite of golden tests and static analysis checks to ensure correctness across the compiler pipeline.

20 changes

CAI lens gauges

Survey your own repository

HigherOrderCO/Bend was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 814453670d — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards