Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
antlr
passing
AssemblyInfo.cs
AssemblyInfo.n
CSharpAntlr.csproj
Emit.n
ExtendedToken.n
GotoElimination.n
Makefile
Message.n
README
StatementTree.n
TranslationOptions.n
checkregress
convert
cs2n.n
cs2n.nproj
cs2n.sln
cs2nlib.nproj
csharpgrammar.g
prepare
test

README

1. What is cs2n?
~~~~~~~~~~~~~~~~

cs2n is a tool for converting C# sources into Nemerle sources.

2. Requirements
~~~~~~~~~~~~~~~

You need to have antlr installed - ANother Tool for Language Recognition (www.antlr.org), which is used to create lexer and parser. Also, you need Java environment(antlr is written in Java).

2. Compiling
~~~~~~~~~~~~

To compile type:
	
	./configure
	make

3. Running
~~~~~~~~~~

To convert your sources type:

	cs2n input_file.cs output_file.n

WARNING: program is under development now, so it won't produce any code, that could be compiled with ncc.
Something went wrong with that request. Please try again.