summary refs log tree commit diff stats
path: root/compiler/evaltempl.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #3359Araq2015-09-231-3/+2
|
* compiler: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-3/+3
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Disable the new generic params handling for immediate template and macrosZahary Karadjov2015-08-021-1/+11
| | | | | | | | | | | | | | Since immediate templates are not subjected to the standard sigmatching algorithm, they will have a number of deficiencies when it comes to generic params: Type dependencies between the parameters won't be honoured and the bound generic symbols won't be resolvable within their bodies. We could try to fix this, but it may be wiser to just deprecate immediate templates and macros now that we have working untyped parameters. Disabling the new features is admittedly not the greatest way to handle this situations as it introduces inconsistency in the language, but at least it makes the code backwards-compatible with the previous version of the compiler instead of triggering more serious problems.
* fix #1858 again; restores the support for static macro paramsZahary Karadjov2015-08-021-16/+34
|
* fixes #3044Araq2015-07-021-1/+3
|
* fixes #1940; code breakage! stricter template evaluationAraq2015-03-071-5/+5
|
* nimsuggest improvementsAraq2015-01-301-1/+1
|
* fixes #1915Araq2015-01-121-1/+1
|
* Revert 5e4ae8dDustin Lacewell2015-01-071-33/+17
|
* fix #1858; Add support for generic templates and macrosZahary Karadjov2015-01-051-17/+33
| | | | | | | | | Implementation notes: Just after overload resolution, the resolved generic params will be added to the call expression to be later processed in evalTemplate and evalMacroCall. These procs have been modified to handle the increased number of parameters, but one remaining issue is that immediate templates and macros don't go through the same process. The next commit will outlaw the use of generic parameters with such macros.
* Nimrod renamed to NimAraq2014-08-281-1/+1
|
* case consistency: next stepsAraq2013-12-291-1/+1
|
* case consistency part 4Araq2013-12-271-6/+6
|
* attempt to improve line information for '!=' etc. templatesAraq2013-10-151-32/+13
|
* bugfix: evalTemplateArgsAraq2012-10-141-1/+1
|
* term rewriting macros fully implemented; still buggyAraq2012-09-031-10/+52
|
* first steps to make templates hygienicAraq2012-08-201-0/+83