06:24
<loganfsmyth>
In case anyone has thoughts: https://stackoverflow.com/questions/70973827/is-there-a-mistake-in-ecmascript-spec-relating-to-unicode-code-points
06:33
<devsnek>
i think the spec is saying exactly what you do
06:33
<devsnek>

When a stream of code points is to be parsed as an ECMAScript Script or Module, it is first converted to a stream of input elements by repeated application of the lexical grammar;

06:34
<devsnek>
i think this is the section of the spec that defines what it means to actually "parse sourceText using goalSymbol"
06:42
<bakkot>
yup, that's my reading too