Debian Codegraph @

Changes

raw
1 Revision history for Regexp-Grammars
2
3 1.001_003 Tue Apr 7 08:42:33 2009
4 Initial public release.
5
6
7 1.001_004 Sun Aug 2 23:08:52 2009
8
9 * Fixed mishandling of (??{....}) blocks
10
11 * Attempted to patch around three-way bug with lexicals in regexes
12 (further testing may be required to ensure patch is effective
13 across various perl configs)
14
15
16 1.001_005 Sun Aug 2 23:08:52 2009
17
18 * Rerelease to sync numbering with CPAN
19
20
21
22 1.002 Tue Dec 8 21:30:11 2009
23
24 * Various doc tweaks
25
26 * Removed intermittent "uninitialized" warnings
27
28 * Added warning when no main regex specified
29
30 * Refined error message status indicators (now only errors get an
31 indicator for every separate message; info is consolidated)
32
33 * Fixed exponentiation associativity for demo_calc (thanks Schwern!)
34
35 * Fixed bug in charset parsing (thanks Dave!)
36
37 * Removed false error messages regarding explicitly use of built-in
38 <ws> and <hk> rules
39
40 * Fixed bug with negative lookaheads that incorporate subrule calls
41
42 * Localized $/ during debugger interactions
43
44 * Added <objrule: Class::Name=rulename> variation to allow distinct
45 "internal" and "external" names for objrules and objtokens
46 (thanks Casiano)
47
48 * Fixed handling of (?#...) comments (thanks Casiano)
49
50 * Added pure grammar definitions: <grammar: NAME>
51
52 * Added inheritance from grammar definitions: <extends: NAME>
53
54 * Added fully qualified subrule calls to allow derived rules to call
55 base rules: <Base::Class::rulename>
56
57
58
59 1.005 Tue Jun 22 05:41:35 2010
60
61 * Tweaked internals to allow matches against stringifying objects,
62 without nasty warnings
63
64 * Extended demo/calc* to allow negatives outside parens (thanks Steven)
65
66 * Pod tweaks (thanks Carl)
67
68 * Added autoaction callbacks
69
70 * Made @! contents unique (no more duplicates due to backtracking retries)
71
72 * Made <MATCH=...> work in the top-level pattern of a grammar
73
74 * Added set_context_width() to allow width of context string column
75 to be adjusted either permanently or within a scope. (Thanks Daniel)
76
77 * Added l10n feature for <error:...> and <warning:...> directives
78 (thanks Aki!)
79
80 * Added <minimize:> directive
81
82 * Fixed debugging directives in grammars
83
84 * Added per-hash key patterns to <%HASH> (Thanks Aki)
85
86 * Added <\IDENT> backrefs
87
88 * Added </IDENT> inverserefs
89
90
91 1.008 Fri Sep 17 20:53:31 2010
92
93 * Pod nits denitted (thanks Christopher)
94
95 * Added builtin <matchpos> and <matchline> subrules
96
97 * Added <subrule(arg=>list)> and %ARG
98
99 * Added <:argname>
100
101 * Added <\:argname> and </:argname>
102
103 * Added Lucene example to demos (thanks Christian)
104
105 * Added <ws:...> directive
106
107 * Updated diagnostics list
108
109 * Improved behaviour (and documentation) of non-bracketed
110 separators in **
111
112
113
114 1.009 Sun Sep 19 09:11:06 2010
115
116 * Rerelease to remove spurious dependencies on Data::Show
117 (thanks Salvatore!)
118
119
120
121 1.010 Tue Sep 28 08:03:42 2010
122
123 * Added documentation warning about non-reentrancy of Perl 5 regex engine
124 (thanks Andrew).
125
126 * Fixed behaviour of ** repetitions wrt whitespace (thanks Andrew)
127
128 * Documented more explicitly that start-pattern is supposed to act
129 like a regular regex (or a token) wrt to whitespace
130
131
132
133 1.011 Sun Oct 10 18:57:10 2010
134
135 * Added <!RULENAME> as alias for: (?! <.RULENAME> )
136
137 * Added <?RULENAME> as alias for: (?= <.RULENAME> )
138 (and made it work around normal lookahead/capture problem)
139
140 * Fixed major bugs in <:arg> handling
141
142
143 1.012 Wed Nov 3 20:24:36 2010
144
145 * Added RFC5322 example (thanks Tom and Abigail!)
146
147 * Added <:nocontext> and <:context> directives to optimize
148 away unwanted context substrings.
149
150 * Solved transitive inheritance problem
151 (grammars now fully polymorphic)
152
153 * Added NEXT:: namespace for generic polymorphism
154
155
156 1.013 Wed Jun 29 14:39:40 2011
157
158 * Improved in-doc calculator example (thanks Jake!)
159
160 * Improved RFC5322 example (thanks Tom and Abigail)
161
162 * Added <timeout:...> directive (thanks Dan)
163
164 * Added <fatal:...> directive
165
166 * Added better compile-time debugging of standard Perl subpatterns
167
168 * Added documentation of problems when using objrules
169 whose ctors re-invoke the regex engine (thanks Nathan)
170
171 * Added new tests for objrules whose classes are based
172 on Moose or autoloading (thanks Nathan!)
173
174
175 1.014 Wed Nov 2 13:57:09 2011
176
177 * Improved description of <error:...> directive to make it clearer
178 that errors manifest in @! variable (thanks Leigh)
179
180 * Added t/error_non_backtracking.t and
181 demo/demo_error_nonbacktracking.pl to demonstrate use of (*COMMIT)
182 to optimize error messages (thanks Nicolas)
183
184 * Removed undocumented dependency of test suite on Class::Accessor
185 (thanks Duff)
186
187 * Tweaked caveats section to reflect improvements both in module
188 (grammar inheritance now fully polymorphic) and in Perl 5.14
189 regexes (regexes now reentrant)
190
191 * Fixed problem with \N{NAMED CHARS} under 5.12 and later (thanks Tom!)
192
193 * Added *% +% and {n,m}% separated repetitions to track the
194 Perl 6 feature
195
196
197
198 1.015 Wed Feb 29 12:37:25 2012
199
200 * Enabled limited support for tracking raw regex components when
201 debugging a grammar (mainly literals and backslashed
202 metacharacters)
203
204 * Fixed bug that prevented named subpattern captures from including
205 lookbehinds (e.g. <name=( (?<!foo) bar )> didn't work)
206
207
208 1.016 Sat Mar 10 07:01:30 2012
209
210 * Fixed omissions in charset recognition within metagrammar
211 (now handles \] and otehr escapes correctly)
212
213
214 1.020 Thu Aug 16 14:13:03 2012
215
216 * Fixed licence generation in Makefile.PL
217
218 * Fixed issues with the stupid behaviour
219 of Perl 5.17+ wrt (un)backslashed {'s
220
221 * Fixed bad code in SYNOPSIS example
222 (Thanks Paul!)
223
224 * Fixed bad code in demo/demo_pos.pl
225 (Thanks Peng)
226
227 * Corrected docs for <debug: on>
228 (Thanks Peng)
229
230 * BACKWARDS INCOMPATIBLE CHANGE!!!!
231 Due to limitations in Perl's qr overload
232 The <\IDENT> backreference syntax has had to be changed
233 to <\_IDENT>
234
235
236 1.021 Mon Aug 20 13:55:34 2012
237
238 * Made Latin-1 encoding of docs explicit
239
240
241 1.022 Tue Jan 22 18:39:16 2013
242
243 * Fixed minimization (by handling nocontext marker correctly)
244 (thanks Thomas!)
245
246
247 1.025 Wed Jan 30 09:39:52 2013
248
249 * Reuploaded with no substantive modifications
250
251
252 1.026 Thu Jan 31 08:20:14 2013
253
254 * Re-fixed minimization (by handling nocontext marker correctly)
255 (thanks again Thomas!)
256
257
258
259 1.027 Fri May 10 07:43:52 2013
260
261 * Fixed nasty bug where 0 used as an atom
262 (many thanks Arseny!)
263
264
265 1.028 Sat May 11 06:00:00 2013
266
267 * Fixed very nasty caching bug within interpolation support
268 (many more thanks Arseny!)
269
270
271
272
273 1.029 Tue Jun 25 15:44:35 2013
274
275 * Doc patch (thanks Steven)
276
277 * Added workarounds for some unfortunate changes in 5.18 behaviour
278 (thanks Steven)
279
280 * CRITICAL: Added warning regarding fundamental and intractable
281 incompatibilities with Perl 5.18, and announcing that
282 Regexp::Grammars is not supported under that version of Perl. :-(
283
284
285 1.030 Wed Jun 26 07:17:41 2013
286
287 * Added essential-but-missing Skip_if_Perl_518 to the MANIFEST
288
289
290
291 1.031 Mon Aug 19 09:55:37 2013
292
293 * Updated warning re 5.18 incompatibilities. Some progress has been
294 made, but a complete solution is still at least a month away,
295 possibly longer.
296
297 * Added dependency on Lexical::Var under Perl 5.18 to overcome
298 problem with magic pseudo-variables
299
300
301 1.032 Thu Aug 29 10:44:21 2013
302
303 * Culled stray DB::single = 1 (thanks Robert!)
304
305
306 1.033 Sat Aug 31 13:10:57 2013
307
308 * Listed dependency on Lexical::Var under Perl 5.18 to overcome
309 problem with magic pseudo-variables (thanks Andreas!)
310
311
312
313 1.034 Wed Jun 11 06:50:04 2014
314
315 * Reverted actual encoding to match nominated encoding (i.e. Latin-1)
316 (thanks Olivier)
317
318 * Fixed last bug preventing module from passing
319 its own test suite under 5.20.
320
321 * Gave up (for the present) on Perl 5.18 compatibility.
322
323 * Noted limitations of passing %MATCH values as subrule args
324 under 5.18+
325
326
327 1.035 Sat Jun 28 19:03:54 2014
328
329 (All of the following with deepest thanks to Hugo...)
330
331 * Removed no-longer-necessar Skip_if_Perl_518.pm from MANIFEST
332
333 * Allowed rule declarations to be made anywhere
334 (not just at the start of a line)
335
336 * Fixed buggy edge-case for in-rule whitespace auto-matching
337 at start of rule body (now works even if there is only a single
338 whitespace between <rule: NAME> and first element of rule body)
339
340 * Made R::G auto-/x any regex used under its suasion
341 (solves formerly intractable problem of detecting a missing /x)
342
343 * R::G now short-circuits any regex in its scope that does not
344 contain any R::G constructs (and does not auto-/x them either)
345
346 * Added line numbers to all warnings generated by the module
347
348 * Added detection of "stray" quantifiers: unquoted quantifiers that
349 don't actually quantify anything.
350
351 * Added line-number annotations to the transformed regex as a
352 last-gasp kind of assistance when confronted with the dreaded
353 post-transformation "error marked with <-- HERE" message
354
355
356
357 1.036 Mon Sep 15 12:58:47 2014
358
359 * Minor doc improvements
360
361 * Fixed odd behaviour of <debug: off>
362 (Thanks, Chris!)
363
364
365
366 1.038 Thu Dec 11 14:52:05 2014
367
368 * Fixed bug where actions persisted after a failed ->with_actions() match
369 (Thanks Hao Wu!)
370
371
372
373
374 1.039 Sat Feb 7 08:39:58 2015
375
376 * Module works correctly under 5.18.4.
377 Updated warnings to reflect this.
378 (Thanks p5p!)
379
380
381 1.040 Thu Mar 26 07:44:41 2015
382
383 * Tweaked Makefile.PL and BUILD.PL to (maybe)
384 work more happily with the CPANTesters toolchain
385
386
387
388 1.041 Sun May 3 12:57:37 2015
389
390 * Documented edge case where new 5.18 regex compilation semantics
391 breaks the <%hash> construct, listing two work-arounds
392 (thanks David and Gianni!)
393
394 * Fixed subtle problem with implicit whitespace-matching invalidating
395 subrule argument lists
396 (thanks Alex!)
397
398
399 1.042 Wed Sep 16 16:32:23 2015
400
401 * Prelimary attempt to support raw named captures as well as R::G syntax
402 (may induce bugs, though none found in the test suite)
403
404 * Fixed bug deep inside demo/demo_rfc5322.pl
405 (Thanks, Dale!)
406
407 * Replaced Lexical::Vars with B::Hooks::Parser for 5.22+ compatibility
408 (Thanks Alex!)
409
410
411 1.043 Mon Dec 14 13:14:25 2015
412
413 * Eliminated redundant calls to setup() and teardown() for B::Hooks::Parser
414
415 * Removed timeout test, as it cannot be reliably run across platforms
416 much faster or slower than the author's development platform.
417 (Thanls Slavin)
418
419
420 1.044 Wed Dec 16 08:22:01 2015
421
422 * Yet another attempt to code around the changes in vars-inside-regexes
423 to preserve post-5.18 compatibility (Thanks, Kent!)
424
425
426
427 1.045 Tue Jan 12 15:55:21 2016
428
429 * Fixed bug causing premature clearing of action handlers
430 (thanks Keith!)
431
432
433
434 1.047 Tue Sep 26 15:41:13 2017
435
436 * Fixed misleading (mis-)documentation of <[MATCH=item]>
437 (thanks, Felix!)
438
439 * Fixed handling of (?>...) construct
440 (thanks, Hugo!)
441
442
443
444
445 1.048 Wed Sep 27 06:20:49 2017
446
447 * Hid use of Regexp package from CPAN
448 (Thanks, Neil)
449
450
451 1.049 Fri Oct 5 06:55:49 2018
452
453 * Modified documentation of problems with "non-backtracking"
454 constructs, to cover new cases that have been discovered.
455 (Sorry, Hugo)
456
457 * Extended documentation of rules vs tokens with a short
458 example demonstrating the explicit equivalence
459 (thanks, Stefan)
460
461 * Miscellaneous POD fixes (thanks, Hugo)
462
463 * Clarified behaviour of <[MATCH=subrule]>* on zero match
464 (Thanks, Alex)
465
466 * Added %% operator for separated lists
467 with optional trailing separator
468
469
470 1.050 Sat Apr 27 08:38:21 2019
471
472 * Improved detection of explicit space matching in rules
473 (now handles \h and \v as well as \s)
474
475 * Improved transparency of debugger so that it no longer injects
476 spurious whitespace matching after debugged constructs
477 (Thanks, Louis!)
478
479
480
481 1.051 Tue Jul 2 20:17:55 2019
482 st -
483 <BAR <BAR <List albertoprob Build.PL Changes cmp conjunction_experiment CONTRIBUTING CoreDumpProblem
484 debug_timeout_Grammars.pm demo demo_backtracking_problem.pl explore_regex.pl Hugo_BNF_to_RG
485 Hugo_lib_NL_RuleExpr_Grammar.pm Ingo problems lib Makefile.old Makefile.PL MANIFEST marcpatch1
486 memtest.c new_approach.pl old_stuff p43_out p43_out_debug parser.log parser_log
487 Perl5.20_regex_compilation_problem.pl pro36.pl prob.pl prob10.pl prob11.pl prob12.pl prob13.pl
488 prob14.pl prob15.pl prob16.pl prob17.pl prob18.pl prob19.pl prob2.pl prob20.pl prob21.pl prob22.pl
489 prob23.pl prob24.pl prob25.pl prob26.pl prob27.pl prob28.pl prob29.pl prob3.pl prob30.pl prob31.pl
490 prob32.pl prob33.pl prob34.pl prob35.pl prob36.pl prob37.pl prob38.pl prob39.pl prob4.pl prob40.pl
491 prob41.pl prob42.pl prob43.pl prob44.pl prob45.pl prob46.pl prob47.pl prob48.pl prob49.pl prob5.pl
492 prob50.pl prob51.pl prob6.pl prob7.pl prob8.pl prob9.pl prob_21_Parse.pm prob_518.pl prob_grammar
493 prototype_precedence.pl README Regexp-Grammers-1.016-ANDK-01.diff
494 rt_cpan_org104148argumentpassingintorulefailswhen.20150502101608
495 rt_cpan_org104148argumentpassingintorulefailswhen.zip Simon-Peyton-Jones-Concurrency st t t18 temp.log
496 terminal_profile time_LaTeXish_PRD.pl timing_201009021630 timing_201105031500 timing_201105031720
497 timing_201105041800 timing_201105041800_with_timout ToDo try Try.pm try10.pl try11.pl try12.pl try2
498 try3 try4 try5 try6.pl try7.pl try8.pl try9.pl trylog ubuntu_prob %
499
500 * Documented %% operator
501
502 * Numerous POD nits fixed (thanks, Ruud and Alex!)
503
504
505 1.052 Wed Jul 17 08:17:29 2019
506
507 * Fixed bug in <nocontext:> handling (thanks, Alex!)
508
509
510 1.053 Sun May 3 06:41:38 2020
511
512 * Fixed irritating "Satisified" typo in interface
513 (thanks, Stéphane!)
514
515 * Fixed equally irritating "???/!!!" typo in docs
516 (thanks, Stéphane!)
517
518 * Other minor doc fixes
519
520 * INCOMPATIBLE CHANGE: <, %, and %% are now never treated as literal.
521 They are now always either part of the module's metasyntax,
522 or else a fatal error. All literal <, %, and %% characters
523 must henceforth be quoted by backslashing: \<, \%, and \%\%
524 (thanks, Hugo!)
525
526
527
528 1.054 Tue May 5 06:16:58 2020
529
530 * Fixed bug in positive lookahead translation
531 (thanks Hugo!)
532
533
534 1.055 Thu May 7 22:53:14 2020
535
536 * Fixed bug in parsing (??{...}) constructs
537 (thanks Hugo)
538
539
540 1.056 Fri May 22 20:46:21 2020
541
542 * Silenced 'undefined' warning from context-string tracking
543 (thanks Hugo)
544
545
546 1.057 Fri May 22 22:06:11 2020
547
548 * Fixed a very subtle bug with automatic whitespace matching under <debug: on>
549 (thanks, Malan!)
550
551
552 1.058 Thu Sep 15 01:30:29 2022
553
554 * Added a CONTRIBUTING file to the distribution.
555 (Thanks, Marc!)
556
557 * Removed unneeded dependency on B::Hooks::Parser
558 (Thanks, Lars!)
559
560 * Backed out a fix for a very subtle bug with automatic whitespace matching under <debug: on>
561 The original fix in 1.057 was insufficient. This will be fixed properly in the next release.
562 (sorry, Malan!)