Commit graph

35 commits

Author SHA1 Message Date
b0b92dae0f start structs 2023-07-31 23:39:52 +02:00
924236532c many things 2023-07-31 22:39:17 +02:00
f582a5b4c3 globals 2023-07-31 20:26:50 +02:00
c4cfa19fa9 crates work 2023-07-31 18:23:10 +02:00
b3b0bc2e6f start implememting crate loading 2023-07-31 18:03:26 +02:00
93f478546e Also use AST phases for ty 2023-07-31 16:41:03 +02:00
5f191c72cc Strongly typed AST 2023-07-31 16:17:56 +02:00
854112da3c more eslint rules and fix bugs 2023-07-31 14:50:28 +02:00
12fcc4f1bb add eslint 2023-07-31 14:11:51 +02:00
6bdbf14ecb Fix folders of items wrt the itemid map 2023-07-31 13:13:30 +02:00
cbbda39688 start implementing module res 2023-07-31 13:06:28 +02:00
2da011caf4 implement field accesses 2023-07-30 23:59:43 +02:00
7f65dc0277 write prInt 2023-07-30 23:05:57 +02:00
b64c02cf4a Add support for tuple literals 2023-07-30 21:49:18 +02:00
1dad80f4c1 fix break 2023-07-30 21:04:29 +02:00
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