change name to LLVM

This commit is contained in:
Vu Tuan Minh
2025-04-28 06:43:58 +02:00
parent 3b36c75dae
commit 4a48ee286b
2 changed files with 11 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
PROTO INT add()
PROTO INT add(a,b)
FUNC INT add() {
FUNC INT add(a,b) {
INT z
z := 1
z := a+b
RETURN z
}
@@ -11,7 +11,7 @@ FUNC INT main(x,y) {
x := 5
minh := x * y
b:=3
c:=add()
c:=add(x,b)
PRINT "coucou, tu peux réparer le visitPrint dans LLVM stp","il manque virgule au milieu", c*5+b
WHILE b - 1
DO{