2024-01-19 17:02:22 +03:00
|
|
|
---
|
|
|
|
source: tests/golden_tests.rs
|
2024-05-15 01:25:46 +03:00
|
|
|
input_file: tests/golden_tests/compile_file_o_all/ex2.bend
|
2024-01-19 17:02:22 +03:00
|
|
|
---
|
2024-03-27 17:18:37 +03:00
|
|
|
@E = (* (* (a a)))
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-01-19 17:02:22 +03:00
|
|
|
@I = (a (* ((a b) (* b))))
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-04-22 20:03:56 +03:00
|
|
|
@O = (a ((a b) (* (* b))))
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-04-22 20:03:56 +03:00
|
|
|
@c2 = ({(b c) (a b)} (a c))
|
|
|
|
|
|
|
|
@dec = ((@decO (@decI (@E a))) a)
|
|
|
|
|
|
|
|
@decI = a
|
|
|
|
& @low ~ a
|
|
|
|
|
|
|
|
@decO = (a c)
|
2024-05-02 17:53:16 +03:00
|
|
|
& @I ~ (b c)
|
2024-05-10 19:22:05 +03:00
|
|
|
& @dec ~ (a b)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-01-19 17:02:22 +03:00
|
|
|
@low = ((@lowO (@lowI (@E a))) a)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-04-22 20:03:56 +03:00
|
|
|
@lowI = (a c)
|
|
|
|
& @O ~ (b c)
|
|
|
|
& @I ~ (a b)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-04-22 20:03:56 +03:00
|
|
|
@lowO = (a c)
|
|
|
|
& @O ~ (b c)
|
|
|
|
& @O ~ (a b)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-06-05 20:02:44 +03:00
|
|
|
@main = b
|
|
|
|
& @run ~ (a b)
|
2024-04-18 18:42:28 +03:00
|
|
|
& @c2 ~ (@I (@E a))
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-01-19 17:02:22 +03:00
|
|
|
@run = ((@runO (@runI (@E a))) a)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-04-22 20:03:56 +03:00
|
|
|
@runI = (a d)
|
|
|
|
& @run ~ (c d)
|
|
|
|
& @dec ~ (b c)
|
|
|
|
& @I ~ (a b)
|
2024-03-21 15:11:16 +03:00
|
|
|
|
2024-04-22 20:03:56 +03:00
|
|
|
@runO = (a d)
|
|
|
|
& @run ~ (c d)
|
|
|
|
& @dec ~ (b c)
|
|
|
|
& @O ~ (a b)
|