Commit graph

61 commits

Author SHA1 Message Date
a0efca50e0 UI test error annotations! 2024-06-02 20:48:17 +02:00
9270f52e6b Detect unused variables 2024-05-13 20:02:08 +02:00
b273b20a75 rename crate to pkg 2023-12-15 18:35:20 +01:00
ef04f21100 error recovery! 2023-08-06 00:07:10 +02:00
64d81b5608 add raw pointers 2023-08-05 14:20:24 +02:00
5bac67b84c struct field writes 2023-08-05 14:05:41 +02:00
ba3a199249 typeck cleanup 2023-08-03 14:40:25 +02:00
f05e5520f3 allocators and type aliases 2023-08-03 13:22:35 +02:00
9f3e728e79 cleanup 2023-08-02 23:50:28 +02:00
9ece18a48a reference counting 2023-08-02 23:19:10 +02:00
a1d04d264e move rt to separate file and make loader understand it 2023-08-02 20:19:14 +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
b68d775671 Add basic testsuite using ui_test 2023-08-01 11:57:44 +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
5f191c72cc Strongly typed AST 2023-07-31 16:17:56 +02:00
903fe75747 fix folder 2023-07-31 15:13:45 +02:00
854112da3c more eslint rules and fix bugs 2023-07-31 14:50:28 +02:00
e951cd5ee1 avoid wasm symbol conflicts 2023-07-31 13:49:43 +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
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
162d71c8b8 lower blocks 2023-07-29 17:32:42 +02:00
7c2faaecb8 Change let 2023-07-29 17:03:38 +02:00
39a995b765 struct literals 2023-07-27 22:00:04 +02:00
b52abed441 start structs 2023-07-27 20:56:02 +02:00