Commit Graph

9782 Commits

Author SHA1 Message Date
Araq
ba7ef4e30f fixes #1903 2015-01-11 02:05:22 +01:00
Araq
350fbc6aca fixes #1907 2015-01-11 01:33:25 +01:00
Flaviu Tamas
d7dbf7e011 Rename exec(...) and extend it 2015-01-10 19:23:15 -05:00
Flaviu Tamas
4f4a7dfa5b Expose pattern and input string 2015-01-10 19:19:25 -05:00
Andreas Rumpf
fffaae06ce Merge pull request #1921 from def-/lc-improve
Remove unnecessary check in list comprehensions
2015-01-11 01:13:10 +01:00
Andreas Rumpf
8c8c48e36a Merge pull request #1924 from daniel-kullmann/doc-fix1
doc/tut2.txt: clarified usage of static/dynamic binding
2015-01-11 01:12:52 +01:00
Flaviu Tamas
ccf5771441 Allow u for unicode matching 2015-01-10 19:12:21 -05:00
Andreas Rumpf
98b2c77996 Merge pull request #1925 from daniel-kullmann/doc-fix2
doc/tut2.txt: Tiny grammar fix
2015-01-11 01:11:31 +01:00
Flaviu Tamas
0f4b142c75 Implement toTable(Captures), toSeq(Captures) 2015-01-10 19:10:43 -05:00
Andreas Rumpf
4c29493628 Merge pull request #1926 from ekarlso/mysql-osx
Support MySQL on OSX
2015-01-11 01:07:56 +01:00
Endre Karlson
7b9650ed1b Support MySQL on OSX 2015-01-11 01:04:20 +01:00
Daniel Kullmann
8fbe671b04 doc/tut2.txt: Tiny grammar fix
A "the" was missing in "Macros have to be implemented in pure Nim
code if foreign function interface (FFI is not enabled in the compiler"
2015-01-11 00:19:16 +01:00
Daniel Kullmann
451b943a01 doc/tut2.txt: clarified usage of static/dynamic binding
The original text was slightly misleading in that it could be read that newLit and newPlus could not be implemented as methods; 
this is untrue, because newPlus could also be impleented as a method. The reason that newLit can't be implemented as a
method is that its first argument (x: int) has a non-object type.
2015-01-11 00:15:49 +01:00
Flaviu Tamas
cc33942d89 Revert "Remove Option from exec(Regex, string, int)"
This reverts commit f692042bb8.
2015-01-10 18:00:07 -05:00
Araq
a41b62da97 fixes #1866 2015-01-10 23:52:29 +01:00
Araq
27141f6016 fixes #1803 2015-01-10 23:52:29 +01:00
Araq
8cb31d86b6 fixes tconfusing_arrow bug 2015-01-10 23:52:29 +01:00
def
711ff185bd Remove unnecessary check in list comprehensions 2015-01-10 22:54:39 +01:00
Flaviu Tamas
f692042bb8 Remove Option from exec(Regex, string, int) 2015-01-10 16:49:39 -05:00
Flaviu Tamas
0888b84126 Move some things around 2015-01-10 16:41:55 -05:00
Flaviu Tamas
48c29ac905 Add access to capture count and names 2015-01-10 16:39:51 -05:00
Flaviu Tamas
d2c20a32ed captureCount doesn't need to be exposed that way 2015-01-10 16:21:11 -05:00
Flaviu Tamas
721ea11628 Implement captures 2015-01-10 16:20:25 -05:00
Flaviu Tamas
2db1a54710 Implement regex execution 2015-01-10 14:11:43 -05:00
Flaviu Tamas
613d12c7bf Simplify thin wrapper 2015-01-10 13:31:13 -05:00
Flaviu Tamas
be984d3b07 Change test execution technique 2015-01-10 12:31:03 -05:00
Flaviu Tamas
ca4cf24299 Implement correct destruction 2015-01-10 12:30:43 -05:00
Flaviu Tamas
00b047a660 Implement foundation for named captures 2015-01-10 11:27:46 -05:00
Flaviu Tamas
bfba4b9983 Remove DUPNAMES option
It makes the rest of the implementation more complicated and is confusing
anyway. The user expects a 1:1 mapping between a match and a name
2015-01-10 08:16:09 -05:00
Flaviu Tamas
c4d536f581 Extend Regex, add RegexMatch 2015-01-10 08:14:49 -05:00
reactormonk
3273d32acc Merge pull request #1912 from flaviut/rename-stuff
s/nimrod/nim/g; s/babel/nimble/g
2015-01-10 10:27:51 +05:00
Flaviu Tamas
8b807adc08 s/nimrod/nim/g; s/babel/nimble/g 2015-01-09 22:59:16 -05:00
Flaviu Tamas
3a6e7941cf Fix typos 2015-01-09 20:07:33 -05:00
Flaviu Tamas
685e4a1f0b Add unit tests 2015-01-09 19:41:12 -05:00
Flaviu Tamas
dec2f9efa9 Implement regex initialization 2015-01-09 19:40:41 -05:00
Flaviu Tamas
b36ba634a6 Add thin PCRE wrapper 2015-01-09 19:26:12 -05:00
Joseph Poirier
e9f9f6f369 proper windows get process function name, fix batch file, add echoes back 2015-01-08 13:40:06 -06:00
reactormonk
eafbafb0e7 Merge pull request #1905 from JinShil/patch-1
Fixed grammar in 'let statment'
2015-01-08 14:24:34 +05:00
Mike
58ea5a4e98 Fixed grammar in 'let statment' 2015-01-08 17:48:28 +09:00
Andreas Rumpf
0fc052b094 Merge pull request #1900 from dustinlacewell/devel
Revert 5e4ae8d
2015-01-08 01:34:53 +01:00
Flaviu Tamas
b22a3e8237 Initial Commit 2015-01-07 17:48:43 -05:00
Dustin Lacewell
0619383f46 Revert 5e4ae8d 2015-01-07 14:07:06 -08:00
Andreas Rumpf
f2e717da2d Merge pull request #1884 from def-/tcc-usevfork
Add workaround for TCC to make POSIX_SPAWN_USEVFORK available
2015-01-07 14:15:44 +01:00
Andreas Rumpf
e386b7460b Merge pull request #1876 from flaviut/unittest-stacktrace
Add stack trace to unitest.nim exceptions
2015-01-07 14:15:11 +01:00
Andreas Rumpf
5bd2889267 Merge pull request #1889 from ramnes/devel
Happy new year!
2015-01-07 14:14:43 +01:00
Andreas Rumpf
1c106a499c Merge pull request #1897 from mrordinaire/fix-tsequtils
fixed tests/seq/tsequtils.nim
2015-01-07 14:10:45 +01:00
Do Nhat Minh
de4a3f8835 fixed tests/seq/tsequtils.nim 2015-01-07 19:05:37 +08:00
Araq
65310266d8 Merge branch 'devel' of https://github.com/Araq/Nim into devel
Conflicts:
	compiler/semexprs.nim
2015-01-07 02:44:22 +01:00
Araq
b907fac5f9 minor cleanups 2015-01-07 02:41:50 +01:00
Araq
417eb3e026 patch required for c2nim 2015-01-07 02:41:08 +01:00