Overview
Pyr is a programming language based on Python.
Features
- Static type checking
- Can be interpreted
- Can be compiled into a native object file (using LLVM)
Quick Start
Pyr is written in Rust. To compile Pyr you need to have a Rust compiler and LLVM version 14.0.x.
To compile Pyr:
cargo build --release
To interpret a Pyr program:
pyr run foo.pyr
To compile a Pyr program:
pyr compile foo.pyr
clang foo.o -o foo
Turing Completeness
We have proved a Turing Completeness for Pyr by implementing Rule 110 which you can see here.
License
Pyr is under the license of Apache-2.0.