Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Spec Review #60

@jridgewell

Description

@jridgewell
  • Why do we need a "ASCII punctuators that need escaping" phrase?
  • Nit: rename cuList to something else. Maybe escapedList?
  • > If c is the first code point in cpList and c is a DecimalDigit, then
    • I don't see the phrase "is the first … in" anywhere else. I think we can update that to state "if cuList is empty" and use a defined "is empty" phrase and keep the same behavior.
  • There are several references to cuList that need to become _cuList_
  • > Append the elements of the UTF16Encoding (10.1.1) of c to cuList
    • What is UTF16Encoding? That 10.1.1 is 10.1.1 [[GetPrototypeOf]] ( )
  • There are several 0x00XY references "unicode" references, shouldn't they all be U+00XY?
  • DecimalDigit and WhiteSpace should be |DecimalDigit| and |WhiteSpace|
  • > and c is a DecimalDigit
    • c is a code point, can you compare it to a DecimalDigit production?
  • u> and c is a WhiteSpace
    • c is a code point, can you compare it to a WhiteSpace production?
  • > c is a CharSetElement of toEscape
    • c is a code point needs to be cast to a CharSetElement before we can check if it's an element of the set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions