tree-sitter / tree-sitter-javascript

Javascript grammar for tree-sitter
MIT License
314 stars 108 forks source link

chore: split javascript and jsx parsers into separate dialects #285

Closed calebdw closed 3 months ago

calebdw commented 3 months ago

Checklist:

Hello!

I just recently split the php grammar into separate dialects and decided to give this parser a whirl. This follows the same pattern as used by tree-sitter-typescript and tree-sitter-php.

Note that the typescript grammar will need to be update after this is merged. I will try to create a sister branch on that repo in preparation for this.

Thanks!

Closes #244

calebdw commented 3 months ago

Closing per https://github.com/tree-sitter/tree-sitter-javascript/issues/244#issuecomment-1908764548