Oden is an experimental, statically typed, functional programming language, built on top of Go.

Features

  • Static type system with generics
  • Unambigous S-expression syntax
  • Expressions instead of statements
  • Simple interoperability with Go
  • From Go:
    • Static linking
    • Cross-compilation
    • Goroutines
    • Channels
    • Library Ecosystem
(pkg fibonacci)

(def (fib n)
  (if (== n 1)
    0
    (if (== n 2)
      1
      (+ (fib (- n 1))
         (fib (- n 2))))))