Closed ArsenShnurkov closed 7 years ago
What is the goal? Do you want to update the underlying source and have the ast update or the other way around?
I want both - the ability to edit underlying source through AST (for tools), and dynamic syntax highlighting (for editors).
There is already a similar issue - https://github.com/patrickhuber/Pliant/issues/9
My proposition is to implement AST on top of Roslyn (SyntaxNode class and others) instead of your independent implementation
I'll have to look at how portable the Roslyn implementation is to a generic parser. I agree, #9 is the way this will be implemented.
Roslyn contains unsafe code, so i dismiss the idea
Does it worth to implement this algorithm on top of roslyn syntax trees?
https://stackoverflow.com/questions/25963328/how-does-the-release-version-of-roslyn-implement-immutable-trees
documentation of roslyn: https://roslyn.codeplex.com/wikipage?title=Overview&referringTitle=Documentation