Skip to content
HN On Hacker News ↗

GitHub - Millillion/lasm: Lean for JavaScript and WebAssembly runtimes

▲ 38 points • 22 comments • by lastmjs • 7d ago • HN discussion ↗

Pangram verdict · v3.3

We believe this text is mainly AI, with some human-written content.

96 %

AI likelihood · overall

AI
4% human-written 96% AI-generated
SEGMENTS · HUMAN 0 of 3
SEGMENTS · AI 3 of 3
WORD COUNT 142
PEAK AI % 100% · §1
Analyzed
Oct 30
backend: pangram/v3.3
Segments scanned
3 windows
avg 47 words each
Distribution
4 / 96%
human / AI fraction
Verdict
AI
Pangram v3.3

Article text · 142 words · 3 segments analyzed

Human AI-generated
§1 AI · 100%

Lean 4 for the JavaScript and WebAssembly world.

§2 AI · 100%

Lasm compiles ordinary Lean 4 programs ahead of time to WebAssembly. One Lean code base can become a Node server, a serverless or edge function, a WASI/Fastly module or a browser app. Because it is Lean, you can prove properties of the code you deploy. The flagship example, Conduit, is the RealWorld app with 117 proved theorems. Lasm ships on npm and brings Lean, Lake and its build tools with it; you only need Node (or Bun or Deno). npm create @lasm@latest my-app -- --template hono # then: cd my-app && npm install && npm run dev AI agents: this README is complete on its own. llms.txt is the short index, and docs/AI.md lists the rules that save you from wrong turns.

§3 AI · 100%

If Lasm is useful to you, I'd appreciate your sponsorship (more below).