Reputation: 6018
I am using Nemerle on VS2010. I wish to convert some c sharp code to nemerle sources
How to install cs2n on windows ?
I checked the tutorials but the way of using ANTLR is also not clear.
Upvotes: 2
Views: 102
Reputation: 1593
There is no working tool now.
You have AstConverter here: https://github.com/rsdn/nemerle/tree/master/snippets/csharp-parser/CSharpToNemerle
You can write some code which writes Nemerle code output.
Upvotes: 1
Reputation: 175
The Nemerle includes the PegGrammar macro. This is a parser generator macro in many respects superior to ANTLR. Use it instead.
Upvotes: 1
Reputation: 14041
CS2N is not a very good tool. It is unmaintained and has poor C# support. There is little use for it, because the Nemerle compiler can read C# code as is.
Upvotes: 2