Compact syntax
Functions, blocks, objects, arrays, pattern bodies, and match expressions share a small expression-first model.
Parse, check, interpret, compile to Go, and emit TypeScript from a compact language surface.
Rune is an expression-oriented language toolchain written in Go. It parses and checks Rune source, lowers it to a shared IR, and can interpret it, compile it to Go, or emit TypeScript for DOM-style programs.
add(a: Int, b: Int) -> Int => a + b
main() => {
@io.println(add(1, 2))
}The language keeps the surface small: functions map parameters to expressions, blocks return their final expression, data is represented with arrays and record-like objects, and control flow is built from match expressions, pattern bodies, ternary expressions, and ordinary function calls.
Chinese documentation is available at 简体中文.