plum

#treesitter#compiler#wasm

git clone https://git.pyrossh.dev/plum

A statically typed, imperative programming language inspired by rust, python


examples/strings.plum
fun greet(name: Str) -> Str =
  "Hello, {name}!"

fun report(count: Int, total: Int) -> Str =
  "{count} of {total} complete"

fun empty() -> Str =
  ""

fun escaped() -> Str =
  "line one\nline two\ttabbed \"quoted\""