Commit Graph

62 Commits

Author SHA1 Message Date
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
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
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
31a00cba19 Put source_hash in function hash 2023-08-14 10:59:32 +10:00
Andrew Morris
960e5ef879 Update ExportStar representation 2023-07-26 13:22:37 +10:00
Andrew Morris
200607f1ae Represent class as just a value in the assembly 2023-07-25 10:47:35 +10:00
Andrew Morris
ed0d2665fd Add Value::Class, Kal::Class 2023-07-25 10:20:48 +10:00
Andrew Morris
e81eb6d1e2 Fix clippy issues 2023-07-24 10:38:46 +10:00
Andrew Morris
24438aecb7 Implement constants that refer to other constants 2023-07-07 17:46:29 +10:00
Andrew Morris
581965e01b Make clippy a happy chappy 2023-07-07 16:08:28 +10:00
Andrew Morris
eca2cda3d5 Use half indentation for labels 2023-07-03 11:16:34 +10:00
Andrew Morris
9b9b342110 Use 4 space indentation for assembly 2023-07-03 11:15:36 +10:00
Andrew Morris
f985698724 Release registers upon return 2023-07-01 08:24:42 +10:00
Andrew Morris
3720a2b563 Fix non-deterministic assembly ordering 2023-06-30 13:12:20 +10:00
Andrew Morris
3e5aea5ba3 visit_registers_mut_rev 2023-06-30 12:19:36 +10:00
Andrew Morris
d668433339 Move Instruction to its own file 2023-06-30 10:57:05 +10:00
Andrew Morris
da94fcb947 Add release pseudo-instruction 2023-06-30 10:04:08 +10:00
Andrew Morris
ebf4ca9ae4 Fix bugs 2023-06-29 19:26:42 +10:00
Andrew Morris
50369d18f3 Partial support for module constants 2023-06-23 15:41:16 +10:00
Andrew Morris
c880dda7c9 Extract string constants 2023-06-23 13:48:58 +10:00
Andrew Morris
41a6a20573 Include static in class assembly and bytecode 2023-06-23 09:47:12 +10:00
Andrew Morris
b3b5887d8b methods -> prototype 2023-06-23 09:23:48 +10:00
Andrew Morris
62aaa57b7d Fix unnecessary binds 2023-06-22 17:46:05 +10:00
Andrew Morris
6e1be5a929 Add Empty and Comment options to FnLine 2023-06-22 15:54:00 +10:00
Andrew Morris
48433d650e Refactor - stop assuming assignment to target_register 2023-06-22 13:08:08 +10:00
Andrew Morris
c1c5bd6f82 Default to take:false, add take() 2023-06-22 08:32:38 +10:00
Andrew Morris
72f9fbf0f7 Represent register taking 2023-06-20 16:57:49 +10:00
Andrew Morris
76f78eb8ec Add unimplemented yield* instruction 2023-06-01 09:05:55 +10:00
Andrew Morris
38b1bcfba2 Represent generators in assembly 2023-05-31 14:49:08 +10:00
Andrew Morris
12bfe5bf7f Add unimplemented yield instruction 2023-05-31 14:20:45 +10:00
Andrew Morris
4164f44ece Cat instruction with limited implementation 2023-05-30 11:22:50 +10:00
Andrew Morris
161ed1c6de Add next and unpack_iter_res instructions (unimplemented) 2023-05-29 13:19:04 +10:00
Andrew Morris
0ee1f473ce this_subcall 2023-04-05 10:31:05 +10:00
Andrew Morris
dc685f5892 require_mutable_this 2023-04-05 10:15:19 +10:00
Andrew Morris
f728509db9 const_subcall, more tests 2023-04-04 13:49:46 +10:00
Andrew Morris
337c5c5296 Add set_catch, unset_catch instructions 2023-03-23 09:35:33 +11:00
Andrew Morris
8b535f4f03 Throw instruction 2023-03-21 14:16:23 +11:00
Andrew Morris
d2c437a9b6 BigInt 2023-03-20 17:59:07 +11:00
Andrew Morris
904f230416 inf -> Infinity 2023-03-20 11:43:56 +11:00
Andrew Morris
549e7e546a NaN, Infinity 2023-03-20 11:34:48 +11:00
Andrew Morris
5244987f89 Link modules for vstc compile (almost works) 2023-03-09 12:19:53 +11:00
Andrew Morris
5e95be162e wip gather and link 2023-03-08 22:29:58 +11:00
Andrew Morris
8e44cb2e95 Compile (but not run) imports 2023-03-08 11:12:53 +11:00
Andrew Morris
53d64addb9 Add Lazy to asm.rs 2023-03-08 09:40:32 +11:00
Andrew Morris
f6eafd1d39 Export functions and classes 2023-03-07 11:27:08 +11:00