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/58-while-01.eval.hopix

1 line
4.7 KiB
Text
Raw Permalink Normal View History

2023-10-25 15:16:53 +02:00
(((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(Sequence(((value(While((value(Apply((value(Apply((value(Variable((value(Id `>?`))(position((start_p(""4 49 63))(end_p(""4 49 65)))))()))(position((start_p(""4 49 63))(end_p(""4 49 65)))))((value(Read((value(Variable((value(Id x))(position((start_p(""4 49 61))(end_p(""4 49 62)))))()))(position((start_p(""4 49 61))(end_p(""4 49 62)))))))(position((start_p(""4 49 60))(end_p(""4 49 62)))))))(position((start_p(""4 49 60))(end_p(""4 49 62)))))((value(Literal((value(LInt 0))(position((start_p(""4 49 66))(end_p(""4 49 67)))))))(position((start_p(""4 49 66))(end_p(""4 49 67)))))))(position((start_p(""4 49 60))(end_p(""4 49 67)))))((value(Sequence(((value(Assign((value(Variable((value(Id x))(position((start_p(""5 71 77))(end_p(""5 71 78)))))()))(position((start_p(""5 71 77))(end_p(""5 71 78)))))((value(Apply((value(Apply((value(Variable((value(Id `-`))(position((start_p(""5 71 85))(end_p(""5 71 86)))))()))(position((start_p(""5 71 85))(end_p(""5 71 86)))))((value(Read((value(Variable((value(Id x))(position((start_p(""5 71 83))(end_p(""5 71 84)))))()))(position((start_p(""5 71 83))(end_p(""5 71 84)))))))(position((start_p(""5 71 82))(end_p(""5 71 84)))))))(position((start_p(""5 71 82))(end_p(""5 71 84)))))((value(Literal((value(LInt 1))(position((start_p(""5 71 87))(end_p(""5 71 88)))))))(position((start_p(""5 71 87))(end_p(""5 71 88)))))))(position((start_p(""5 71 82))(end_p(""5 71 88)))))))(position((start_p(""5 71 77))(end_p(""5 71 88)))))((value(Assign((value(Variable((value(Id y))(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 y))(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))))))))(position((start_p(""5 71 77))(end_p(""6 90 107)))))))(position((start_p(""4 49 53))(end_p(""7 108 113)))))((value(IfThenElse((value(Apply((value(Apply((value(Variable((value(Id `=?`))(position((start_p(""8 115 126))(end_p(""8 115 128)))))()))(position((start_p(""8 115 126))(end_p(""8 115 128)))))((value(Read((value(Variable((value(Id y))(position((start_p(""8 115 124))(end_p(""8 115 125)))))()))(position((start_p(""8 115 124))(end_p(""8 115 125)))))))(position((start_p(""8 115 123))(end_p(""8 115 125)))))))(position((start_p(""8 115 123))(end_p(""8 115 125)))))((value(Literal((value(LInt 5))(position((start_p(""8 115 129))(end_p(""8 115 130)))))))(position((start_p(""8 115 129))(end_p(""8 115 130)))))))(position((start_p(""8 115 122))(end_p(""8 115 131)))))((value(Apply((value(Variable((value(Id print_string))(position((start_p(""9 139 145))(end_p(""9 139 157)))))()))(position((start_p(""9 139 145))(end_p(""9 139 157)))))((value(Literal((value(LString"This test is OK!\n"))(position((start_p(""9 139 178))(end_p(""9 139 179)))))))(position((start_p(""9 139 158))(end_p(""9 139 180)))))))(position(