Files
Shanon Jackson fed8ff8753 fix(lexer): close remaining grammar gaps in context-dependent tokenization (#26377)
Closes out remaining spec compliance gaps in the lexer, Regex vs
Division cases, `>>` cases, + many more.

Fully passes on Test262, All Typescript tests, Oxc tests, SWC tests,
VSCode (codebase), And 1_000 machine hours of differential fuzzing;
Confidence is high that it's either 'correct' or very close.

This PR specifically needs AI Disclosure in both finding and fixing the
cases now because the bitwise logic is complex; Something that I'll
start addressing once 'correctness' is locked in (and performance).

---------

Co-authored-by: overlookmotel <theoverlookmotel@gmail.com>
2026-09-07 11:12:57 +01:00
..

Oxc Lexer

A spec compliant standalone lexer for JS/JSX/TS.

Overview

  • Test262 compliant.
  • TS/JSX Working
  • UTF-8 validation costs 0.15CPB (Cycles per byte), optional parameter.
  • SIMD in x86_64 AVX2, Scalar for every other platform currently (in progress).
  • Regex vs Division cases should be handled even in pathological cases.