Firas al-Khalil

Results 13 issues of Firas al-Khalil

Is it normal for an `end` node to have a `child_count` > 0 ? I am writing a visitor for the tree, and when I visit the `end` node, I...

This patch enables the detection of darwin compilers on linux, especially needed when cross-compiling.

Optional chaining property/array access and optional function calls now produce an `optional_chain` named field. When traversing a parsed program, once can retrieve the operator by looking at the source code,...

## Issue When you require `activerecord-sqlserver-adapter` as such: ```ruby require 'activerecord-sqlserver-adapter' puts "fin" ``` You get a `method_missing` exception in `ActiveRecord::Base` (it can't find `silence_warnings`). ## Expected behavior It should...

bug
rails-7-0

# Description I have been trying to implement a multi-language parser using: 1. [Embedded Templates](https://github.com/tree-sitter/tree-sitter-embedded-template) 2. [HTML](https://github.com/tree-sitter/tree-sitter-html) 3. [Ruby](https://github.com/tree-sitter/tree-sitter-ruby) … as [described in the documentation](https://tree-sitter.github.io/tree-sitter/using-parsers#multi-language-documents) (that has a typo, see...

bug
more-information-needed

# About Adds webpack and builds browser-ready js file under `build/`. The webpack config was taken verbatim from the `eslint` project. A new entry-point is used to generate the file:...

# Description YARD is losing control with deconstruction and array of symbols. ## Steps to reproduce This is the minimal reproduction for the issue. `Gemfile`: ```ruby source 'https://rubygems.org' ruby '>=...

Bug

- [x] Bring back cross-compilation. - [x] Use rake-compiler-dock. - https://github.com/Faveod/ruby-tree-sitter/pull/63 - https://github.com/Faveod/ruby-tree-sitter/pull/69 - [x] Cross-compile and publish only on master or a branch starting with `cross-compile/**` - It seems...

It needs some pretty-printing.

I stringed this in a couple of minutes, so I am not sure whether this is enough. I tried to look for tests on collapsed sections, and couldn't find something...