Files
tp2-vsl-pds/tests/aLaMain.vsl
Vu Tuan Minh 3b2314c236 add check type
2025-04-24 06:07:25 +02:00

17 lines
334 B
Plaintext

PROTO INT add(x,y)
FUNC INT main() {
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 }