Skip to content

Commits

Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on May 31, 2023

  1. Algorithms should specify their return type in more cases

    It's wrong to assert that return types are always easy to infer from algorithm steps and call sites. We also shouldn't make people read through the call sites (which might be in other documents) to figure out what an algorithm returns.
    jyasskin committed May 31, 2023

Commits on Apr 5, 2023

  1. Split surrogate into leading and trailing

    For the Encoding Standard.
    annevk committed Apr 5, 2023

Commits on Jan 16, 2023

  1. Address limits on unconstrained inputs

    Part of the wording is adopted from the HTML Standard.
    
    Follow-up: #523.
    
    Co-authored-by: Domenic Denicola <[email protected]>
    annevk and domenic committed Jan 16, 2023

Commits on Dec 21, 2022

  1. Add documentation for tuple multiple assignment

    "Let (variableOne, variableTwo) be the result of functionReturningTuple." is now a valid statement.
    
    Fixes #508.
    dlrobertson committed Dec 21, 2022

Commits on Nov 23, 2022

  1. Remove pairs some more

    annevk committed Nov 23, 2022

Commits on Oct 27, 2022

  1. Update reference instructions to account for modern taste

    And align the rest of the document as well.
    annevk committed Oct 27, 2022

Commits on Oct 17, 2022

Commits on Jul 20, 2022

Commits on May 6, 2022

Commits on May 2, 2022

  1. Editorial: reduce statement complexity of prefix algorithms

    As suggested in passing in #446.
    annevk committed May 2, 2022
  2. Add code unit suffix (ends with for strings)

    Closes #414.
    annevk committed May 2, 2022

Commits on Jan 17, 2022

Commits on Jan 3, 2022

Commits on Oct 25, 2021

  1. Remove pairs

    Overall this syntax was somewhat confusing as the slash is used for many other purposes.
    
    Fetch was using this syntax, but that is being addressed in whatwg/fetch#1339.
    
    Fixes #127.
    annevk committed Oct 25, 2021

Commits on Oct 21, 2021

  1. Add tuple indexing

    See whatwg/html#7251 for context.
    annevk committed Oct 21, 2021

Commits on Sep 28, 2021

  1. Add "start with" as link text for byte sequence's "starts with"

    Also fix some fallout from switching to positions rather than indices.
    jakearchibald committed Sep 28, 2021

Commits on Sep 22, 2021

  1. Change substring semantics to be about positions, not indices

    Previously, the spec attempted to use code unit/point indices in the substring definitions. However, this mismatched how most programming languages do substring operations, and was buggy, as noted in #402.
    
    This changes the definitions to operate on "positions" between code units/points, instead of indices, with a note explaining the difference. The resulting prose then matches most programming languages, as well as the JavaScript specification's less-formal "substring" definition.
    
    Closes #402.
    domenic committed Sep 22, 2021

Commits on Sep 10, 2021

Commits on Aug 16, 2021

  1. Allow zero index/length when substringing

    Followup to cd60f9e.
    domenic committed Aug 16, 2021
  2. Add code unit/point substring definitions

    Closes #152.
    domenic committed Aug 16, 2021

Commits on Jul 19, 2021

  1. Define exclusive ranges and list indices

    Also add "keys" and "values" as linking aliases for "get the keys"/"get the values" on maps.
    domenic committed Jul 19, 2021

Commits on May 4, 2021

  1. Editorial: avoid saying isolated surrogates

    Fixes #341.
    annevk committed May 4, 2021

Commits on Mar 23, 2021

  1. Meta: update repository files

    annevk authored and foolip committed Mar 23, 2021

Commits on Feb 2, 2021

  1. Editorial: correct ismorphic typo

    Missing a character in this example.
    martinthomson committed Feb 2, 2021

Commits on Jan 18, 2021

Commits on Jan 15, 2021

  1. Meta: default branch rename

    Helps with whatwg/meta#174.
    annevk committed Jan 15, 2021

Commits on Dec 17, 2020

  1. Meta: make #tracking-vector a permanent anchor

    Closes #349.
    domenic authored and annevk committed Dec 17, 2020

Commits on Oct 8, 2020

  1. Specify optional and named parameters

    Closes #320.
    domenic committed Oct 8, 2020

Commits on Oct 5, 2020

  1. Uniformize and expand JSON algorithms

    * Adds "Parse a JSON string into a JavaScript value" as a thin wrapper
      around %JSON.parse%.
    
    * Adds "serialize a JavaScript value to a JSON string", allowing
      standards to avoid the unexpected behavior of %JSON.stringify% when
      used on non-JSON-serializable JavaScript objects.
    
    * Renames "parse JSON from bytes" to "parse JSON bytes to a JavaScript
      value", and "serialize JSON to bytes" to "serialize a JavaScript value
      to JSON bytes". (lt="" values for the old names are kept, so as not
      to break links.)
    
    * Renames "parse JSON into Infra values" to "parse a JSON string to an
      Infra value" (again keeping the old lt="" value).
    
    * Adds "parse JSON bytes to an Infra value".
    
    * Minor tweaks to source syntax to uniformize on [$$] and ||.
    
    * Minor tweaks to variable names to uniformize on "string", "bytes",
      "jsValue", and "value".
    
    * Ensures that all exported terms in this section also have their gerund
      forms exported.
    domenic committed Oct 5, 2020
  2. Add Infra → JSON conversion algorithms

    Closes #336.
    domenic committed Oct 5, 2020
Older