Pyro is a dynamically-typed, garbage-collected scripting language implemented in C. Think Python if Guido had been a fan of lexical-scoping, curly braces, and semicolons.
def fib(n) {
if n < 2 {
return n;
}
return fib(n - 1) + fib(n - 2);
}
Pyro is an experimental language that's still under development — you should only write the control code for your pacemaker/anti-ballistic missile defence system in it if you're feeling particularly adventurous.
Zero-Clause BSD (0BSD).