tree-sitter-ruby icon indicating copy to clipboard operation
tree-sitter-ruby copied to clipboard

Ruby grammar for tree-sitter

Results 51 tree-sitter-ruby issues
Sort by recently updated
recently updated
newest added

I auto-formatted `src/scanner.cc` in https://github.com/tree-sitter/tree-sitter-ruby/commit/ef073f7e70a1f41168f6c4740e2716c681cf484d?w=1 . It's probably easiest to review on a commit-by-commit basis. This pull request changes the scanner to no longer recognize interpolations and escape sequences in...

This is not supposed to be merged. Checklist: - [ ] All tests pass in CI. - [ ] There are sufficient tests for the new fix/feature. - [ ]...

This pull request adds a script named `script/print-ast.rb` which uses the Ruby::Ripper parser to parse a Ruby file and prints its AST in the same form as tree-sitter. It can...

The Ruby parser seems to generally work well, and if it takes an oversized parse table to drive it, then okay. However, doing `git clone` of the Tree sitter repo,...

Hi! I just found tree-sitter-ruby through endwise/endsitter VS Code extension: https://github.com/kaiwood/vscode-endwise/pull/32 Endsitter works great, except that it doesn't support Ruby 3.0 and 3.1 syntax. I'm using Ruby 3.1 in most...

Originally reported by @grajagandev at https://github.com/github/codeql/issues/9313 > **Description of the issue** > > I am seeing parser errors on Ruby lambdas. Here is a test case: > > ``` >...

Allow a range of tree-sitter in dependencies. (Akin to tree-sitter-go)

I see in your code you have a regex for capturing global variables, but could not find it in the `.scm` files. I am unsure how to add global variables...

Hi all! This might not be the right place to submit this request, just trying to get my bearings. I'm coming at this as a user of [nvim-treesitter-textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects) and I'm...

Hi y'all, While working on adding Ruby to [cursorless](https://github.com/cursorless-dev/cursorless-vscode) I discovered this edge case bug. The following code is valid Ruby with block comments requiring the `=begin`/`=end` block comment beginning...