incremental parser support #58
Replies: 3 comments 7 replies
-
here is the |
Beta Was this translation helpful? Give feedback.
-
Yes, of course we can consider using it :) Solving performance problems is the purpose of establishing this project. Quick preview for what volar parser using:
There are currently no obvious performance problems with regex, because the usage of regex is very small, and in the case of on-demand calculation, regex will not be calculated if But we have performance problems from typescript's The project is still changing rapidly, discussing efficiency in github may be very low, you can find me on discord if you need, my id is |
Beta Was this translation helpful? Give feedback.
-
Please track #1718. |
Beta Was this translation helpful? Give feedback.
-
tree-sitter is a error tolerant and incremental parser, which is blazing fast for editor scenario, i took a glance at our codebase, which has using a lot of Regular Expression and hardcoding parsing, which is inefficient. I am pretty familiar with tree-sitter , and I am willing to integrate it with our project. However i am not familiar with our project , maybe you could write a more detailed infrastructure to me ?
Beta Was this translation helpful? Give feedback.
All reactions