Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 271 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 271 Bytes

Litsu

A statically-typed functional language that is transpiled into POSIX sh.

Example

(* fib.lit *)
let rec fib n =
  if n <= 1 then
    n
  else
    fib (n - 1) + fib (n - 2)
in fib 10
$ litc fib.lit | sh
55

Build

$ dotnet build