Nemerle is a programming language created in 2003.
#201on PLDB | 20Years Old | 177Repos |
Nemerle is a general-purpose high-level statically typed programming language designed for platforms using the Common Language Infrastructure (.NET/Mono). It offers functional, object-oriented (OO) and imperative features. It has a simple C#-like syntax and a powerful metaprogramming system. Read more on Wikipedia...
class Hello
{
static Main () : void
{
System.Console.WriteLine ("Hello World");
}
}
// Hello World in Nemerle (a functional programming language for .NET)
System.Console.WriteLine("Hello World");
using System.Console;
module Program
{
Main() : void
{
WriteLine("Hello world");
}
}
using System;
using System.Runtime.InteropServices;
class PlatformInvokeTest
{
[DllImport("msvcrt.dll")]
public extern static puts(c : string) : int;
[DllImport("msvcrt.dll")]
internal extern static _flushall() : int;
public static Main() : void
{
_ = puts("Test");
_ = _flushall();
}
}