| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
first class iterator support
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
typedesc and typeclasses 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.
|
|
|
|
| |
classes.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
variables; os.nim does not rely on it anymore
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Some new options added to the compiler (see news.txt for details)
|
|
|
|
| |
compiler from optimizing away all stack roots
|
| |
|
| |
|
| |
|