Pluvial
Start simple, go far.
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
# your first Pluvial programprint("Hello, world!")#=> Hello, world!
def greet(string name) string { return "Hi, " + name + "!"}auto msg = greet("Ada")print(msg) #=> Hi, Ada!
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]
# tuples bundle a few valuesauto point = (3, 5)auto (x, y) = pointprint(x + y) #=> 8