A Roslyn-inspired full-fidelity XML parser with no dependencies and a simple Visual Studio XML language service
A Roslyn-inspired full-fidelity XML parser with no dependencies and a simple Visual Studio XML language service
A Roslyn-inspired full-fidelity XML parser with no dependencies and a simple Visual Studio XML language service.
This is work in progress and by no means complete. Specifically:
https://xmlsyntaxvisualizer.azurewebsites.net/index.html
The above app leverages the parser and can help you visualize the resulting syntax tree generated from an XML document.
Code is available at https://github.com/garuma/XmlSyntaxVisualizer C# UWP example at https://github.com/michael-hawker/XmlSyntaxVisualizerUWP
Also see the blog post: https://blog.neteril.org/blog/2018/03/21/xml-parsing-roslyn/
Resources about Immutable Syntax Trees: https://github.com/KirillOsenkov/Bliki/wiki/Roslyn-Immutable-Trees
SyntaxLocator.FindNode(SyntaxNode node, int position);…No open issues yet, or sync has not completed.