I need to convert C # code to an equivalent XML representation.
I plan to convert C # code (C # 2.0 code snippets, not generic or null types) to AST, and then convert AST to XML. Looking for a simple lexer / parser for C #, which AST displays.
Any pointers to converting C # code to an XML representation (which can be converted back to C #) will also be useful.
Yours faithfully,
source
share