Commit Graph

489 Commits

Author SHA1 Message Date
Andrew Morris
22eb55a915 concat (string) 2023-03-13 13:50:27 +11:00
Andrew Morris
d9077e8f01 Fix p22 2023-03-13 13:50:21 +11:00
Andrew Morris
fad421d693 Add failing input for string iteration 2023-03-13 13:44:34 +11:00
Andrew Morris
fe730a613a Don't support charAt, charCodeAt 2023-03-13 13:35:07 +11:00
Andrew Morris
d33d93bd34 Improve string indexing, codePointAt 2023-03-13 12:52:33 +11:00
Andrew Morris
b6045b24c1 Move op_sub_string into string_methods 2023-03-13 11:05:07 +11:00
Andrew Morris
5d18949719 Simplify p22 2023-03-13 10:53:04 +11:00
Andrew Morris
cd20dab817 charCodeAt 2023-03-13 10:46:59 +11:00
Andrew Morris
66a09bf118 charAt test 2023-03-13 10:34:48 +11:00
Andrew Morris
d33861a021 charAt 🫣 2023-03-12 21:30:09 +11:00
Andrew Morris
560124898b String.prototype.at (and autoformatting) 2023-03-12 21:08:45 +11:00
Andrew Morris
e5232e933c For-of loops 2023-03-12 20:38:43 +11:00
Andrew Morris
cec98637ea Move control cases into functions 2023-03-12 18:51:00 +11:00
Andrew Morris
399cfaa389 Support named exports 2023-03-12 16:40:21 +11:00
Andrew Morris
860e1108f7 Fix export_name default 2023-03-12 16:00:29 +11:00
Andrew Morris
98d92b67e6 Support export { default as (name) } 2023-03-12 15:51:06 +11:00
Andrew Morris
8d54c0907c Support more named exports 2023-03-12 15:32:57 +11:00
Andrew Morris
1b76dcafa5 Partial support for named exports 2023-03-12 15:17:14 +11:00
Andrew Morris
951ee0005d Enumerate module decls 2023-03-12 14:31:33 +11:00
Andrew Morris
93496816a1 Docs for valuescript_program_embed 2023-03-10 13:27:21 +11:00
Andrew Morris
4e77747ae6 Add valuescript_program_embed 2023-03-10 13:10:48 +11:00
Andrew Morris
c65f196121 p28 2023-03-10 11:00:37 +11:00
Andrew Morris
98bc105f52 p26 2023-03-10 00:04:49 +11:00
Andrew Morris
2d550a8e60 p25 2023-03-09 23:38:58 +11:00
Andrew Morris
3ddc995cbf Improve p23 with binary search 2023-03-09 23:07:00 +11:00
Andrew Morris
1102068d1f p23 2023-03-09 22:58:16 +11:00
Andrew Morris
87639764be p22 2023-03-09 22:41:18 +11:00
Andrew Morris
e2e0ef63b2 p21 2023-03-09 22:26:32 +11:00
Andrew Morris
0dd2e26ca2 List local imports and tree shaking in the status section 2023-03-09 16:30:37 +11:00
Andrew Morris
5838080fae Extract prime functions and SillyBigInt in Project Euler solutions 2023-03-09 16:25:09 +11:00
Andrew Morris
f2b2f4544b move BinaryTree to its own file 2023-03-09 16:16:31 +11:00
Andrew Morris
6e1b5645ac Implement default export class 2023-03-09 16:14:19 +11:00
Andrew Morris
2f98bf28ee Add other function to foo.ts 2023-03-09 15:42:32 +11:00
Andrew Morris
e50ad6bf59 Use linked compilation in test_inputs.rs and add test 2023-03-09 15:38:03 +11:00
Andrew Morris
e2f41deb95 Use linked compilation with run command 2023-03-09 15:23:42 +11:00
Andrew Morris
32943bad1a New compile command using linking 2023-03-09 15:13:19 +11:00
Andrew Morris
c5b75b35de compile -> compile_module 2023-03-09 14:17:56 +11:00
Andrew Morris
1586faad56 shake_tree 2023-03-09 14:14:51 +11:00
Andrew Morris
8548733f05 PointerVisitation 2023-03-09 13:47:22 +11:00
Andrew Morris
27fcd10f8f collapse_pointers_of_pointers 2023-03-09 13:08:14 +11:00
Andrew Morris
9917b32903 Use visitor pattern for updating pointers 2023-03-09 12:56:58 +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
452a2c5e06 Adjust copy 2023-03-08 15:58:15 +11:00
Andrew Morris
243e75f7ae clippy --fix 2023-03-08 15:07:51 +11:00
Andrew Morris
90aa54b9ab Improve copy, add contributing 2023-03-08 14:10:45 +11:00
Andrew Morris
5df451fb51 Simplify foundational example 2023-03-08 13:30:03 +11:00
Andrew Morris
76adc05837 BytecodeType::Unrecognized 2023-03-08 12:10:09 +11:00
Andrew Morris
8e44cb2e95 Compile (but not run) imports 2023-03-08 11:12:53 +11:00
Andrew Morris
db2f2d4125 populate_scope_import and other populate_scope improvements 2023-03-08 09:56:25 +11:00