Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Almide

< >

Almide is an open source programming language created in 2026.

#1494on PLDB 0Years Old
Download source code:
git clone https://github.com/almide/almide
Homepage · REPL · Source Code · Docs

Almide is a statically typed programming language for code that AI agents write and edit. The compiler checks safety: it infers ownership, so neither people nor agents write it, and its diagnostics name the fix. One source compiles to native binaries through Rust and directly to WebAssembly, and every WebAssembly build writes out evidence of what the compiler did, which a separate program checks before the output file is written.


Example from the web:
type Order = { id: Int, items: List[String], total: Int } fn large(orders: List[Order]) -> List[Order] = orders |> list.filter((o) => o.total > 500) fn main() -> Unit = { let orders: List[Order] = [ { id: 1, items: ["pen", "ink"], total: 260 }, { id: 2, items: ["desk"], total: 900 }, ] let big = large(orders) println("${list.len(orders)} orders, ${list.len(big)} large") for o in orders { println("${o.id}: ${list.join(o.items, ", ")}") } }

Language features

Feature Supported Example Token
hasForEachLoops ✓ for o in orders { println("${o.id}") }
Conditionals ✓ fn sign(n: Int) -> String = if n < 0 then "negative" else "non-negative"
Lists ✓ let words = ["a", "b"]
Pipes ✓ orders |> list.filter((o) => o.total > 500)
Pattern Matching ✓ fn area(s: Shape) -> Float = match s { Circle(r) => 3.14159 * r * r, Rectangle(w, h) => w * h, }
Algebraic Data Type ✓ type Shape = | Circle(Float) | Rectangle(Float, Float)
Generics ✓ fn first[T](xs: List[T], fallback: T) -> T = match list.get(xs, 0) { some(x) => x, none => fallback, }
Anonymous Functions ✓ [1, 2, 3] |> list.map((n) => n * 2)
Functions ✓ fn square(x: Int) -> Int = x * x
Type Inference ✓ let words = ["a", "b"]
Static Typing ✓
Booleans ✓ let ready = true true false
Floats ✓ let ratio = 0.75
Integers ✓ let count = 3
File Imports ✓ import fs
Strings ✓ "Hello, world!" "
Print() Debugging ✓ println("Hello, world!") println
MultiLine Comments ✓ /* A comment over two lines. */ /* */
Line Comments ✓ // A comment runs to the end of the line. //
Comments ✓ // A comment runs to the end of the line.

- Build the next great programming language · Add · Add Prompt · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Theme: System

Built with Scroll v180.0.1