AI development/GitHub/Agent
sakuralang
by icantcodefyi·Last observed 2026-10-26
★ 4 stars⑂ 0 forks
Sakura Lang is an agent-first programming language with a compiler targeting JavaScript and WebAssembly. Function signatures declare effects, errors, and contracts; the compiler checks types and effects, checks contracts at runtime, and can use an SMT solver to attempt proofs. The 0.1.0 release is a preview without a stable language or API contract.
Useful for
- Build a JavaScript or WebAssembly program whose functions make required effects, failure cases, and runtime guarantees explicit for review.
Key features
- The compiler rejects callers that fail to handle declared effects or typed errors, or to declare them in their own signatures.
- Contracts are checked at runtime, and `sakura verify` uses Z3, with optional cvc5 cross-checking, to attempt proofs and report counterexamples for failures.
- The CLI can scaffold a project, check it, run it, and run its tests; setup can add a skill and MCP entry for supported coding agents.
Requirements & limitations
- The 0.1.0 release is a published preview and has no stable language or API contract; running and testing programs requires Node 26.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.