nedpals / tree-sitter-v

Tree-sitter parser for V
MIT License
24 stars 5 forks source link

Please clarify plans post vls deprecation #21

Closed demizer closed 1 year ago

demizer commented 1 year ago

Hello, thank you for creating this project.

I am using this parser with Neovim and I noticed some errors in the treesitter playground in my source file that is relatively simple and I want to contribute some fixes.

Studying the project, I see that VLS is used as a parsing library but unfortunately that project has been deprecated and archived upstream.

What are the plans for post VLS?

It should not be necessary to have a dependency of v to write a custom parser for the features that v requires in treesitter. This should be possible in C relatively simply. I've done this for another language called Jakt.

Would accept a merge request that removes that dependency?

Thanks!

demizer commented 1 year ago

v-analyzer has the changes made to this parser:

https://github.com/v-analyzer/v-analyzer/tree/main/tree_sitter_v

Not sure of quality yet though.

demizer commented 1 year ago

seems neovim is already using this parser

https://github.com/nvim-treesitter/nvim-treesitter/blob/master/lua/nvim-treesitter/parsers.lua#L1868