All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Vera: A programming language designed for LLMs with compile-time verification and no variable names

By

unignorant

1mo ago· 8 min readenCode

Summary

Vera is a novel programming language specifically designed for large language models (LLMs) to write. It eliminates variable names in favor of numbered bindings (@Int.0, @Int.1), enforces preconditions via requires clauses checked at compile time, and uses ensures clauses with SMT solver verification for postconditions. Functions are pure with no side effects. The language compiles to WebAssembly and can run at the command line or in the browser. The name derives from Latin veritas (truth), emphasizing correctness and verifiability.

Key quotes

· 5 pulled
Vera (v-ERR-a) is a programming language designed for large language models to write.
There are no variable names. @Int.0 is the most recent Int binding; @Int.1 is the one before.
The requires clause is a precondition the compiler checks at every call site. The ensures clause is a postcondition the SMT solver proves statically.
The function is pure — no side effects of any kind. If any of this is wrong, the code does not compile.
The name comes from the Latin veritas (truth).
Snippet from the RSS feed
Vera: a programming language designed for LLMs to write - aallan/vera

You might also wanna read