This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap/tests/02-Interpreter/60-while-03.eval.hopix
2023-10-25 15:16:53 +02:00

1 line
No EOL
5.1 KiB
Text

(((value(DefineValue(SimpleValue(((value(Id test))(position((start_p(""1 0 4))(end_p(""1 0 8)))))()((value(Define(SimpleValue(((value(Id x))(position((start_p(""2 11 19))(end_p(""2 11 20)))))()((value(Ref((value(Literal((value(LInt 5))(position((start_p(""2 11 27))(end_p(""2 11 28)))))))(position((start_p(""2 11 27))(end_p(""2 11 28)))))))(position((start_p(""2 11 23))(end_p(""2 11 28)))))))((value(Define(SimpleValue(((value(Id y))(position((start_p(""3 30 38))(end_p(""3 30 39)))))()((value(Ref((value(Literal((value(LInt 0))(position((start_p(""3 30 46))(end_p(""3 30 47)))))))(position((start_p(""3 30 46))(end_p(""3 30 47)))))))(position((start_p(""3 30 42))(end_p(""3 30 47)))))))((value(Define(SimpleValue(((value(Id z))(position((start_p(""4 49 57))(end_p(""4 49 58)))))()((value(Ref((value(Literal((value(LInt 5))(position((start_p(""4 49 65))(end_p(""4 49 66)))))))(position((start_p(""4 49 65))(end_p(""4 49 66)))))))(position((start_p(""4 49 61))(end_p(""4 49 66)))))))((value(Sequence(((value(While((value(Apply((value(Apply((value(Variable((value(Id `<?`))(position((start_p(""5 68 82))(end_p(""5 68 84)))))()))(position((start_p(""5 68 82))(end_p(""5 68 84)))))((value(Read((value(Variable((value(Id x))(position((start_p(""5 68 80))(end_p(""5 68 81)))))()))(position((start_p(""5 68 80))(end_p(""5 68 81)))))))(position((start_p(""5 68 79))(end_p(""5 68 81)))))))(position((start_p(""5 68 79))(end_p(""5 68 81)))))((value(Literal((value(LInt 0))(position((start_p(""5 68 85))(end_p(""5 68 86)))))))(position((start_p(""5 68 85))(end_p(""5 68 86)))))))(position((start_p(""5 68 79))(end_p(""5 68 86)))))((value(Sequence(((value(Assign((value(Variable((value(Id x))(position((start_p(""6 90 96))(end_p(""6 90 97)))))()))(position((start_p(""6 90 96))(end_p(""6 90 97)))))((value(Apply((value(Apply((value(Variable((value(Id `-`))(position((start_p(""6 90 104))(end_p(""6 90 105)))))()))(position((start_p(""6 90 104))(end_p(""6 90 105)))))((value(Read((value(Variable((value(Id x))(position((start_p(""6 90 102))(end_p(""6 90 103)))))()))(position((start_p(""6 90 102))(end_p(""6 90 103)))))))(position((start_p(""6 90 101))(end_p(""6 90 103)))))))(position((start_p(""6 90 101))(end_p(""6 90 103)))))((value(Literal((value(LInt 1))(position((start_p(""6 90 106))(end_p(""6 90 107)))))))(position((start_p(""6 90 106))(end_p(""6 90 107)))))))(position((start_p(""6 90 101))(end_p(""6 90 107)))))))(position((start_p(""6 90 96))(end_p(""6 90 107)))))((value(Assign((value(Variable((value(Id y))(position((start_p(""7 109 115))(end_p(""7 109 116)))))()))(position((start_p(""7 109 115))(end_p(""7 109 116)))))((value(Apply((value(Apply((value(Variable((value(Id `+`))(position((start_p(""7 109 123))(end_p(""7 109 124)))))()))(position((start_p(""7 109 123))(end_p(""7 109 124)))))((value(Read((value(Variable((value(Id y))(position((start_p(""7 109 121))(end_p(""7 109 122)))))()))(position((start_p(""7 109 121))(end_p(""7 109 122)))))))(position((start_p(""7 109 120))(end_p(""7 109 122)))))))(position((start_p(""7 109 120))(end_p(""7 109 122)))))((value(Literal((value(LInt 1))(position((start_p(""7 109 125))(end_p(""7 109 126)))))))(position((start_p(""7 109 125))(end_p(""7 109 126)))))))(position((start_p(""7 109 120))(end_p(""7 109 126)))))))(position((start_p(""7 109 115))(end_p(""7 109 126))))))))(position((start_p(""6 90 96))(end_p(""7 109 126)))))))(position((start_p(""5 68 72))(end_p(""8 127 132)))))((value(IfThenElse((value(Apply((value(Apply((value(Variable((value(Id `=?`))(position((start_p(""9 134 145))(end_p(""9 134 147)))))()))(position((start_p(""9 134 145))(end_p(""9 134 147)))))((value(Read((value(Variable((value(Id x))(position((start_p(""9 134 143))(end_p(""9 134 144)))))()))(position((start_p(""9 134 143))(end_p(""9 134 144)))))))(position((start_p(""9 134 142))(end_p(""9 134 144)))))))(position((start_p(""9 134 142))(end_p(""9 134 144)))))((value(Literal((value(LInt 5))(position((start_p(""9 134 148))(end_p(""9 134 149)))))))(position((start_p(""9 134 148))(end_p(""9 134 149)))))))(position((start_p(""9 134 141))(end_p(""9 134 150)))))((value(Apply((value(Variable((value(Id print_string))(position((start_p(""10 158 164))(end_p(""10 158 176)))))()))(position((start_p(""10 158 164))(end_p(""10 158 176)))))((value(Literal((value(LString"This test is OK!\n"))(position((start_p(""10 158 197))(end_p(""10 158 198)))))))(position((start_p(""10 158 177))(end_p(""10 158 199)))))))(position((start_p(""10 158 164))(end_p(""10 158 199)))))((value(Apply((value(Variable((value(Id print_string))(position((start_p(""12 213 219))(end_p(""12 213 231)))))()))(position((start_p(""12 213 219))(end_p(""12 213 231)))))((value(Literal((value(LString"This is KO!\n"))(position((start_p(""12 213 247))(end_p(""12 213 248)))))))(position((start_p(""12 213 232))(end_p(""12 213 249)))))))(position((start_p(""12 213 219))(end_p(""12 213 249)))))))(position((start_p(""9 134 138))(end_p(""13 250 255))))))))(position((start_p(""5 68 72))(end_p(""13 250 255)))))))(position((start_p(""4 49 53))(end_p(""13 250 255)))))))(position((start_p(""3 30 34))(end_p(""13 250 255)))))))(position((start_p(""2 11 15))(end_p(""13 250 255)))))))))(position((start_p(""1 0 0))(end_p(""13 250 255))))))