Commit graph

20 commits

Author SHA1 Message Date
0bf9aed35e Add assignments 2023-07-30 20:44:59 +02:00
6d2a2fe474 Imports 2023-07-30 16:54:04 +02:00
50e82066c9 Add I32, mirroring Wasm i32 2023-07-30 14:53:43 +02:00
7cd50ab554 fix many things 2023-07-29 23:37:01 +02:00
f0227af982 small improvements 2023-07-29 22:12:05 +02:00
09ae6cbb56 fmt 2023-07-29 21:32:35 +02:00
761f78de0b printing!!! 2023-07-29 21:32:19 +02:00
27a4ecc46b lower if 2023-07-29 18:31:39 +02:00
e88d0f8782 fix type inference 2023-07-29 17:55:36 +02:00
7c2faaecb8 Change let 2023-07-29 17:03:38 +02:00
84cd8eec90 extract and test inference context 2023-07-27 22:10:21 +02:00
39a995b765 struct literals 2023-07-27 22:00:04 +02:00
b52abed441 start structs 2023-07-27 20:56:02 +02:00
1d0e3a3aff make it a wasi executable 2023-07-26 21:35:31 +02:00
42bc96dbce generate more code 2023-07-26 20:50:48 +02:00
ccd8008731 start lowering 2023-07-26 19:36:02 +02:00
87f081a4fe Start lowering 2023-07-26 13:20:32 +02:00
02412c2a09 Improve type inference
Fixes the union-find inference by properly unioning the roots
and also resolves all variables after typeck.
2023-07-24 20:30:06 +02:00
000f17b97e some cleanup 2023-07-23 21:49:52 +02:00
5c6ade6cbb CHECK THE TYPES 2023-07-23 21:21:47 +02:00