Pre-requirements for .Net 4.0+ & VS 2010+:
- VS 2010/2012/2013 with latest SP. Warning: Newer versions of VS/.Net should not be installed on the machine.
- Disable UAC. (recomended)
- GIT Client (recommend GitExtention).
- Nemerle for .Net 4.0 & VS 2010 / .Net 4.5 & VS 2012 / .Net 4.5.1 & VS 2013 (http://nemerle.org/Downloads)
Get the code:
- Create a base folder for projects. For example: C:\NitraBase\
- If you want to build Nemerle from sources, clone Nemerle sources (git@github.com:rsdn/nemerle.git) into C:\NitraBase\Nemerle folder.
- Clone Nitra sources (git@github.com:rsdn/nemerle.git) into subfolder C:\NitraBase\Nitra\ or make Fork on https://github.com/JetBrains/Nitra, if you want to make changes in the project.
Build projects:
- Close all VS instances.
- Install latest Nemerle from http://nemerle.org/Downloads or build it from sources https://github.com/rsdn/nemerle by DevBuildQuick-4*.cmd. For example, run DevBuildQuick-VS2013.cmd for VS 2013 support.
- Enter into C:\NitraBase\Nitra\Nitra\ folder and run BuildBoot.cmd.
Using:
- Open the Nitra.sln solution and build it.
- If you want to use Nitra VS integration, you need to specify the path of Nitra folder in the NitraPath system environment variable. For example: NitraPath=C:\NitraBase\Nitra\
Debuging: Use the Nitra.Visualizer project to debug grammars.