Implement logical AND and OR as the third item on the Test262 roadmap's minimum viable slice. These operators are needed for short-circuit guards in assert.js/sta.js harness files that every Test262 test includes. - Add AmpAmp/PipePipe tokens and LogicalAnd/LogicalOr BinaryOp variants - Parse with correct precedence (assignment > || > && > equality) - Short-circuit evaluation handled entirely in eval_expr; eval_binary uses unreachable!() to enforce that logical ops never reach it - Promote js262-logical-and and js262-logical-or from known_fail to pass - Add 23 unit tests covering tokenization, parsing, precedence, short-circuit semantics, value preservation, and side-effect skipping - Update docs: roadmap, feature matrix, and conformance report Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
19 B
19 B