summary refs log tree commit diff stats
path: root/compiler/patterns.nim
Commit message (Collapse)AuthorAgeFilesLines
* compiler: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-5/+5
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Introduce {.noRewrite.} expr pragma disabling TRAdam Strzelecki2015-06-021-1/+3
| | | | | | | | | | | | | | Term rewriting macros/templates are currently greedy and they will rewrite as long as there is a match. So there was no way to ensure some rewrite happens only once, eg. when rewriting term to same term plus extra content. With new macro we can actually prevent further rewriting on marked expr or stmts, eg. with given example echo(...) will be rewritten just once: template pwnEcho{echo(x)}(x: expr) = {.noRewrite.}: echo("pwned!") echo "ab"
* Fix typosFederico Ceratto2015-02-151-2/+2
|
* fixes #206Araq2014-11-161-1/+1
|
* Nimrod renamed to NimAraq2014-08-281-1/+1
|
* fixes #1285Araq2014-06-301-1/+1
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-2/+2
|
* case consistency part 4Araq2013-12-271-6/+6
|
* improvements for TR macrosAraq2013-09-171-9/+0
|
* lazy paths for Babel supportAraq2012-12-111-0/+9
|
* constraint now part of the parameter symbol and not of the typeAraq2012-12-051-2/+2
|
* tr macros now documentedAraq2012-09-101-1/+1
|
* first steps to deprecate 'nil' statementAraq2012-09-091-3/+0
|
* tmatrix.nim works nowAraq2012-09-081-9/+21
|
* term rewriting improvementsAraq2012-09-081-25/+59
|
* activated tests for tr macrosAraq2012-09-061-13/+18
|
* bugfixes and improvements for term rewriting macrosAraq2012-09-041-10/+19
|
* further improvements for term rewriting macrosAraq2012-09-041-20/+11
|
* term rewriting macros fully implemented; still buggyAraq2012-09-031-44/+156
|
* next steps towards term rewriting macros; simple examples workAraq2012-08-301-5/+11
|
* first steps towards term rewriting macrosAraq2012-08-301-0/+128