Language
From Nemerle Homepage
That is the language dragons speak, and the language Segoy spoke
who made the islands of the world, and the language of our lays and
songs, spells, enchantments, and invocations.
from A Wizard of Earthsea by
Ursula K. Le Guin
Contents |
Learning Nemerle
If you already know C#, Java or C++, but haven't had much exposure to functional programming before, we suggest you try the First Tutorial. Also, it's nice to see a little example of how type inference can help write clean code quickly.
OTOH people with ML (OCaml, SML, Haskell) background may want to check ML differences page.
For wider insight into the structure of the language, see Gtk text editor, later have a look at the C# vs Nemerle differences table, and finally get through Grokking Nemerle.
People who had previous ML contacts should probably go straight to Grokking Nemerle, and having a look at the Gtk text editor later won't hurt.
The next step for anybody learning the language should be looking at the class library documentation, which also contains descriptions of interesting macro packages.
You can also access PDF and static HTML versions of the tutorials above for offline browsing.
Language documentation
- Tutorials and examples -- you will definitely want to have a look at these
- Grokking Nemerle -- is a "book" touching most core features of the language
- New features -- this page will list all new major features coming into each Nemerle version, it's good to check it after Grokking
- Quick summary of differences between C# and Nemerle
- Class library and macro packages documentation
- Reference Manual -- work in progress. The grammar is mostly complete (if not, please report a bug), but the descriptions are rather terse and imprecise
- Macros -- tutorial for basics of meta-programming in Nemerle
- FAQ -- a few frequently asked questions
- Quick Guide -- a Quick Reference Guide to Nemerle features
- Why did you... do this and that -- explanation of design choices
From reference
- Operators and their priorities
Library documentation
Class library documentation contains:
- references to the automatically generated documentation for useful classes in our library
- references to classes exposed by compiler API
- descriptions of interesting macro packages
Compiler and tools
- Information about hacking compiler, formatting guidelines, etc.
- Description of compiler's internal architecture
- Notes about C# to Nemerle converter
- Notes about compiler error messages
- Warnings which are possible to disable from ncc command line
Papers
- Introduction to Nemerle pdf PS
- Syntax-extending and type-reflecting macros for object-oriented language PDF
- Metaprogramming in Nemerle pdf PS
- Type Inference With Deferral PDF
Articles and tutorials on Nemerle at external sites
- (12.01.2005, Polish) Nemerle Akademicka Alternatywa
- (02.05.2004, Japanese) Interesting entries about Nemerle from akiramei's diary.
- (20.02.2004, Polish) Język Nemerle