Commit graph

33 commits

Author SHA1 Message Date
Aiden Cline
e26f85bcd3
refactor(codemode): run programs on one job queue instead of a fiber per async call (#57976) 2026-10-27 12:13:30 -05:00
Aiden Cline
318a8c1aba
feat(codemode): add Object.freeze/seal/create/getPrototypeOf and structuredClone (#50834) 2026-09-24 00:50:54 -05:00
Aiden Cline
dc48655743
fix(codemode): compare with == by IsLooselyEqual and stop deep-walking operands for opaque references (#50830) 2026-09-24 00:36:41 -05:00
Aiden Cline
4cc9b90f27
fix(codemode): add Promise.try and surface a failing iterator close on generator return (#50419) 2026-09-21 15:35:11 -05:00
Aiden Cline
1316576720
refactor(codemode): type program values and let built-ins answer for themselves (#50191) 2026-09-21 11:03:16 -05:00
Aiden Cline
62dc1f7696
feat(codemode): add toLocaleString, Error.isError, and Map.getOrInsert (#50098) 2026-09-20 10:23:23 -05:00
Aiden Cline
0b15abbf9a
refactor(codemode): make the host boundary JSON.stringify plus a short table (#49128) 2026-09-15 01:23:20 -05:00
Aiden Cline
9ae714d49d
feat(codemode): add Uint8Array, drop the Program prefix, and give built-ins one context (#49076) 2026-09-14 23:35:48 -05:00
Aiden Cline
3468a092c9
feat(codemode): expose host classes and functions through extensions (#48941) 2026-09-14 12:29:00 -05:00
Aiden Cline
5d3019e5a1
refactor(codemode): materialize interpreter failures once and locate them at the call boundary (#48770) 2026-09-13 20:19:31 -05:00
Aiden Cline
6add96698e
refactor(codemode): move built-ins onto real prototypes with native function objects (#48608) 2026-09-12 02:19:30 -05:00
Aiden Cline
b2e6e764a8
refactor(codemode): give errors a real prototype chain and JS error types (#48559) 2026-09-11 21:45:29 -05:00
Aiden Cline
10ae321bf3
refactor(codemode): give programs their own objects and arrays (#48527) 2026-09-11 13:36:35 -05:00
Aiden Cline
e22cd0a585
refactor(codemode): collapse repeated loop, promise, and Object shapes (#48283) 2026-09-10 00:02:58 -05:00
Aiden Cline
5ec7dd968c
fix(codemode): coerce enumeration sources like JS ToObject (#48257) 2026-09-09 22:24:55 -05:00
Aiden Cline
50ed7c41ef
refactor(codemode): treat prototype-named keys as ordinary data (#48218) 2026-09-09 16:54:55 -05:00
Aiden Cline
7f2510c5ca
fix(codemode): name the received value in data diagnostics and document intentional gaps (#48211) 2026-09-09 14:48:51 -05:00
Aiden Cline
1fe06bb4ed
refactor(codemode): define built-in globals as host functions and namespaces (#48072) 2026-09-08 23:57:03 -05:00
Aiden Cline
08e28fb915
refactor(codemode): name the data boundary and prepare tools once (#48021) 2026-09-08 21:35:36 -05:00
Aiden Cline
8b09f6415a
refactor(codemode): export runtime value classes as Values (#48000) 2026-09-08 12:11:34 -05:00
Kit Langton
dffd95ce7c
fix(codemode): reject Object.assign cycles (#46076) 2026-08-31 20:38:02 -04:00
Aiden Cline
c8a40450e5
feat(codemode): support generator functions (#38172) 2026-07-21 20:36:42 -05:00
Aiden Cline
6f4b9504e5
feat(codemode): support custom async iterators (#38141) 2026-07-21 12:18:46 -05:00
Aiden Cline
8d80365ef4
refactor(codemode): simplify model-facing wording (#38042) 2026-07-21 10:19:53 -05:00
Aiden Cline
0c18d06c9f
feat(codemode): add groupBy parity (#37992) 2026-07-20 14:58:09 -05:00
Aiden Cline
5f437a09b0
feat(codemode): native coercion parity in interpreter (#37608) 2026-07-18 12:01:10 -05:00
Aiden Cline
60c7f847c1
feat(codemode): support void and Object.is (#37332) 2026-07-16 11:15:29 -05:00
Aiden Cline
ecb5754f4c
refactor(codemode): rename Sandbox terminology to CodeMode (#36768) 2026-07-13 16:38:11 -05:00
Aiden Cline
8e76adb08f
feat(codemode): support promise chaining with .then/.catch/.finally (#36304) 2026-07-10 18:22:04 -05:00
Aiden Cline
f86e1cc1ff
fix(codemode): preserve collection value identity (#35776) 2026-07-07 13:40:55 -05:00
Aiden Cline
ba24037e64
feat(codemode): math parity (#35609) 2026-07-06 16:47:17 -05:00
Kit Langton
0e1c0414c2
fix(codemode): align mutable JavaScript semantics (#35598) 2026-07-06 15:55:32 -04:00
Aiden Cline
4cee5bd824
refactor(codemode): split interpreter and stdlib (#35572) 2026-07-06 12:01:14 -05:00