Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alex-pinkus/tree-sitter-swift
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.4.2
Choose a base ref
...
head repository: alex-pinkus/tree-sitter-swift
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.4.3
Choose a head ref
  • 10 commits
  • 20 files changed
  • 3 contributors

Commits on Mar 14, 2024

  1. Recognize distributed as a modifier on actors and functions.

    I elected to specify this as a `property_modifier` given that it's a property of
    both actors and functions. I considered creating a whole `actor_declaration`
    node but that seemed a little much. Happy to move this around if needs be.
    patrickt committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    3dad344 View commit details
    Browse the repository at this point in the history
  2. Try to mollify prettier.

    patrickt committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    df623ca View commit details
    Browse the repository at this point in the history
  3. Merge pull request #380 from patrickt/distributed-keyword

    Recognize `distributed` as a modifier on actors and functions.
    alex-pinkus authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    b3f4708 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f014d8 View commit details
    Browse the repository at this point in the history
  5. Add injections for regex highlighting.

    This will allow components of regexen to be highlighted on GitHub, in the manner
    of those in JS and Ruby.
    patrickt authored and alex-pinkus committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    c27af65 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Add support for SE-0393

    This adds new rules for parameter packs and expansions in both type and
    expression position. Since this includes the keyword "repeat", which was
    already a keyword for a do-while loop, we must modify the do-while loop
    rule so that it remains valid long enough to disqualify the
    parameter-pack interpretation.
    
    With this change, it's starting to look like the "contextual keyword
    that is special cased as an identifier" pattern is going to become more
    standard. To facilitate that, this creates an explicit (hidden) rule for
    it.
    
    Fixes #381
    alex-pinkus committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    78a736d View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Revert "Loosen tree-sitter dependency versions (#379)"

    This reverts commit feb5398.
    alex-pinkus committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    fecf3a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c066feb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e04b86c View commit details
    Browse the repository at this point in the history
  4. 0.4.3 release

    alex-pinkus committed Mar 16, 2024
    Configuration menu
    Copy the full SHA
    47abc88 View commit details
    Browse the repository at this point in the history
Loading