29 Commits

Author SHA1 Message Date
Rerumu
735dfc7d96 Fix start_else stack size heuristic 2022-06-12 04:38:03 -04:00
Rerumu
a379fb2e91 Fix BrIf reachability and simplify block adds 2022-06-12 04:27:16 -04:00
Rerumu
c4c0bf8deb Fix temporary alignment 2022-06-12 04:27:16 -04:00
Rerumu
6cdf793818 Fix else not pushing argument copy 2022-06-12 04:27:16 -04:00
Rerumu
954f133557 Move around start_else 2022-06-12 04:27:16 -04:00
Rerumu
32031c8c2c Refactor BrIf behavior 2022-06-12 04:27:16 -04:00
Rerumu
183db977f3 Refactor Return behavior 2022-06-12 04:27:10 -04:00
Rerumu
b8e40fe740 Rename Intermediate to FuncData 2022-06-10 23:35:25 -04:00
Rerumu
78aa47cdd6 Fix missing visit_statement call 2022-06-10 23:35:25 -04:00
Rerumu
2df59b2d82 Refactor Terminator from Statement 2022-06-10 23:35:20 -04:00
Rerumu
472f37d059 Add new Builder backend 2022-06-10 06:13:28 -04:00
Rerumu
e0347c505e Remove verbose Else wrapper 2022-06-10 03:21:16 -04:00
Rerumu
f85235738e Fix severe lapse in naming scheme judgement 2022-06-09 01:05:53 -04:00
Rerumu
c3a3a09107 Adjust some runtime emits 2022-05-21 03:51:27 -04:00
Rerumu
0e92163cb3 Fix constant generation 2022-05-19 17:09:44 -04:00
Rerumu
7913dd507a Factor out operator analysis and simplify output 2022-04-29 23:30:55 -04:00
Rerumu
85e0e2276a Add automatic releasing 2022-04-27 04:49:14 -04:00
Rerumu
d1ad9ddb7a Start aesthetic refactoring 2022-04-27 01:33:45 -04:00
Rerumu
1fda67d6d3 Rename some AST parts to be less odd 2022-04-26 05:03:54 -04:00
Rerumu
36e9ff3c86 Add import formatting default 2022-04-25 21:26:11 -04:00
Rerumu
e7b36a7d94 Unify integer types and simplify some code 2022-04-22 21:57:43 -04:00
Rerumu
233aee2c5e Simplify type and local handling 2022-04-22 04:01:10 -04:00
Rerumu
891851bcb8 Add pop_many to reduce redundancy 2022-02-09 18:47:25 -05:00
Rerumu
80a9230767 Rename fallible operations 2022-02-09 05:32:51 -05:00
Rerumu
bc24765ba9 Fix gen_call_indirect ordering 2022-02-09 05:27:38 -05:00
Rerumu
d6b77b287e Simplify new_stored_body 2022-02-09 04:55:22 -05:00
Rerumu
fbd23e05b6 Simplify value instantiation 2022-02-09 04:48:51 -05:00
Rerumu
460f363c91 Refactor Builder behavior and stack emulation 2022-02-09 04:45:28 -05:00
Rerumu
22ea8910ad Re-structure and decouple AST from generator 2022-02-08 17:39:14 -05:00