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/70-tree.eval.hopix
2023-10-25 15:16:53 +02:00

1 line
No EOL
7.7 KiB
Text

(((value(DefineValue(RecFunctions((((value(Id make))(position((start_p(""1 0 4))(end_p(""1 0 8)))))()(FunctionDefinition((value(PVariable((value(Id n))(position((start_p(""1 0 10))(end_p(""1 0 11)))))))(position((start_p(""1 0 9))(end_p(""1 0 12)))))((value(IfThenElse((value(Apply((value(Apply((value(Variable((value(Id `=?`))(position((start_p(""2 15 25))(end_p(""2 15 27)))))()))(position((start_p(""2 15 25))(end_p(""2 15 27)))))((value(Variable((value(Id n))(position((start_p(""2 15 23))(end_p(""2 15 24)))))()))(position((start_p(""2 15 23))(end_p(""2 15 24)))))))(position((start_p(""2 15 23))(end_p(""2 15 24)))))((value(Literal((value(LInt 0))(position((start_p(""2 15 28))(end_p(""2 15 29)))))))(position((start_p(""2 15 28))(end_p(""2 15 29)))))))(position((start_p(""2 15 22))(end_p(""2 15 30)))))((value(Tagged((value(KId Leaf))(position((start_p(""2 15 38))(end_p(""2 15 42)))))()()))(position((start_p(""2 15 38))(end_p(""2 15 42)))))((value(Tagged((value(KId Node))(position((start_p(""2 15 52))(end_p(""2 15 56)))))()(((value(Apply((value(Variable((value(Id make))(position((start_p(""2 15 58))(end_p(""2 15 62)))))()))(position((start_p(""2 15 58))(end_p(""2 15 62)))))((value(Apply((value(Apply((value(Variable((value(Id `-`))(position((start_p(""2 15 66))(end_p(""2 15 67)))))()))(position((start_p(""2 15 66))(end_p(""2 15 67)))))((value(Variable((value(Id n))(position((start_p(""2 15 64))(end_p(""2 15 65)))))()))(position((start_p(""2 15 64))(end_p(""2 15 65)))))))(position((start_p(""2 15 64))(end_p(""2 15 65)))))((value(Literal((value(LInt 1))(position((start_p(""2 15 68))(end_p(""2 15 69)))))))(position((start_p(""2 15 68))(end_p(""2 15 69)))))))(position((start_p(""2 15 63))(end_p(""2 15 70)))))))(position((start_p(""2 15 58))(end_p(""2 15 70)))))((value(Apply((value(Variable((value(Id make))(position((start_p(""2 15 72))(end_p(""2 15 76)))))()))(position((start_p(""2 15 72))(end_p(""2 15 76)))))((value(Apply((value(Apply((value(Variable((value(Id `-`))(position((start_p(""2 15 80))(end_p(""2 15 81)))))()))(position((start_p(""2 15 80))(end_p(""2 15 81)))))((value(Variable((value(Id n))(position((start_p(""2 15 78))(end_p(""2 15 79)))))()))(position((start_p(""2 15 78))(end_p(""2 15 79)))))))(position((start_p(""2 15 78))(end_p(""2 15 79)))))((value(Literal((value(LInt 1))(position((start_p(""2 15 82))(end_p(""2 15 83)))))))(position((start_p(""2 15 82))(end_p(""2 15 83)))))))(position((start_p(""2 15 77))(end_p(""2 15 84)))))))(position((start_p(""2 15 72))(end_p(""2 15 84))))))))(position((start_p(""2 15 52))(end_p(""2 15 85)))))))(position((start_p(""2 15 19))(end_p(""2 15 87)))))))))))(position((start_p(""1 0 0))(end_p(""2 15 87)))))((value(DefineValue(RecFunctions((((value(Id count))(position((start_p(""4 89 93))(end_p(""4 89 98)))))()(FunctionDefinition((value(PTuple(((value(PVariable((value(Id accu))(position((start_p(""4 89 100))(end_p(""4 89 104)))))))(position((start_p(""4 89 100))(end_p(""4 89 104)))))((value(PVariable((value(Id t))(position((start_p(""4 89 106))(end_p(""4 89 107)))))))(position((start_p(""4 89 106))(end_p(""4 89 107))))))))(position((start_p(""4 89 99))(end_p(""4 89 108)))))((value(Case((value(Variable((value(Id t))(position((start_p(""5 111 122))(end_p(""5 111 123)))))()))(position((start_p(""5 111 122))(end_p(""5 111 123)))))(((value(Branch((value(PTaggedValue((value(KId Leaf))(position((start_p(""6 127 133))(end_p(""6 127 137)))))()()))(position((start_p(""6 127 133))(end_p(""6 127 137)))))((value(Apply((value(Apply((value(Variable((value(Id `+`))(position((start_p(""6 127 143))(end_p(""6 127 144)))))()))(position((start_p(""6 127 143))(end_p(""6 127 144)))))((value(Literal((value(LInt 1))(position((start_p(""6 127 141))(end_p(""6 127 142)))))))(position((start_p(""6 127 141))(end_p(""6 127 142)))))))(position((start_p(""6 127 141))(end_p(""6 127 142)))))((value(Variable((value(Id accu))(position((start_p(""6 127 145))(end_p(""6 127 149)))))()))(position((start_p(""6 127 145))(end_p(""6 127 149)))))))(position((start_p(""6 127 141))(end_p(""6 127 149)))))))(position((start_p(""6 127 133))(end_p(""6 127 149)))))((value(Branch((value(PTaggedValue((value(KId Node))(position((start_p(""7 150 156))(end_p(""7 150 160)))))()(((value(PVariable((value(Id l))(position((start_p(""7 150 162))(end_p(""7 150 163)))))))(position((start_p(""7 150 162))(end_p(""7 150 163)))))((value(PVariable((value(Id r))(position((start_p(""7 150 165))(end_p(""7 150 166)))))))(position((start_p(""7 150 165))(end_p(""7 150 166))))))))(position((start_p(""7 150 156))(end_p(""7 150 167)))))((value(Apply((value(Variable((value(Id count))(position((start_p(""7 150 171))(end_p(""7 150 176)))))()))(position((start_p(""7 150 171))(end_p(""7 150 176)))))((value(Tuple(((value(Apply((value(Variable((value(Id count))(position((start_p(""7 150 178))(end_p(""7 150 183)))))()))(position((start_p(""7 150 178))(end_p(""7 150 183)))))((value(Tuple(((value(Variable((value(Id accu))(position((start_p(""7 150 185))(end_p(""7 150 189)))))()))(position((start_p(""7 150 185))(end_p(""7 150 189)))))((value(Variable((value(Id l))(position((start_p(""7 150 191))(end_p(""7 150 192)))))()))(position((start_p(""7 150 191))(end_p(""7 150 192))))))))(position((start_p(""7 150 184))(end_p(""7 150 193)))))))(position((start_p(""7 150 178))(end_p(""7 150 193)))))((value(Variable((value(Id r))(position((start_p(""7 150 195))(end_p(""7 150 196)))))()))(position((start_p(""7 150 195))(end_p(""7 150 196))))))))(position((start_p(""7 150 177))(end_p(""7 150 197)))))))(position((start_p(""7 150 171))(end_p(""7 150 197)))))))(position((start_p(""7 150 156))(end_p(""7 150 197))))))))(position((start_p(""5 111 115))(end_p(""8 198 203)))))))))))(position((start_p(""4 89 89))(end_p(""8 198 203)))))((value(DefineValue(SimpleValue(((value(Id test))(position((start_p(""10 205 209))(end_p(""10 205 213)))))()((value(For((value(Id i))(position((start_p(""11 216 224))(end_p(""11 216 225)))))((value(Literal((value(LInt 0))(position((start_p(""11 216 232))(end_p(""11 216 233)))))))(position((start_p(""11 216 232))(end_p(""11 216 233)))))((value(Literal((value(LInt 14))(position((start_p(""11 216 239))(end_p(""11 216 241)))))))(position((start_p(""11 216 239))(end_p(""11 216 241)))))((value(Sequence(((value(Apply((value(Variable((value(Id print_int))(position((start_p(""12 245 253))(end_p(""12 245 262)))))()))(position((start_p(""12 245 253))(end_p(""12 245 262)))))((value(Apply((value(Variable((value(Id count))(position((start_p(""12 245 264))(end_p(""12 245 269)))))()))(position((start_p(""12 245 264))(end_p(""12 245 269)))))((value(Tuple(((value(Literal((value(LInt 0))(position((start_p(""12 245 271))(end_p(""12 245 272)))))))(position((start_p(""12 245 271))(end_p(""12 245 272)))))((value(Apply((value(Variable((value(Id make))(position((start_p(""12 245 274))(end_p(""12 245 278)))))()))(position((start_p(""12 245 274))(end_p(""12 245 278)))))((value(Variable((value(Id i))(position((start_p(""12 245 280))(end_p(""12 245 281)))))()))(position((start_p(""12 245 279))(end_p(""12 245 282)))))))(position((start_p(""12 245 274))(end_p(""12 245 282))))))))(position((start_p(""12 245 270))(end_p(""12 245 283)))))))(position((start_p(""12 245 263))(end_p(""12 245 284)))))))(position((start_p(""12 245 253))(end_p(""12 245 284)))))((value(Apply((value(Variable((value(Id print_string))(position((start_p(""13 286 294))(end_p(""13 286 306)))))()))(position((start_p(""13 286 294))(end_p(""13 286 306)))))((value(Literal((value(LString"\n"))(position((start_p(""13 286 311))(end_p(""13 286 312)))))))(position((start_p(""13 286 307))(end_p(""13 286 313)))))))(position((start_p(""13 286 294))(end_p(""13 286 313))))))))(position((start_p(""12 245 253))(end_p(""13 286 313)))))))(position((start_p(""11 216 220))(end_p(""14 314 319)))))))))(position((start_p(""10 205 205))(end_p(""14 314 319))))))