My new transpiler for YASS to Python is coming along very well. After only about 3 hours of development, I have managed to get a program like this:
YASS
function doIt($x)
for($i = $x to 100)
print("Running in a function")
end for
end function
doIt(10)
for ($i = 0; $i < 2 * 3; 2)
print("Hello", "world")
end for
$z = 9
if($z > 10 || $z < 20)
print("Yes")
else
print("No")
end if
$x = 10 + 5 / 3
print($x)
To transpile to:
Python
def doIt(x):
for i in range(x, 100):
print ("Running in a function")
doIt(10)
for i in range(0, 2 * 3, 2):
print ("Hello", "world")
z = 9
if z > 10 or z < 20:
print ("Yes")
else:
print("No")
x = 10 + 5 / 3
print (x)
This is the first big announcement related to this new transpiler, which will be available very soon at this rate.
Posted in ZPE Programming Environment

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you. The system temporarily stores IP addresses and browser user agents for the purposes of spam prevention, moderation, and safeguarding. This data is automatically removed after fourteen days.
Comments powered by BalfComment