concurnas is a programming language created in 2018.
#1832on PLDB | 6Years Old |
def gcd(x int, y int){//greatest common divisor of two integers
while(y){
(x, y) = (y, x mod y)
}
x
}
calc1 = gcd(8, 20)!//run this calculation in a isolate
calc2 = gcd(6, 45)!//run this calculation in a separate isolate
calc3 = calc1 if calc1 > calc2 else calc2
//^^^ wait for the results of calc1 and calc2 before assigning calc3
System.out.println("Hello World")
Feature | Supported | Example | Token |
---|---|---|---|
Strings | ✓ | "Hello world" | " |
Print() Debugging | ✓ | System.out.println |