Skip to content

Add Benoit — a token-efficient transpile-to-JS language with inline test assertions#497

Merged
ChessMax merged 1 commit intoChessMax:masterfrom
SanTiepi:master
Mar 12, 2026
Merged

Add Benoit — a token-efficient transpile-to-JS language with inline test assertions#497
ChessMax merged 1 commit intoChessMax:masterfrom
SanTiepi:master

Conversation

@SanTiepi
Copy link
Contributor

@SanTiepi SanTiepi commented Mar 8, 2026

Add Benoit

Benoit is a programming language that transpiles to JavaScript, optimized for human-AI pair programming.

Key features:

  • Inline test assertions as first-class syntax — tests live next to the function, no framework needed
  • Pattern matching with guards and ranges
  • Pipe operator
  • ~68% token reduction vs equivalent JavaScript
  • ~500 line single-file transpiler, zero dependencies
  • MIT licensed, 46 tests passing

Named after Benoît Fragnière, who loved science.

npm: npm install benoit

@ChessMax ChessMax merged commit 731e6f8 into ChessMax:master Mar 12, 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.

2 participants