swagger-api / apidom

Semantic parser for API specifications
https://swagger-api.github.io/apidom/
68 stars 18 forks source link

Bump tree-sitter and grammars to >= 0.21.0 #4048

Closed jpulec closed 5 months ago

jpulec commented 6 months ago

Is your feature request related to a problem?

The newer versions of tree-sitter and its grammars use prebuildify which means that you don't need to run postinstall scripts to get the necessary built bindings. This makes things much nicer for any projects that are downstream.

Describe the solution you'd like

Bump to later versions of tree-sitter and its grammars.

Describe alternatives you've considered

N/A

char0n commented 5 months ago

Hi @jpulec,

Unfortunately we cannot at this point. The reasoning is in https://github.com/swagger-api/apidom/issues/194#issuecomment-1602399929. Long story short the tree-sitter-yaml grammar is abandoned and tree-sitter team is working on new one, which is going to be utilized in https://github.com/swagger-api/apidom/issues/4033. The latest tree-sitter tool-chain will be utilized in ApiDOM in near (foreseeable) future