Anyway, still watching videos about parsers and I'm starting to think all parsing should happen in language servers. Implementing syntax highlighting is a lot of work. Every editor needs to implement it for each language. And two parsers have to be run on each keystroke.
-
-
I guess I'm coming at this with a question of: "How much work would it be to write an editor from scratch?" And the answer is: "If you want to do it right there's no end to it, because supporting *all* languages perfectly is manual work."[1] That doesn't seem right.
Show this thread -
[1]: it's possible to build on the work of parsers such as tree sitter for this, so it's not quite as bad. But it'd still be nicer to only have to implement a single point integration.
Show this thread
End of conversation
New conversation -
-
-
That would be wonderful!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.