Commit Graph

894 Commits

Author SHA1 Message Date
Andrew Morris
da94fcb947 Add release pseudo-instruction 2023-06-30 10:04:08 +10:00
Andrew Morris
4005510bf2 Remove .take() from compiler first pass 2023-06-30 09:47:31 +10:00
Andrew Morris
ae4c0a5be2 Don't extract empty arrays and objects 2023-06-30 09:36:36 +10:00
Andrew Morris
ebf4ca9ae4 Fix bugs 2023-06-29 19:26:42 +10:00
Andrew Morris
842ad083b5 wip 2023-06-29 18:39:02 +10:00
Andrew Morris
bbb0a9ffaf Split into simplify and apply 2023-06-29 16:22:20 +10:00
Andrew Morris
76bc24f4fb Comment instead of empty 2023-06-29 16:09:08 +10:00
Andrew Morris
4d7e9a2e5c Remove redundant require_mutable_this 2023-06-29 16:01:19 +10:00
Andrew Morris
76995eaf2d Split out optimization dir 2023-06-29 15:22:06 +10:00
Andrew Morris
f5fa17ed25 Fix pointer ordering, extract constant arrays and objects 2023-06-29 15:03:21 +10:00
Andrew Morris
b315f07903 Extract optimize.rs 2023-06-29 12:03:43 +10:00
Andrew Morris
dc99c521af Fix raytrace, add overall score to benchmark 2023-06-29 11:42:12 +10:00
Andrew Morris
05efdfd517 Add structural comparison 2023-06-29 11:05:12 +10:00
Andrew Morris
b2bb618c52 Simplify array methods 2023-06-29 09:21:25 +10:00
Andrew Morris
a8dbbe63a7 Prefer InternalError over panicking 2023-06-29 09:00:27 +10:00
Andrew Morris
14f7ee2cb6 Add internal error and use it for todos 2023-06-29 08:50:48 +10:00
Andrew Morris
aab67fd678 Improve error 2023-06-28 18:09:26 +10:00
Andrew Morris
0a840c0b08 Fallback to ecma spec-based comparisons 2023-06-28 17:56:56 +10:00
Andrew Morris
4642f22344 Make todos more descriptive 2023-06-28 15:59:17 +10:00
Andrew Morris
b798304070 Implement cond expressions 2023-06-28 15:49:44 +10:00
Andrew Morris
3cdd101349 Update comments, remove global call 2023-06-28 14:13:43 +10:00
Andrew Morris
9f3d77c91e Move checkNumber inside engine 2023-06-28 14:10:07 +10:00
Andrew Morris
44d17ba8dd Finish typescript porting 2023-06-28 14:09:08 +10:00
Andrew Morris
67ca6dbd09 Partial class conversion 2023-06-28 13:35:56 +10:00
Andrew Morris
3afe02a1d0 var -> let 2023-06-28 13:01:01 +10:00
Andrew Morris
177af00724 Auto formatting 2023-06-28 12:57:42 +10:00
Andrew Morris
aac6fa10d5 Add copy of octane/raytrace 2023-06-28 12:57:25 +10:00
Andrew Morris
2aa06ecc51 Add note 2023-06-28 12:51:14 +10:00
Andrew Morris
26f1c47d93 Move addConstraint to planner 2023-06-28 10:37:02 +10:00
Andrew Morris
1b323020f7 planner.addConstraint 2023-06-28 10:33:25 +10:00
Andrew Morris
36bbb8d965 Move addContraint out of constructors 2023-06-28 10:21:55 +10:00
Andrew Morris
58b4a1ec50 Avoid global planner 2023-06-28 10:07:07 +10:00
Andrew Morris
52805f8e2d Throw errors instead of alerting 2023-06-28 09:47:42 +10:00
Andrew Morris
deca183318 Fix invalid derived accesses during super calls 2023-06-28 09:45:41 +10:00
Andrew Morris
bfcc3f06fb Initial port of deltablue 2023-06-28 09:29:29 +10:00
Andrew Morris
9c9211e984 Add copy of deltablue 2023-06-28 09:27:05 +10:00
Andrew Morris
e49b1ff3da Implement yield* instruction 2023-06-27 14:38:42 +10:00
Andrew Morris
074774d9d6 Fix valuescript_wasm 2023-06-25 20:45:31 +10:00
Andrew Morris
fb7f925bfb Use module constants in richards.ts 2023-06-23 16:11:22 +10:00
Andrew Morris
50369d18f3 Partial support for module constants 2023-06-23 15:41:16 +10:00
Andrew Morris
9135181634 Mark most module statements as not supported 2023-06-23 14:17:10 +10:00
Andrew Morris
a03aecedac Add static eval for literals 2023-06-23 14:10:37 +10:00
Andrew Morris
c880dda7c9 Extract string constants 2023-06-23 13:48:58 +10:00
Andrew Morris
f49762c040 Simplify richards.ts using static methods 2023-06-23 11:02:44 +10:00
Andrew Morris
5e4f89bd2b Playground updates 2023-06-23 10:44:08 +10:00
Andrew Morris
61b1f6471e range -> numbers 2023-06-23 10:24:30 +10:00
Andrew Morris
0308f2fa0f range -> iUntil 2023-06-23 10:23:18 +10:00
Andrew Morris
ba1390d653 Use statics in Range 2023-06-23 10:18:06 +10:00
Andrew Morris
540b25225a Compile static methods 2023-06-23 10:02:32 +10:00
Andrew Morris
6ef2eea2c1 Subscript classes using .static_ 2023-06-23 09:51:28 +10:00