31 Commits

Author SHA1 Message Date
Rerumu
7a49d61e0a Housekeeping with clippy 2023-06-20 14:07:25 -04:00
RealEthanPlayzDev
faa4e6b8ae Fix build error within wasm-ast 2023-02-24 11:30:34 +07:00
bainchild
50b93641f2 Attempt to add memory copy/fill (2) 2023-01-03 01:02:26 -06:00
Rerumu
5887efa841 Box expressions to reduce memory usage 2022-08-25 20:46:14 -04:00
Rerumu
50b5680bef Add saturation operations 2022-07-08 12:46:23 -04:00
Rerumu
efec6203b0 Fix inconsistencies
Addendum to truncation rename

Rename constants for consistency
2022-07-08 12:41:45 -04:00
Rerumu
49bc994353 Elide block labels when not referenced 2022-07-07 19:30:41 -04:00
Rerumu
6e0debe287 Fix i64 sign extension for i32 2022-06-29 23:53:02 -04:00
Rerumu
5b61f742f4 Add f32 and f64 distinction 2022-06-25 04:30:06 -04:00
Rerumu
9f8cf3814b Refactor wasm-ast to use wasmparser 2022-06-24 16:55:38 -04:00
Rerumu
9db21cc84b Encapsulate nodes 2022-06-23 16:03:13 -04:00
Rerumu
f52033036a Re-classify MemoryGrow as a Statement 2022-06-17 21:56:52 -04:00
Rerumu
0e23793d72 Add accessors for various stack operations 2022-06-17 21:56:49 -04:00
Rerumu
b3c931a38e Add comprehensive stack use analysis 2022-06-17 21:55:08 -04:00
Rerumu
9a2b52fde5 Fix memory size leaking behavior 2022-06-16 06:33:03 -04:00
Rerumu
a6cf4fdf07 Fix alignment when branching 2022-06-14 00:23:50 -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
c3a3a09107 Adjust some runtime emits 2022-05-21 03:51:27 -04:00
Rerumu
7913dd507a Factor out operator analysis and simplify output 2022-04-29 23:30:55 -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
fbd23e05b6 Simplify value instantiation 2022-02-09 04:48:51 -05:00
Rerumu
22ea8910ad Re-structure and decouple AST from generator 2022-02-08 17:39:14 -05:00