opencode/packages/codemode-rust
Sebastian Herrlinger fedd6bd772 fix(codemode): bind and run what never-run syntax hides as the reference does
A var declared only inside a with body is not bound, since the reference never
compiles that body, so the name reads the global. A using or await using
declaration is a const that nothing disposes. An import below the top level does
nothing in the program and throws its SyntaxError where it runs in a function. A
read of, or write to, a name fails at the name itself, so a parenthesized
assignment target is located where the reference locates it. ThrowSyntax now
throws a plain SyntaxError and ThrowUnsupported the unsupported-syntax one.
2026-11-19 00:28:20 +01:00
..
bench chore(codemode): regenerate bench results after the Map/Set and string speedups 2026-11-18 18:56:14 +01:00
conformance test(codemode): record unknown-tool suggestions and regenerate the streaming recording 2026-11-18 23:55:55 +01:00
crates/psychoscript fix(codemode): bind and run what never-run syntax hides as the reference does 2026-11-19 00:28:20 +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 docs(codemode): describe the crate's language and Code Mode layers 2026-11-18 22:26:08 +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