Files
tp2-vsl-pds/tests/aLaMain.vsl

17 lines
337 B
Plaintext

PROTO INT add(x,y)
FUNC INT main(x,y) {
INT a,b,c
b:=3
c:=1
PRINT "coucou, tu peux réparer le visitPrint dans LLVM stp","il manque virgule au milieu", c*5+b
WHILE b - 1
DO{
b := b - 1
c := c + 1
}
DONE
IF c -1
THEN READ a ELSE READ b
FI
b:=c+1
RETURN 4 + 6 * 5 + 2 }