Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | new tester; all tests categorized | Araq | 2014-01-13 | 1 | -17/+0 |
| | |||||
* | make more tests green | Zahary Karadjov | 2013-12-29 | 1 | -4/+4 |
| | |||||
* | static params: expr[T] is now static[T] | Zahary Karadjov | 2013-12-19 | 1 | -1/+1 |
| | | | | | | | This introduces tyStatic and successfully bootstraps and handles few simple test cases. Static params within macros are no longer treated as PNimrodNodes - they are now equivalent to constants of the designated type. | ||||
* | further improvements for term rewriting macros | Araq | 2012-09-04 | 1 | -1/+1 |
| | |||||
* | typedesc and expr params | Zahary Karadjov | 2012-03-31 | 1 | -0/+17 |
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. |