Hacker News new | ask | show | jobs
by Fizzer 5038 days ago
Looks impressive!

I'm curious how you're doing the parsing. I see that you reference both NRefactory (which reads C#) and Cecil (which reads IL) -- can you talk about how are each of these used and how you combine them?

Also, did you consider using Roslyn (Microsoft's official C# parser)? Obviously it's still beta, but once it's complete would it remove the need for Cecil and NRefactory completely?

2 comments

Why would I want to use the proprietary Roslyn when I have a working solution with the open-source NRefactory and Cecil?
I can think of a dozen reasons off the top of my head. But if you prefer to avoid proprietary utilities that's understandable.
NRefactory itself depends on Cecil, so his translator might not use Cecil at all.