Andreas Rumpf
1a88c01f92
documentation build cleaned up
2016-05-31 03:04:45 +02:00
Andreas Rumpf
c02963bcea
Pegs: fixes edge case
2016-05-12 01:36:23 +02:00
Hans Raaf
fcfe27a1f8
Added a replace() proc using a callback to pegs.
...
I was missing a nice way to use pegs with a more specialized replace
functionality. Here my try to create a universal and versatile version
of replace for that.
2016-05-07 17:53:43 +02:00
Dominik Picheta
3892969af4
Merge branch 'devel'
2015-10-27 23:36:00 +01:00
Federico Ceratto
d1bb246c20
Replace "prefix" with "suffix" in endsWith doc
2015-10-23 17:35:55 +01:00
patrick dw
15e7fe787a
renamed writeln to writeLine in lib
2015-06-19 01:02:22 -05:00
Araq
1b98d32579
no private deprecated symbols
2015-06-10 11:11:29 +02:00
pdw
d18e18060e
lib/pure/p-t - Dropped 'T' from types
2015-06-04 13:18:36 +02:00
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