356 Commits

Author SHA1 Message Date
Andrew Morris
ae82029f0d Invalidate releases when optimizer inserts registers 2024-07-25 11:27:07 +09:00
Andrew Morris
9b84429a9d Clippy fixes 2024-07-24 15:54:20 +09:00
Andrew Morris
a35fd06fce Move some things into utils.rs 2024-07-17 15:09:39 +09:00
Andrew Morris
0bbf100eb2 cargo clippy --fix 2024-07-16 11:22:12 +09:00
Andrew Morris
9a105c44c1 Enable op overrides 2024-07-15 12:58:02 +09:00
Andrew Morris
6d83ec2079 Fix get_span_text unicode bug 2024-03-01 12:19:12 +11:00
Andrew Morris
14c4d3cb37 Workaround swc double line break bug 2024-02-29 19:22:22 +11:00
Andrew Morris
190591defa Compile jsx expressions 2024-02-29 14:54:11 +11:00
Andrew Morris
7915db4689 Add jsx instruction 2024-02-29 11:01:41 +11:00
Andrew Morris
6949a52c9a Basic webserver with no request body 2023-12-29 14:36:49 +11:00
Andrew Morris
8b2d880c6a Compile (but not run) delete expressions 2023-12-18 14:31:07 +11:00
Andrew Morris
62108d1a49 Implement void, add delete instruction 2023-12-18 13:47:10 +11:00
Andrew Morris
3f70148110 Remove unnecessary option wrapper for object prototype 2023-11-02 15:13:58 +11:00
Andrew Morris
32358b2dd6 Simplify vm.run 2023-11-02 11:36:25 +11:00
Andrew Morris
a5e76355f7 Prefer str 2023-11-02 10:22:30 +11:00
Andrew Morris
8bdccba57e wip storage integration 2023-10-30 17:39:36 +11:00
Andrew Morris
d49937663c Implement direct class comparison 2023-08-16 15:30:25 +10:00
Andrew Morris
5d1da13903 metadata, fn_meta -> meta 2023-08-16 14:43:42 +10:00
Andrew Morris
f541a81f96 Structured formatting 2023-08-16 14:38:24 +10:00
Andrew Morris
e6c98afff3 Implement source traces for values 2023-08-15 16:19:45 +10:00
Andrew Morris
a645358048 update_metadata -> calculate_content_hash 2023-08-15 14:57:44 +10:00
Andrew Morris
4c74bbc937 Visit the pointers in class metadata 2023-08-15 14:30:24 +10:00
Andrew Morris
4fcb56eae0 .unwrap -> FIXME 2023-08-15 14:12:49 +10:00
Andrew Morris
bc25091b19 PointerOrBuiltin -> asm::Value 2023-08-15 13:46:32 +10:00
Andrew Morris
39a1bb7ce9 wip 2023-08-15 13:19:18 +10:00
Andrew Morris
f6cabc1ce8 wip 2023-08-15 13:02:23 +10:00
Andrew Morris
1cac81bc44 wip 2023-08-15 12:49:31 +10:00
Andrew Morris
a7db195c8a wip 2023-08-15 11:03:33 +10:00
Andrew Morris
3ffafda8d2 FnMeta 2023-08-14 17:35:24 +10:00
Andrew Morris
5abd1c472e wip 2023-08-14 15:42:43 +10:00
Andrew Morris
cf14a21fe9 hash -> srcHash 2023-08-14 12:17:41 +10:00
Andrew Morris
31a00cba19 Put source_hash in function hash 2023-08-14 10:59:32 +10:00
Andrew Morris
b0fa02a7cf source_hash 2023-08-14 08:57:19 +10:00
Andrew Morris
cd81f79e4b wip 2023-07-27 16:35:58 +10:00
Andrew Morris
f6546abc97 Fix scope bug 2023-07-27 10:12:40 +10:00
Andrew Morris
b683e47bc5 Implement export star 2023-07-26 15:29:49 +10:00
Andrew Morris
960e5ef879 Update ExportStar representation 2023-07-26 13:22:37 +10:00
Andrew Morris
243758f51d Fix method shorthand scope 2023-07-26 10:48:30 +10:00
Andrew Morris
e5281a16f0 Fix FnState bug losing kal when try_to_value fails 2023-07-26 10:08:42 +10:00
Andrew Morris
68f122ec37 Optimize subcall into apply and down to just call when %this isn't used 2023-07-26 09:16:50 +10:00
Andrew Morris
296f24e6af Add const_apply instruction 2023-07-25 17:46:41 +10:00
Andrew Morris
c1fca06f23 Add function(uses_this) to kal 2023-07-25 17:34:01 +10:00
Andrew Morris
b300428a38 class static subscripting in kal 2023-07-25 17:18:40 +10:00
Andrew Morris
474047aec2 Move sub() inside kal 2023-07-25 17:14:01 +10:00
Andrew Morris
266d4cde11 Remove unnecessary muts 2023-07-25 17:02:05 +10:00
Andrew Morris
44f8f73645 Simplify diagnostics 2023-07-25 16:56:14 +10:00
Andrew Morris
570b3512a0 Implement non-capturing class expressions 2023-07-25 16:43:50 +10:00
Andrew Morris
5fd2a046e2 Simplify function compiling 2023-07-25 12:00:43 +10:00
Andrew Morris
f2e518f343 Directly insert dependent definitions and diagnostics 2023-07-25 10:59:19 +10:00
Andrew Morris
200607f1ae Represent class as just a value in the assembly 2023-07-25 10:47:35 +10:00