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: Emilios1995/tree-sitter-rescript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: rescript-lang/tree-sitter-rescript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 57 files changed
  • 6 contributors

Commits on Jun 2, 2024

  1. include generated files (rescript-lang#245)

    * include generated files
    
    * add node-addon-api as dependency
    
    * bump node version
    
    * specify yarn and node versions for repo
    
    * update binding.gyp
    
    * check that generated files have been checked in
    
    * add automatic code generation hooks
    FreddieGilbraith authored Jun 2, 2024
    Configuration menu
    Copy the full SHA
    5e2a44a View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Highlight fixes (rescript-lang#241)

    * Highlight variants as constructors
    
    * Add set of built-in types
    
    * Update @namespace to @module
    
    It's what's in the neovim docs right now
    
    * Update @parameter to @variable.parameter
    
    * Update string interpolation and char
    
    * Update parameter to @variable.parameter
    
    * Update annotation to attribute
    
    * Complete change of polyvar as constructors
    
    * Specialize some of the keywords
    
    * Move the => arrow to operators
    
    This is how it's in the ecma parser (JS)
    
    * Specialize ternary operator
    
    * Highlight function name in bindings
    
    * Highlight function calls
    
    * Highlight members of records and modules
    
    * Highlight unit as built-in constant
    
    * Highlight labeled parameters names as properties
    
    * Fix existing tests
    
    * Fix pipe operator call highlighting to work with simple values too
    
    * Add highlight tests for function names and calls
    
    * Add tests for module and record members
    
    * Change record field expression to member
    
    * Add test for labeled argument as property
    
    * Add test for unit highlight
    
    * Adapt to new tree-sitter last match wins
    
    * Move template highlight rule
    
    * Add string interpolation test
    
    * Remove member highlight as property
    
    * Change highlight of variable from module
    
    * Change highlight of destructured variables
    
    * Change highlight of labeled arguments
    
    * Fix highlight of variables in string interpolation
    
    * Fix parameter highlights
    
    * Move "as" to keyword.operator
    
    * Move async/await to coroutine
    
    * Fix test
    
    * Add missing punctutation highlights
    
    * Remove metadata from unit highlight
    
    * (true) and (false) as boolean
    
    ---------
    
    Co-authored-by: Pedro Castro <[email protected]>
    Emilios1995 and aspeddro authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d77653c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    444c127 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. fix: remove redundant seq call (rescript-lang#253)

    This doesn't change the grammar at all, just cleans it up a bit per the
    error message given when running `tree-sitter g` on the current build
    (with HEAD CLI version).
    ribru17 authored Jul 28, 2024
    Configuration menu
    Copy the full SHA
    be53b08 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    aspeddro committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    7a826ab View commit details
    Browse the repository at this point in the history
  3. fix typo

    aspeddro committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    a734a17 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    4606cd8 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. Update tree-sitter 0.25.2 (rescript-lang#257)

    * tree-sitter 0.25.2
    
    * update README.md
    
    * update ci
    
    * rename job name
    
    * remove job name
    
    * ci: run only on ubuntu
    aspeddro authored Mar 3, 2025
    Configuration menu
    Copy the full SHA
    cc6950a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2df8a2 View commit details
    Browse the repository at this point in the history
Loading