38 Commits

Author SHA1 Message Date
Rerumu
c5f7e386c2 Fix signed remainder assumption 2022-06-16 06:33:03 -04:00
Rerumu
860fef391f Fix float writing 2022-06-16 06:33:03 -04:00
Rerumu
a6cf4fdf07 Fix alignment when branching 2022-06-14 00:23:50 -04:00
Rerumu
ce9421d549 Fix If emit 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
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
08d2108a21 Fix bit localizing 2022-05-26 21:00:29 -04:00
Rerumu
ca57cf915a Add shortcut translation API 2022-05-21 21:57:21 -04:00
Rerumu
f02070a1b3 Add support for anonymous translation 2022-05-21 19:52:25 -04:00
Rerumu
ce54d834a5 Add shortcuts for native operations 2022-05-21 04:11:04 -04:00
Rerumu
d94be2d832 Remove unneeded pubs 2022-05-21 00:18:12 -04:00
Rerumu
25050a0c5a Wrap import names too 2022-05-20 23:01:42 -04:00
Rerumu
8464d70a93 Fix if statement label 2022-05-20 23:01:05 -04:00
Rerumu
29e7c972ed Fix empty BrTable generation 2022-05-20 22:38:03 -04:00
Rerumu
935fc86607 Wrap export names to prevent weird characters 2022-05-20 20:27:19 -04:00
Rerumu
0e92163cb3 Fix constant generation 2022-05-19 17:09:44 -04:00
Rerumu
f9cf75c98a Delete odd new line 2022-05-19 04:20:58 -04:00
Rerumu
acc21fc9a6 Simplify set creation code 2022-05-19 03:02:04 -04:00
Rerumu
f528df9b9e Optimize memory instance caching 2022-05-19 02:47:39 -04:00
Rerumu
00d8dc4124 Remove old comment 2022-05-19 00:12:01 -04:00
Rerumu
0278458c15 Remove load/store offset when 0 2022-04-30 00:13:44 -04:00
Rerumu
7913dd507a Factor out operator analysis and simplify output 2022-04-29 23:30:55 -04:00
Rerumu
2e5890f466 Fix naming 2022-04-29 22:54:58 -04:00
Rerumu
e4dc725ec0 Fix empty function list fail 2022-04-27 05:41:55 -04:00
Rerumu
6ffd462d99 Refactor LuaJIT codegen 2022-04-27 04:35:51 -04:00
Rerumu
1fda67d6d3 Rename some AST parts to be less odd 2022-04-26 05:03:54 -04:00
Rerumu
12e2799914 Use new Rust write behavior 2022-04-26 02:05:44 -04:00
Rerumu
b6664aacfd Fix bad local variable generation 2022-04-25 18:29:06 -04:00
Rerumu
5e955efcbd Refactor some messy code 2022-04-25 18:07:40 -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
5ad07b930c Remove leftover 2022-02-09 06:13:26 -05:00
Rerumu
22ea8910ad Re-structure and decouple AST from generator 2022-02-08 17:39:14 -05:00