It would be nice to have a `Tree-sitter 
<https://tree-sitter.github.io/tree-sitter/>` parser for Nim. I tried to make 
one, but had severe issues with the ambiguity of Nim's grammar (Tree-sitter 
doesn't support ordered choice). Maybe someone with more expertise could tackle 
it?

A Tree-sitter implementation could be useful for IDE-like features such as 
smart syntax highlighting, syntax-aware selection, argument swapping and other 
IDE-like features.

Reply via email to