Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
73 lines (43 sloc) 2.3 KB

What Is It

Nemerle is a high-level statically-typed programming language for the .NET platform. It offers functional, object-oriented and imperative features. It has a simple C#-like syntax and a powerful meta-programming system.

Features that come from the functional land are variants, pattern matching, type inference and parameter polymorphism (aka generics). The meta-programming system allows great compiler extensibility, embedding domain specific languages, partial evaluation and aspect-oriented programming.

To find out more, please visit: http://nemerle.org/

Quick sample

Hello world

Create hello.n:

using System.Console;

WriteLine("Hello world")

Compile and run

"C:\Program Files\Nemerle\ncc.exe" hello.n /out:hello.exe
hello.exe

Will output

Hello world

Install

Windows

Install latest msi package from http://nemerle.org/

Linux, Mono

Download latest binary package from http://nemerle.org and export Nemerle=/path/to/binaries/extracted

How to build

Windows

Run DevBuildQuick.cmd or DevBuildQuick-4.cmd depend on required netfx version. Compiler output will be placed at bin/Debug/net-{fx-version}/Stage1.

Note: for building Visual Studio bindings you need VSSDK and administrative rights.

Linux

Nemerle can't bootstrap itself on Mono, but can be used as binaries.

What about IDE?

  • Visual Studio 2008/2010 integration installed by Nemerle installer
  • Nemerle Studio is a free IDE based on Visual Studio Shell (Isolated mode) installed by Nemerle installer if VS Shell was installed
  • Sharp Develop 3.0 addin can be builded manually. See snippets/sharpdevelop/ReadMe.txt
  • See Vim, Emacs, Kate and other editors syntax support in the 'misc' folder

Repository structure

  • Nemerle compiler sources (ncc/),
  • Nemerle Documentation (doc/),
  • standard Nemerle library (lib/),
  • standard Nemerle macros (macros/),
  • some examples of Nemerle programs (snippets/),
  • a few useful tools (e.g. synatx highlighting modes) (misc/),
  • binary Nemerle compiler needed to compile itself (boot/, boot-4.0/).
  • Nemerle realted tools (e.g. relector addin) (tools/)
  • Visual Studio 2008 integration (VsIntegration/)

Contacts

Something went wrong with that request. Please try again.