Releases: RedmanPlus/pyro
Releases · RedmanPlus/pyro
0.1.0
What's in this release:
This first alpha release is a little demonstration of the compiled python capabilities provided by pyro. It encapsulates all of the basic language features prepared for 0.1.0 alpha, comes with the binary testing framework, basic CLI for working with your own projects, and most of the ground work for the future developments (e.g. compiled-time optimizations, better error reporting and other language features)
What syntax is allowed in pyro 0.1.0 alpha?
In 0.1.0 alpha you can:
- Declare variables
x = 1
a, b = 2, 3- Do math
x = 2 + 3
y = x * (2 + 2 * 2)
z = y * 5 - x
x *= z- Use if statements and logical operations
x = 10
if x > 0:
x *= 5
elif x == 0:
x = 5
else:
x = 1- Use while loops
x = 1
y = 10
count = 0
while x < y:
x *= 2
count += 1Beware that the print instruction is not implemented in the language yet, so to check the output - compile with the -d or --debug flag to add stack print at the end of the execution
Full Changelog: https://github.com/RedmanPlus/pyro/commits/0.1.0