Commit graph

58 commits

Author SHA1 Message Date
Simon Hafner
179a190f67 fixes match on empty peg match, #2354 2015-03-22 21:39:26 +05:00
Araq
c914532c26 fixes #2205 2015-03-07 15:43:35 +01:00
def
aae3c6c8b7 Get rid of deprecation warnings in pegs 2015-01-16 00:23:33 +01:00
Araq
03afbe00b9 minor improvements 2014-12-28 00:52:10 +01:00
Araq
280fa9624c fixes #1496 2014-12-18 14:54:26 +01:00
Araq
c2e04abcfa fixes regression that caused pegs to not compile 2014-11-29 14:08:42 +01:00
Araq
4def86f077 pegs module compiles again 2014-11-28 09:39:23 +01:00
Flaviu Tamas
bc3464ede7 Modify pegs.nim such that no match will return nil
An empty match will return ""
A zero-length match will return nil

Add test cases

Add news information
2014-10-29 17:54:43 -04:00
Araq
cca8887ba0 updated pegs module 2014-08-28 02:26:22 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Fabio Cevasco
067c3816ba Rewrote the changes to findAll using if/else 2014-02-22 10:07:37 +01:00
Fabio Cevasco
6621454dec pegs.findAll iterator fix
Modified the findAll iterator so that it continues looking for a match within the input string (bug?).
2014-02-21 14:14:43 +01:00
Araq
d18f40b4e2 updated grammar.txt 2014-01-20 08:35:09 +01:00
Araq
bf205fa85d case consistency part 6 2013-12-28 01:17:02 +01:00
Araq
8f97f3180a made tests green 2013-06-10 00:17:10 +02:00
Araq
b767f34b6b manyloc test should be green again 2013-06-04 00:58:43 +02:00
Araq
44c4b945eb pegs/re =~ warns about scope rule change; improved docs 2013-05-08 15:49:04 +02:00
Araq
cc591cf3c1 pegs compiles again 2013-05-02 01:54:42 +02:00
Araq
56045ad7ff bugfixes mostly JS related 2013-05-01 14:48:40 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
d17caa86e8 objects with no ancestor are not implicitely final 2012-08-24 17:33:04 +02:00
Araq
5e15dec175 first steps to make templates hygienic 2012-08-20 01:13:13 +02:00
Araq
0171566c98 openarray/varargs split; breaks bootstrapping 2012-08-16 08:34:33 +02:00
Dominik Picheta
b839e42e92 Both the re and pegs module's =~ templates can now be used simultaneously from the same module. 2012-07-21 11:21:41 +01:00
Araq
a36a856a2f fixes #113 2012-05-20 12:09:47 +02:00
Araq
3700885573 fixes #114 2012-05-20 10:58:24 +02:00
Araq
da9ff288d9 Merge branch 'master' of github.com:Araq/Nimrod 2012-04-15 10:02:35 +02:00
Araq
959e370ae9 @ is a sigil-like operator 2012-04-15 10:02:15 +02:00
Zahary Karadjov
1ba31f8df7 minor changes to make the test suite green again 2012-04-15 02:54:12 +03:00
Araq
c53ad1b39f documentation improvements; higher level Mongodb wrapper 2012-04-09 11:18:10 +02:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
0b4d5e45b9 tester checks exitcode; osproc additions; DLL fixes; taint mode fixes 2011-11-07 23:25:34 +01:00
Araq
42516c0086 code generator supports constant sequences; more consistent compile time evaluation 2011-10-07 09:02:08 +02:00
Araq
dc6a80bd1d pegs module: bugfixes for the anchor ^; pegs.replace now does what the docs say 2011-06-16 12:50:17 +02:00
Araq
04f9c2585a readFile raises EIO instead of returning nil; added system.writeFile 2011-06-16 10:47:44 +02:00
Araq
3e9dcc8be5 deprecated system.copy: use system.substr instead 2011-05-14 01:13:44 +02:00
Araq
46c41e4369 p[] instead of p^ 2011-04-11 23:28:53 +02:00
Araq
dc669155e3 some little bugfixes 2011-03-27 00:33:20 +01:00
Araq
5b789f2da8 bugfixes; field discriminant checks; linearScanEnd, unroll, shallow pragmas 2011-03-23 01:09:52 +01:00
Araq
3005955d20 distinction between re.replace and re.replacef; speed improvements for re module 2011-03-06 21:16:05 +01:00
Araq
437eb2c37e nimgrep: first working version 2011-02-02 00:05:55 +01:00
Araq
fa111b9067 cleanup: E_Base should not be used for inheriting exceptions; documentation generator generates dependencies section 2011-01-15 23:57:19 +01:00
Araq
45862e58a7 better tester; yet another iterator bugfix 2011-01-06 22:21:44 +01:00
Araq
adf13aaea3 docgen understands and ignores *when false* 2010-11-18 22:26:20 +01:00
Araq
8ee63f9836 pegs: captured search loop 2010-11-07 23:52:41 +01:00
Araq
ec67d98286 pegs: bugfixes and extensions 2010-10-31 00:16:01 +02:00
Andreas Rumpf
8098e2a421 inlining of the write barrier for dlls 2010-08-08 22:45:21 +02:00
Andreas Rumpf
7bf98411b6 version 0.8.8 2010-03-14 01:25:25 +01:00
Andreas Rumpf
4ee65a08dd further enhancements for the GTK wrapper 2010-03-01 19:37:33 +01:00