Files
tp2-vsl-pds/tests/aLaMain.vsl
Vu Tuan Minh 49c4382343 fix prototype
2025-04-26 22:05:05 +02:00

19 lines
371 B
Plaintext

PROTO INT add(x,y)
FUNC INT main(x,y) {
INT a,b,c,minh
x := 5
minh := x * y
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 }