SuperScript Language
SuperScript
compiled into js
like TypeScript
sub a b -> euclid {
while b != 0 {
if a > b a - b -> a
else b - a -> b
}
return a
}
subroutine call 4 24 -> euclid
sub main {
in -> a b -> euclid -> out
// combined input output
}
Comments
Post a Comment