문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

The Nemerle includes the PegGrammar macro. This is a parser generator macro in many respects superior to ANTLR. Use it instead.

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top