Commit graph

72 commits

Author SHA1 Message Date
d9ab81bed1 rename lower to codegen 2023-08-02 20:24:40 +02:00
a1d04d264e move rt to separate file and make loader understand it 2023-08-02 20:19:14 +02:00
309a286a1a fix tests 2023-08-02 19:46:06 +02:00
e455e71aa2 eagerly load crates from extern mod items 2023-08-02 19:32:49 +02:00
2f1f4a9798 refactorings 2023-08-02 19:18:52 +02:00
7eeaf548d0 refactor file loading 2023-08-02 15:01:52 +02:00
beb0321382 refactor crate loading 2023-08-02 14:32:42 +02:00
dd93453943 rename tests to ui-tests 2023-08-02 14:32:31 +02:00
b68d775671 Add basic testsuite using ui_test 2023-08-01 11:57:44 +02:00
1551847d8c fix struct literals 2023-08-01 10:42:46 +02:00
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
b779a51ef5 add some things to std 2023-07-31 18:28:39 +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
a0599342ea fix offset 2023-07-31 16:51:54 +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
903fe75747 fix folder 2023-07-31 15:13:45 +02:00
f5cce667a6 remove file 2023-07-31 15:03:15 +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
e951cd5ee1 avoid wasm symbol conflicts 2023-07-31 13:49:43 +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
d9868e3111 implement % 2023-07-30 22:03:24 +02:00
b64c02cf4a Add support for tuple literals 2023-07-30 21:49:18 +02:00
0c996eb9bc make codegen smarter around ! 2023-07-30 21:16:01 +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
89dbb50add add unreachable for unreachable things 2023-07-30 00:17:05 +02:00
1d9ab31baf Implement aggregate locals 2023-07-30 00:03:18 +02:00
7c88a3513e escape underscores 2023-07-29 23:49:23 +02:00
7cd50ab554 fix many things 2023-07-29 23:37:01 +02:00
02bbd8ec1e add \M 2023-07-29 22:12:51 +02:00
f0227af982 small improvements 2023-07-29 22:12:05 +02:00
3270e6b501 implement string escapes 2023-07-29 22:05:44 +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
9ac5fec4bd lower let 2023-07-29 18:10:08 +02:00
e88d0f8782 fix type inference 2023-07-29 17:55:36 +02:00
162d71c8b8 lower blocks 2023-07-29 17:32:42 +02:00
7c2faaecb8 Change let 2023-07-29 17:03:38 +02:00
40543b501c remove unused imports 2023-07-27 22:13:06 +02:00