-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathReleaseNotes.html
299 lines (258 loc) · 8.12 KB
/
ReleaseNotes.html
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
<style>/*
Some simple Github-like styles, with syntax highlighting CSS via Pygments.
*/
html {
background:#fff;
margin:0;
padding:0;
}
body {
font: 14px helvetica,arial,freesans,clean,sans-serif;
line-height: 1.6;
margin: 0 auto;
padding: 20px;
text-align:left;
color: #333;
width:920px;
}
.md {
background-color: #eee;
border-radius:3px;
margin: 0;
padding:3px;
}
article {
padding: 30px;
border: 1px solid #cacaca;
background-color: white;
}
article > :first-child {
margin-top: 0!important;
}
h1 {
font-size:28px;
margin-bottom:10px;
color: black;
}
h2 {
font-size:24px;
margin:20px 0 10px;
color: black;
border-bottom: 1px solid #ccc;
}
h3 {
font-size:18px;
margin:20px 0 10px;
}
h4 {
font-size:16px;
font-weight:bold;
margin:20px 0 10px;
}
h5 {
font-size:14px;
font-weight:bold;
margin:20px 0 10px;
}
h6 {
color:#777;
font-size:14px;
font-weight:bold;
margin:20px 0 10px;
}
hr {
background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;
border: 0 none;
height: 4px;
margin: 15px 0;
padding: 0;
}
p {
margin: 15px 0;
}
pre, code {
font: 12px 'Bitstream Vera Sans Mono','Courier',monospace;
}
.highlight pre, pre {
background-color:#f8f8f8;
border:1px solid #ccc;
font-size:13px;
line-height:19px;
overflow:auto;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
padding:6px 10px;
}
code {
white-space:nowrap;
border:1px solid #eaeaea;
background-color:#f8f8f8;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
margin:0 2px;
padding:0 5px;
}
pre>code
{
white-space:pre;
border:none;
background:transparent;
margin:0;
padding:0;
}
a, a code {
color: #4183C4;
text-decoration:none;
}
blockquote
{
border-left:4px solid #ddd;
padding-left:11px;
color:#555;
margin:14px 0;
}
table
{
font-size: 14px;
border-collapse:collapse;
margin:20px 0 0;
padding:0;
}
table tr
{
border-top:1px solid #ccc;
background-color:#fff;
margin:0;
padding:0;
}
table tr:nth-child(2n)
{
background-color:#f8f8f8;
}
table tr th[align="center"], table tr td[align="center"] {
text-align:center;
}
table tr th, table tr td
{
border:1px solid #ccc;
text-align:left;
margin:0;
padding:6px 13px;
}
ul, ol
{
margin:15px 0;
}
ul li, ol li
{
margin-top:7px;
margin-bottom:7px;
}
.shadow {
-webkit-box-shadow:0 5px 15px #000;
-moz-box-shadow:0 5px 15px #000;
box-shadow:0 5px 15px #000;
}
/* Pygments coloring */
.highlight .c{color:#998;font-style:italic;}
.highlight .err{color:#a61717;background-color:#e3d2d2;}
.highlight .k{font-weight:bold;}
.highlight .o{font-weight:bold;}
.highlight .cm{color:#998;font-style:italic;}
.highlight .cp{color:#999;font-weight:bold;}
.highlight .c1{color:#998;font-style:italic;}
.highlight .cs{color:#999;font-weight:bold;font-style:italic;}
.highlight .gd{color:#000;background-color:#fdd;}
.highlight .gd .x{color:#000;background-color:#faa;}
.highlight .ge{font-style:italic;}
.highlight .gr{color:#a00;}
.highlight .gh{color:#999;}
.highlight .gi{color:#000;background-color:#dfd;}
.highlight .gi .x{color:#000;background-color:#afa;}
.highlight .go{color:#888;}
.highlight .gp{color:#555;}
.highlight .gs{font-weight:bold;}
.highlight .gu{color:#800080;font-weight:bold;}
.highlight .gt{color:#a00;}
.highlight .kc{font-weight:bold;}
.highlight .kd{font-weight:bold;}
.highlight .kn{font-weight:bold;}
.highlight .kp{font-weight:bold;}
.highlight .kr{font-weight:bold;}
.highlight .kt{color:#458;font-weight:bold;}
.highlight .m{color:#099;}
.highlight .s{color:#d14;}
.highlight .na{color:#008080;}
.highlight .nb{color:#0086B3;}
.highlight .nc{color:#458;font-weight:bold;}
.highlight .no{color:#008080;}
.highlight .ni{color:#800080;}
.highlight .ne{color:#900;font-weight:bold;}
.highlight .nf{color:#900;font-weight:bold;}
.highlight .nn{color:#555;}
.highlight .nt{color:#000080;}
.highlight .nv{color:#008080;}
.highlight .ow{font-weight:bold;}
.highlight .w{color:#bbb;}
.highlight .mf{color:#099;}
.highlight .mh{color:#099;}
.highlight .mi{color:#099;}
.highlight .mo{color:#099;}
.highlight .sb{color:#d14;}
.highlight .sc{color:#d14;}
.highlight .sd{color:#d14;}
.highlight .s2{color:#d14;}
.highlight .se{color:#d14;}
.highlight .sh{color:#d14;}
.highlight .si{color:#d14;}
.highlight .sx{color:#d14;}
.highlight .sr{color:#009926;}
.highlight .s1{color:#d14;}
.highlight .ss{color:#990073;}
.highlight .bp{color:#999;}
.highlight .vc{color:#008080;}
.highlight .vg{color:#008080;}
.highlight .vi{color:#008080;}
.highlight .il{color:#099;}
</style><div class="md"><article>
<h1>Parse-EZ Release Notes</h1>
<h2>Version 0.3.0</h2>
<h3>Main Additions</h3>
<p>Version 0.3.0 of Parse-EZ adds macro versions of parse combinator functions
to make it easy to nest calls to parse combinators without having to write
nested anonymous functions using the "(fn [] ...)" syntax. Note that Clojure
does not allow nesting of anonymous functions of "#(...)" forms. Whereas
the existing parse combinators take parse functions as arguments and actually
perform parsing and return the parse results, the newly added macros take
parse expressions as arguments and return parse functions (to be passed
to other parse combinators). These macros are named the same as the
corresponding parse combinators but with an underscore ("_") suffix. For example
the macro version of <code>any</code> is named <code>any_</code>.</p>
<h3>Miscellaneous Changes</h3>
<p>The following minor changes/additions are made in the current release:</p>
<ul>
<li>regex function now also accepts string regular expressions (in addition
to patterns typically passed using #"..." forms). However, if you use
strings, you would have to escape backslashes as you would do in Java.</li>
</ul>
<h2>Version 0.3.5</h2>
<ul>
<li>Added <code>sep-by*</code> function with a slightly different behavior from <code>sep-by</code></li>
<li>Bug fixes for <code>with-trim-on</code> and <code>with-trim-off</code>; they were not properly
resetting the auto-trim option to original value.</li>
</ul>
<h2>Version 0.4.0</h2>
<ul>
<li><p>Added functionality to commit to a particular parse branch and prevent
the parser from trying alternatives at higher levels on parse-failure.
See the new <code>commit</code> and <code>commit-on</code> functions.</p></li>
<li><p>Other new functions: <code>with-follow</code>, <code>with-follow*</code>, <code>with-no-follow</code>,
<code>ident</code>, <code>key-word</code>, <code>semi</code> <code>comma</code>, <code>dot</code>, <code>colon</code>, <code>popen</code>, <code>pclose</code>,
<code>bopen</code>, <code>bclose</code>, <code>sqopen</code>, <code>sqclose</code>, <code>aopen</code>, <code>aclose</code>, and <code>equal</code>.</p></li>
<li><p>Bug fixes for <code>sep-by</code>, <code>any-string</code> and <code>line-cmt</code>.</p></li>
<li><p>Leiningen coordinates: group-id 'protoflex' should be included now.
Eg: [protoflex/parse-ez 0.4.2], instead of [parse-ez 0.3.6].</p></li>
</ul>
</article></div>