Files
Nim/compiler
Zahary Karadjov 22dc76a361 typedesc and expr params
types are now valid proc/template/macro params and you can overload over them:
proc foo(T: typedesc)        # accept any type
proc foo(T: typedesc{int}) # overload specifically for int
proc foo(T: typedesc{int or float or Callable}) # overload for any type matching the constraints

expr{type} is a param expecting compile time value of the designated type (or type class).

when typedesc or expr params are used with a proc, the proc will be instantiated once
for each unique type/value used as parameter.
2012-03-31 18:50:48 +03:00
..
2012-02-29 00:04:34 +01:00
2012-02-29 00:04:34 +01:00
2012-03-31 18:50:48 +03:00
2012-03-31 18:50:48 +03:00
2012-03-31 18:50:48 +03:00
2012-03-31 18:50:48 +03:00
2012-01-02 23:07:35 +01:00
2012-01-02 23:07:35 +01:00
2012-01-02 23:07:35 +01:00
2012-03-31 18:50:48 +03:00
2011-04-12 01:13:42 +02:00
2012-02-09 20:13:36 +01:00
2012-01-02 23:07:35 +01:00
2011-04-12 01:13:42 +02:00
2012-01-02 23:07:35 +01:00
2012-03-31 18:50:48 +03:00
2012-03-31 18:50:48 +03:00
2012-03-31 18:50:48 +03:00
2012-03-31 18:50:48 +03:00
2012-03-31 18:50:48 +03:00
2012-03-31 18:50:48 +03:00
2012-02-06 00:19:56 +01:00
2012-03-31 18:50:48 +03:00

This directory contains the Nimrod compiler written in Nimrod. Note that this
code has been translated from a bootstrapping version written in Pascal, so
the code is **not** a poster child of good Nimrod code.