summary refs log tree commit diff stats
path: root/compiler/patterns.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #4371Andreas Rumpf2016-07-081-1/+1
|
* Fixed tr pattern matching for varargsYuriy Glukhov2016-04-071-1/+1
|
* 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
de161e40aa256c3fc0f2b1f7cf9'>672e3e50 ^
4690ce81 ^
672e3e50 ^
65361948 ^
672e3e50 ^








4690ce81 ^
672e3e50 ^



4690ce81 ^
672e3e50 ^



4690ce81 ^
672e3e50 ^
4690ce81 ^
0e4a335e ^
672e3e50 ^



4690ce81 ^
672e3e50 ^


65361948 ^

672e3e50 ^



4690ce81 ^

672e3e50 ^





dcc060c7 ^
672e3e50 ^
4690ce81 ^
672e3e50 ^

4690ce81 ^
dcc060c7 ^


672e3e50 ^

4690ce81 ^

c5ffb6e1 ^
4690ce81 ^

672e3e50 ^



4690ce81 ^
90560d71 ^








672e3e50 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140