Pluvial 0.5.0 — now available

Pluvial

Start simple, go far.

rainfall.plu
try the easter eggs…

What is Pluvial?

Pluvial is a statically typed, compiled programming language. Source code is compiled to bytecode, which runs on a lightweight virtual machine written in C. It is designed to be simple to learn, easy to read, and fast to run.

Playground

See it in action

hello.plu
# your first Pluvial programprint("Hello, world!")#=> Hello, world!
greet.plu
def greet(string name) string {  return "Hi, " + name + "!"}auto msg = greet("Ada")print(msg)   #=> Hi, Ada!
numbers.plu
auto nums = [1, 2, 3, 4, 5]auto evens = nums.filter((n) => n % 2 == 0)auto doubled = evens.map((n) => n * 2)print(doubled)   #=> [4, 8]
point.plu
# tuples bundle a few valuesauto point = (3, 5)auto (x, y) = pointprint(x + y)   #=> 8