Commit Graph

101 Commits

Author SHA1 Message Date
Andrew Morris
120cede42d Add capture test 2023-03-22 09:34:03 +11:00
Andrew Morris
a046a8e4fc Fix bigint + type error 2023-03-21 16:47:54 +11:00
Andrew Morris
79534a8d38 Enable testing exceptions with test_output 2023-03-21 11:23:05 +11:00
Andrew Morris
d2c437a9b6 BigInt 2023-03-20 17:59:07 +11:00
Andrew Morris
b71bf3a9d1 Array builtin 2023-03-20 14:31:41 +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
07a299c465 Boolean builtin 2023-03-20 09:56:50 +11:00
Andrew Morris
606b2be84d toExponential, toFixed 2023-03-17 12:58:14 +11:00
Andrew Morris
791e69dcca number_builtin 2023-03-17 01:00:10 +11:00
Andrew Morris
751bf7a30d substring, toLowerCase, toString, toUpperCase, trim, trimEnd, trimStart, valueOf 2023-03-16 23:41:45 +11:00
Andrew Morris
efb21c777a split 2023-03-15 11:39:28 +11:00
Andrew Morris
48314c692d slice (string) 2023-03-15 09:21:58 +11:00
Andrew Morris
a9e52e564f repeat 2023-03-14 11:49:58 +11:00
Andrew Morris
f2edd6f866 padEnd, padStart 2023-03-14 09:40:21 +11:00
Andrew Morris
f0d9c996e9 lastIndexOf 2023-03-13 21:18:58 +11:00
Andrew Morris
3f9a52a461 indexOf (string) 2023-03-13 20:36:08 +11:00
Andrew Morris
c3c49f43ee includes 2023-03-13 20:13:37 +11:00
Andrew Morris
253b06141c fromCodePoint 2023-03-13 14:25:55 +11:00
Andrew Morris
11e77f36bd endsWith 2023-03-13 14:02:35 +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
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
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
399cfaa389 Support named exports 2023-03-12 16:40:21 +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
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
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
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
5df451fb51 Simplify foundational example 2023-03-08 13:30:03 +11:00
Andrew Morris
be9b078864 Simplify default exports, fix anonymous 2023-03-07 10:05:17 +11:00
Andrew Morris
812b51dbba Fix inputs/passing/projEuler/p15.ts 2023-03-06 19:38:19 +11:00
Andrew Morris
88cac1fbe2 Removed remaining inline assembly 2023-03-06 18:29:56 +11:00
Andrew Morris
7ea97ad22b More test updates 2023-03-02 18:39:23 +11:00
Andrew Morris
1daef33ad4 Add test 2023-03-02 18:33:14 +11:00