Examples of Nemerle Code

1. Introduction

This page lists some snippets of Nemerle code you may want to look at. If you have any example to be submitted here -- please contact us.

2. Snippets

You can find various examples of Nemerle code in snippets directory in Nemerle source tree. Examples include:

These are also bundled with the source distribution.

There are also several more advanced examples there:

2.1. Nemerle Course programs

Examples done by students during the Nemerle course at the CS Institute in the Wroclaw University.

2.2. ICFP'2004 Programming Contest entry

In June 2004 there was a contest to create finite state automata controlling the ants. Our entry is now available here.

2.3. The Great Language Shootout Examples

These are the few examples ported from the Win32 Computer Language Shootout. We didn't submit them yet, looking for volunteers to port more. When we have enough examples, we will also send them to the recently linked renewed shootout.

2.4. ntrace

This simple program will trace memory leaks in programs written in C. By Jacek Śliwerski.

2.5. Sioux HTTP server

A simplistic HTTP server. The main idea behind it is to serve web applications written in Nemerle. It already served as a subscription server for the XVIII-th FIT (a local conference).