This is part 14 in a series of articles on obscure programming languages.
What is Nimrod?
Nimrod is a general purpose, statically-typed, imperative programming language that supports procedural, object-oriented, functional and generic programming styles while remaining simple and efficient. Nimrod runs on Windows, Linux, BSD and MacOS X.
Nimrod Design
The Nimrod compiler generates optimized C code and defers compilation to a wide range of external compilers. Nimrod supports objects with inheritance, overloading, polymorphism and multiple dispatch. Nimrod treats procedures as first-class entities, meaning it can also be used for functional programming. Nimrod also supports metaprogramming by a combination of generics, templates, macros, conditional compilation with compile-time function execution, and user-defined operators.
Nimrod has high-level data types, including strings, arrays, sequences, sets, tuples, enumerations, etc. Most objects created on the heap are managed with garbage collection.
Nimrod also supports a module mechanism to create independent libraries. The Nimrod standard library has I/O and OS operations, string utilities, Unicode support, regular expressions, and various parsers such as command line options, XML, CSV, and SQL.
Nimrod History
Nimrod was created in 2004 by Andreas Rumpf. It was originally coded in Object Pascal (FreePascal) and Python. However, the first version that bootstrapped (was able to compile itself) was released in 2008.
“Hello World” in Nimrod
echo("Hello, World!")
References
Article published on March 2, 2010
If you like this article, please share it: |
March 2nd, 2010 at 1:02 pm
[…] This post was Twitted by DevTopics […]
March 8th, 2010 at 6:02 am
[…] more here: Nimrod: Obscure Programming Language of the Month Share and […]
June 10th, 2011 at 2:13 am
Why it has to be a smart *beep* to use ‘proc’ for function, ‘echo’ for ‘print’ and ‘case…of…’ for ‘switch…case’? That’s just anti-humanity.
That is different for different sake.