Welcome
Pyre is an expression-oriented, Pythonic language. It allows concise, readable programming:
let factorial = def (n)
if n.equals(1)
1
else
n.mul(factorial(n.sub(1)))
Install
To install, clone the repo and run:
python3 setup.py install
Then just run ipyre
to get started!
The current state of Pyre
What is done:
- While loops
- Error handling (all errors)
- Function defitions and calls
- Attribute access
- Variable assignment and scoping
- Blocks, return and break
- For loops
There is still quite a bit to do though: (I'd be grateful for your help :)
- Generators
- Error handling (specific errors)
- Immutable and mutable variable modifiers
- Most of the Pyre object space
- Most of the Pyre standard library
- Making fundamental types available in Pyre
- Python interop