opencode/packages/codemode-rust
Sebastian Herrlinger 4faf34382c feat(codemode): call a crossing's toJSON from a native frame
The walk that crosses tool arguments, search input and the program's result to the host now calls each toJSON from a native frame it pushes, as bytecode calls it, so a toJSON can park for search(...), suspend and be saved in a snapshot. A search's walk runs in its frame and parks it with the search's frames when it awaits. The fast path makes a Date's or URL's JSON itself instead of calling the prototype's toJSON, as the reference does.
2026-11-18 18:56:13 +01:00
..
bench test(codemode): check libm-dependent pow and hypot cases on Linux only 2026-11-18 18:56:12 +01:00
conformance feat(codemode): call a crossing's toJSON from a native frame 2026-11-18 18:56:13 +01:00
crates/psychoscript feat(codemode): call a crossing's toJSON from a native frame 2026-11-18 18:56:13 +01:00
test262 feat(codemode): hold huge sparse arrays 2026-11-18 18:56:11 +01:00
.gitignore feat(codemode): add embeddable Rust port 2026-11-18 18:53:56 +01:00
AGENTS.md test(codemode): record tool calls with invalid input from the reference 2026-11-18 18:56:12 +01:00
Cargo.lock feat(codemode): collate localeCompare like the reference's host 2026-11-18 18:56:11 +01:00
Cargo.toml test(codemode): add a test262 parity runner for the Rust port 2026-11-18 18:53:57 +01:00
rust-toolchain.toml chore(codemode): pin the Rust toolchain and prepare compare.sh for CI 2026-11-18 18:53:57 +01:00