Pyro

A scripting language for people who enjoy the simpler things in life.

Version 0.8.0

Home


Pyro is a dynamically-typed, garbage-collected scripting language implemented in C. This means that it lives in roughly the same neighbourhood in programming language space as languages like Python or Ruby.

def fib(n) {
    if n < 2 {
        return n;
    }
    return fib(n - 1) + fib(n - 2);
}

Pyro is a classic braces-and-semicolons language. If you've used any C-family language before you should find it instantly intuitive.

Getting Started

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.

Design Goals

Source

You can find Pyro's source code on Github.

Status

Pyro is an experimental project I'm working on mostly for my own edutainment. It may graduate to being a practical programming language some day but it isn't suitable yet for real world use — the standard library is too sparse and the language itself is under development and subject to arbitrary change.

If you do decide to try Pyro out, your feedback would be very welcome!

In particular, the Pyro binary should build cleanly from source without any compiler warnings. If you do get compiler warnings when building Pyro, please let me know by opening an issue on Github and pasting in the compiler output.

License

Zero-Clause BSD (0BSD).