Skip to content

Commit

Permalink
fix: serializer missing :
Browse files Browse the repository at this point in the history
  • Loading branch information
kollhof committed Sep 26, 2021
1 parent d430357 commit 7f406e4
Show file tree
Hide file tree
Showing 22 changed files with 327 additions and 327 deletions.
4 changes: 2 additions & 2 deletions src/ir/arithmitic/init.test.fnk.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rec >> exports_0:
+ left_1, right_0 >> left_0:
= ni >> right_1:
* left_0, right_1 >> r_0:
str 'r' >> key_0
str 'r' >> key_0:
rec_s exports_0, key_0, r_0 >> exports_1:
lst >> drctvs_0:
mod exports_1, drctvs_0 >> mod_0:"
Expand All @@ -32,7 +32,7 @@ rec >> exports_0:
= foo >> left_0:
= bar >> right_0:
+ left_0, right_0 >> r_0:
str 'r' >> key_0
str 'r' >> key_0:
rec_s exports_0, key_0, r_0 >> exports_1:
lst >> drctvs_0:
mod exports_1, drctvs_0 >> mod_0:"
Expand Down
6 changes: 3 additions & 3 deletions src/ir/assignment/init.test.fnk.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`assignment compiles simple 1`] = `
"
rec >> exports_0:
= bar >> foo_0:
str 'foo' >> key_0
str 'foo' >> key_0:
rec_s exports_0, key_0, foo_0 >> exports_1:
lst >> drctvs_0:
mod exports_1, drctvs_0 >> mod_0:"
Expand All @@ -14,7 +14,7 @@ exports[`assignment compiles with scopes 1`] = `
"
rec >> exports_0:
int 123 >> foo_0:
str 'foo' >> key_0
str 'foo' >> key_0:
rec_s exports_0, key_0, foo_0 >> exports_1:
fn args_0, ret_0:
lst_h args_0 >> foo_1:
Expand All @@ -24,7 +24,7 @@ rec >> exports_0:
+ left_0, right_0 >> result_0:
cc ret_0, result_0
>> ni_0:
str 'ni' >> key_1
str 'ni' >> key_1:
rec_s exports_1, key_1, ni_0 >> exports_2:
lst >> drctvs_0:
mod exports_2, drctvs_0 >> mod_0:"
Expand Down
8 changes: 4 additions & 4 deletions src/ir/async/init.test.fnk.snap
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rec >> exports_0:
- right_0 >> result_0:
cc ret_0, result_0
>> task1_0:
str 'task1' >> key_0
str 'task1' >> key_0:
rec_s exports_0, key_0, task1_0 >> exports_1:
fn args_1, ret_1:
lst_h args_1 >> foo_1:
Expand All @@ -22,7 +22,7 @@ rec >> exports_0:
wt futr_1 >> result_1:
cc ret_1, result_1
>> task2_0:
str 'task2' >> key_1
str 'task2' >> key_1:
rec_s exports_1, key_1, task2_0 >> exports_2:
fn args_2, ret_2:
lst_h args_2 >> foo_2:
Expand All @@ -36,7 +36,7 @@ rec >> exports_0:
+ left_1, right_2 >> result_3:
cc ret_2, result_3
>> task3_0:
str 'task3' >> key_2
str 'task3' >> key_2:
rec_s exports_2, key_2, task3_0 >> exports_3:
= unfold >> callee_1:
lst >> cargs_1:
Expand Down Expand Up @@ -71,7 +71,7 @@ rec >> exports_0:
>> arg_0:
lst_a cargs_1, arg_0 >> cargs_4:
af callee_1, cargs_4 >> a_gen_0:
str 'a_gen' >> key_3
str 'a_gen' >> key_3:
rec_s exports_3, key_3, a_gen_0 >> exports_4:
= ni >> futr_4:
wt futr_4 >> mex_0:
Expand Down
8 changes: 4 additions & 4 deletions src/ir/call/call.test.fnk.snap
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ rec >> exports_0:
= foo >> callee_3:
lst >> cargs_7:
= sprtl_1 >> left_0:
str 'bar' >> key_0
str 'bar' >> key_0:
rec_g left_0, key_0 >> sprd_1:
lst_c cargs_7, sprd_1 >> cargs_8:
af callee_3, cargs_8 >> pfn_3:
Expand All @@ -111,7 +111,7 @@ rec >> exports_0:
= prtl_3 >> arg_3:
lst_a cargs_9, arg_3 >> cargs_10:
= prtl_3 >> left_1:
str 'bar' >> key_1
str 'bar' >> key_1:
rec_g left_1, key_1 >> sprd_2:
lst_c cargs_10, sprd_2 >> cargs_11:
af callee_4, cargs_11 >> pfn_4:
Expand Down Expand Up @@ -140,7 +140,7 @@ rec >> exports_0:
fn args_7, ret_7:
lst_h args_7 >> prtlc_7:
= prtlc_7 >> left_2:
str 'bar' >> key_2
str 'bar' >> key_2:
rec_g left_2, key_2 >> callee_7:
lst >> cargs_17:
= spam >> arg_7:
Expand Down Expand Up @@ -196,7 +196,7 @@ rec >> exports_0:
fn args_3, ret_3:
lst_h args_3 >> prtl_4:
= prtl_4 >> left_2:
str 'foo' >> key_0
str 'foo' >> key_0:
rec_g left_2, key_0 >> arg_4:
cc ret_3, arg_4
>> pfn_3:
Expand Down
24 changes: 12 additions & 12 deletions src/ir/comparison/init.test.fnk.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rec >> exports_0:
= c >> right_2:
< left_2, right_2 >> right_1:
and left_0, right_1 >> lt_0:
str 'lt' >> key_0
str 'lt' >> key_0:
rec_s exports_0, key_0, lt_0 >> exports_1:
= a >> left_4:
= b >> right_3:
Expand All @@ -29,7 +29,7 @@ rec >> exports_0:
= c >> right_5:
> left_5, right_5 >> right_4:
and left_3, right_4 >> gt_0:
str 'gt' >> key_1
str 'gt' >> key_1:
rec_s exports_1, key_1, gt_0 >> exports_2:
= a >> left_7:
= b >> right_6:
Expand All @@ -38,7 +38,7 @@ rec >> exports_0:
= c >> right_8:
== left_8, right_8 >> right_7:
and left_6, right_7 >> eq_0:
str 'eq' >> key_2
str 'eq' >> key_2:
rec_s exports_2, key_2, eq_0 >> exports_3:
= a >> left_10:
= b >> right_9:
Expand All @@ -47,7 +47,7 @@ rec >> exports_0:
= c >> right_11:
!= left_11, right_11 >> right_10:
and left_9, right_10 >> neq_0:
str 'neq' >> key_3
str 'neq' >> key_3:
rec_s exports_3, key_3, neq_0 >> exports_4:
= a >> left_13:
= b >> right_12:
Expand All @@ -56,7 +56,7 @@ rec >> exports_0:
= c >> right_14:
>= left_14, right_14 >> right_13:
and left_12, right_13 >> gteq_0:
str 'gteq' >> key_4
str 'gteq' >> key_4:
rec_s exports_4, key_4, gteq_0 >> exports_5:
= a >> left_16:
= b >> right_15:
Expand All @@ -65,7 +65,7 @@ rec >> exports_0:
= c >> right_17:
<= left_17, right_17 >> right_16:
and left_15, right_16 >> lteq_0:
str 'lteq' >> key_5
str 'lteq' >> key_5:
rec_s exports_5, key_5, lteq_0 >> exports_6:
lst >> drctvs_0:
mod exports_6, drctvs_0 >> mod_0:"
Expand All @@ -77,32 +77,32 @@ rec >> exports_0:
= a >> left_0:
= b >> right_0:
< left_0, right_0 >> lt_0:
str 'lt' >> key_0
str 'lt' >> key_0:
rec_s exports_0, key_0, lt_0 >> exports_1:
= a >> left_1:
= b >> right_1:
> left_1, right_1 >> gt_0:
str 'gt' >> key_1
str 'gt' >> key_1:
rec_s exports_1, key_1, gt_0 >> exports_2:
= a >> left_2:
= b >> right_2:
== left_2, right_2 >> eq_0:
str 'eq' >> key_2
str 'eq' >> key_2:
rec_s exports_2, key_2, eq_0 >> exports_3:
= a >> left_3:
= b >> right_3:
!= left_3, right_3 >> neq_0:
str 'neq' >> key_3
str 'neq' >> key_3:
rec_s exports_3, key_3, neq_0 >> exports_4:
= a >> left_4:
= b >> right_4:
>= left_4, right_4 >> gteq_0:
str 'gteq' >> key_4
str 'gteq' >> key_4:
rec_s exports_4, key_4, gteq_0 >> exports_5:
= a >> left_5:
= b >> right_5:
<= left_5, right_5 >> lteq_0:
str 'lteq' >> key_5
str 'lteq' >> key_5:
rec_s exports_5, key_5, lteq_0 >> exports_6:
lst >> drctvs_0:
mod exports_6, drctvs_0 >> mod_0:"
Expand Down
Loading

0 comments on commit 7f406e4

Please sign in to comment.