summary refs log tree commit diff stats
path: root/compiler/parser.nim
Commit message (Collapse)AuthorAgeFilesLines
* WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-131-1/+2
|
* Render bug: if expression with statement list expression as condition (#8375)cooldome2018-07-211-0/+1
| | | | * Fixes #8348
* Merge branch 'devel' into typedesc-reformsAndreas Rumpf2018-06-261-3/+25
|\
| * nimpretty improvementsAndreas Rumpf2018-06-191-1/+1
| |
| * nimpretty: fixes pragma renderingAndreas Rumpf2018-06-171-1/+1
| |
| * nimpretty: more featuresAndreas Rumpf2018-06-161-2/+24
| |
* | Implement the `is` operator for the new static and typedesc type classesZahary Karadjov2018-06-161-2/+1
| | | | | | | | | | | | | | | | | | This also makes the first baby steps towards a sound treatment of higher-order kinds (type type int). Adds test cases showcasing the new features. * Also fixes breakage after the rebase
* | A minimal patch enabling the new typedesc and static types syntaxZahary Karadjov2018-06-161-26/+37
|/
* nimpretty: first version that seems useful for others to test itAndreas Rumpf2018-06-161-0/+16
|
* more refactoringAndreas Rumpf2018-05-271-1/+1
|
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
|
* remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-42/+50
|
* make tests green againAraq2018-05-141-1/+1
|
* fixes testament compilationAraq2018-05-141-4/+13
|\
| * Backwards-compatible support for keyword arguments in the command syntaxZahary Karadjov2018-05-071-4/+13
| |
* | big refactoring: parser compiles againAndreas Rumpf2018-05-101-16/+27
|/
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-8/+8
|
* warn about inconsistent spacing around binary operators; fixes #7582Andreas Rumpf2018-05-051-6/+2
|
* fixes #7582Andreas Rumpf2018-05-051-2/+3
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-1/+1
| | | | uint16; fixes #7654
* nimpretty: next stepsAraq2018-04-181-1/+7
|
* fixes #7610Andreas Rumpf2018-04-141-1/+1
|
* introduce nkTupleConstr AST node for unary tuple construction; breaking changeAndreas Rumpf2018-04-131-0/+6
|
* Fix parser bug with type classes (#7480)Oscar Nihlgård2018-04-061-0/+1
|
* added the 'x.p[:T]' notation for explicit generic instantiations in ↵Araq2018-04-061-14/+27
| | | | combination with the ddot calling syntax
* better error messagesAraq2018-03-181-2/+11
|
* Fix casing in rule 'typeDesc' (#7324)Robert Hencke2018-03-121-1/+3
| | | Also, leave a note in grammar.txt that it is generated.
* improve error message for twrongcolonAndreas Rumpf2018-02-061-2/+2
|
* language change: 'generic' and 'atomic' are not keywords anymoreAndreas Rumpf2017-11-211-5/+1
|
* Block expressions (#6695)Fabian Keller2017-11-061-1/+5
| | | | | | * enabled parsing of block expressions * added test case; closes #3827 * adjusted grammar doc strings * updated grammar in docs
* fixes #6609; 'if' expressions support multiple statements; minor breaking changeAraq2017-11-051-14/+56
|
* work in progress: new implementation for 'a[^1]'Andreas Rumpf2017-10-291-1/+1
|
* beginnings of the new nimpretty tool; still unusableAndreas Rumpf2017-10-051-1/+1
|
* the parser finally parses 'echo {1,2}' as it shouldAndreas Rumpf2017-09-301-13/+1
|
* 'with' and 'without' are not keywords anymoreAraq2017-09-301-3/+9
|
* first implementation of the 'func' keywordAndreas Rumpf2017-09-231-19/+11
|
* Restore the old behavior of parsing "quote do:"Zahary Karadjov2017-08-191-5/+8
| | | | close #5845
* parser enhancement: allow keywords after dotsAndreas Rumpf2017-07-111-18/+28
|
* first steps to allow easy functors via macrosAndreas Rumpf2017-06-041-3/+4
|
* cleanup of in/out covariance handlingAndreas Rumpf2017-05-171-3/+3
|
* Merge branch 'zahary' into araq2Andreas Rumpf2017-05-171-1/+8
|\
| * support for external types with covariant generic paramsZahary Karadjov2017-05-081-1/+8
| |
* | Merge branch 'zahary' into araq2Andreas Rumpf2017-05-161-82/+81
|\|
| * fix a parsing regression (do is still mandatory in some situations)Zahary Karadjov2017-04-141-1/+4
| |
| * lift parameter-less do block to lambdasZahary Karadjov2017-04-101-6/+7
| |
| * support post expression blocks in return and yieldZahary Karadjov2017-04-101-1/+3
| |
| * fix a regression in tlexerexZahary Karadjov2017-04-101-13/+14
| |
| * fix a parsing regression (calls with do inside param lists)Zahary Karadjov2017-04-101-2/+5
| | | | | | | | | | This treatment is applied only when "do" is used, because the code foo(x: bar) is recognized as object construction.
| * fully consisent parsing between the new and the old 'do blocks'Zahary Karadjov2017-04-101-78/+67
| |
| * the new blocks without 'do' produce compatible AST with 'do blocks'Zahary Karadjov2017-04-091-4/+4
| |
eanup and reorganize readme.md' href='/ahoang/Nim/commit/readme.md?h=devel&id=03b05bd346c1ecc18d1b7aa9e8731056efd6645a'>03b05bd34 ^
a16e6bd22 ^
342834d7f ^


6b38b37b4 ^
342834d7f ^


















6b38b37b4 ^
342834d7f ^
a16e6bd22 ^
03b05bd34 ^




1a7fdb09d ^
03b05bd34 ^



























03b05bd34 ^
d1cf04a38 ^
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208