apense
0ee1672d69
Updated whitespace ranges
...
Ranges sourced from <http://www.unicode.org/Public/7.0.0/ucd/PropList.txt >_. Wikipedia also uses these ranges on its information page <http://en.wikipedia.org/wiki/Whitespace_character#Unicode >_. 0xfeff isn't included in the list, but it is a no-break space, so I guess it makes sense. 0x200b is actually a format character, but it is a zero-width space. To fit Unicode, both 0x200b and 0xfeff would be removed.
2015-06-08 19:48:57 -04:00
Dominik Picheta
c4009c6182
Fixes #2884
...
Haven't tested this patch but should work.
2015-06-08 23:10:50 +01:00
apense
ab1b1c9251
Note about deprecation in generics.txt
...
I'm happy to change the wording or anything. It does seem like an important thing to mention, though. It might be better not to even mention typeless procs so as not to encourage bad behavior.
2015-06-08 16:03:57 -04:00
Flaviu Tamas
5118c09f49
Fix ambiguous character literal
2015-06-07 13:13:05 -04:00
Flaviu Tamas
3bbbb1a682
Fix potential code bloat
2015-06-07 13:13:05 -04:00
Flaviu Tamas
ca81749f2a
Rename RegexException according to NEP1
2015-06-07 13:13:04 -04:00
Flaviu Tamas
a707f8de65
Edit re and nre doc comments
2015-06-07 13:13:04 -04:00
Flaviu Tamas
4fbd95549d
Clean up nre imports
2015-06-07 13:13:04 -04:00
Flaviu Tamas
38064d043a
Use stdlib's PCRE in nre
2015-06-07 13:13:04 -04:00
Flaviu Tamas
8caa5cd292
Deprecate re
2015-06-07 13:13:04 -04:00
Flaviu Tamas
15ef227c48
Adjust re for nre's inclusive bounds
2015-06-07 13:13:04 -04:00
Oleh Prypin
dc60a51e15
Base re off of nre
2015-06-07 13:13:04 -04:00
Flaviu Tamas
b27c1946c9
Update news for nre
2015-06-07 13:13:01 -04:00
Flaviu Tamas
be64b8d0d4
Ensure no one uses internal module
2015-06-07 13:12:19 -04:00
Flaviu Tamas
9db6070d73
Fix nre tests
2015-06-07 13:12:19 -04:00
Flaviu Tamas
90ed34db72
Merge branch 'devel' of https://github.com/Araq/Nim into add-nre
...
* 'devel' of https://github.com/Araq/Nim :
Fix #964 , fix #1384
Don't inspect typedescs
2015-06-07 13:12:18 -04:00
Oscar Campbell
f0b6c03b26
Merge branch 'devel' into bugfix-2858-testament-sources-system-wide
2015-06-07 13:17:06 +02:00
Oscar Campbell
858cdd0b05
Merge remote-tracking branch 'upstream/devel' into devel
2015-06-07 13:16:08 +02:00
Dominik Picheta
87a6d08e95
Update version in compiler.nimble
2015-06-07 13:14:53 +02:00
Simon Hafner
cb443ce73d
moved sexp.nim to nimsuggest repo
2015-06-07 13:14:53 +02:00
Adam Strzelecki
25cc9befd5
Fixup: Reverted TZipFileStream name change
...
This fixes broken b0469c11e3 that incompletely
reverted TZipFileStream name change.
2015-06-07 13:14:52 +02:00
Dominik Picheta
4b0089bf58
Removed nimsuggest from this repo.
2015-06-07 13:14:52 +02:00
Dominik Picheta
4a7c0e8872
Add WSAEADDRINUSE to winlean.
2015-06-07 13:14:52 +02:00
Dominik Picheta
52192ffa9f
Fixes compilation with --gc:markandsweep.
2015-06-07 13:14:52 +02:00
Dominik Picheta
25c6304abb
Hopefully fixes nimsuggest building against the compiler package.
2015-06-07 13:14:52 +02:00
apense
c126b8ad0f
Fixed links in Error hierarchy
...
Manual contained invalid links
2015-06-07 13:14:52 +02:00
apense
e132032b0f
Fixed code indentation in procs.txt
...
Now matches tut2.txt
2015-06-07 13:14:52 +02:00
Adam Strzelecki
83369f4bce
Parser: Inline expr pragmas with parenthesis
...
Previously pragmas could be attached only to whole statements, this change
allows attaching pragmas to inline statements, eg.:
template rewriteAdd{a + b}(a: expr, b: expr): expr =
({.noRewrite.}: a + b) + 1
Code above will cause a + b to be rewritten once, because rewriteAdd attaches
{.noRewrite.} to resulting a + b expr.
2015-06-07 13:14:52 +02:00
Adam Strzelecki
07c40add8f
Parser: Properly represent parsePar in grammar
2015-06-07 13:14:52 +02:00
Adam Strzelecki
4674b3eb80
Introduce {.noRewrite.} expr pragma disabling TR
...
Term rewriting macros/templates are currently greedy and they will rewrite as
long as there is a match. So there was no way to ensure some rewrite happens
only once, eg. when rewriting term to same term plus extra content.
With new macro we can actually prevent further rewriting on marked expr or
stmts, eg. with given example echo(...) will be rewritten just once:
template pwnEcho{echo(x)}(x: expr) =
{.noRewrite.}: echo("pwned!")
echo "ab"
2015-06-07 13:14:52 +02:00
yglukhov
c55f5dfca2
Perform lambda lifting for compile-time stuff when targeting JS. Enable unittest test.
2015-06-07 13:14:10 +02:00
Andreas Rumpf
bbb1bdb4a9
Merge pull request #2643 from grncdr/TAny-and-inheritance
...
Resolve base type fields in `[](TAny, string)`
2015-06-07 10:56:29 +02:00
Andreas Rumpf
94b7da4297
Merge pull request #2645 from def-/builtin_overflow
...
Use builtin overflow functions of Clang and GCC (WIP, RFC)
2015-06-07 10:55:23 +02:00
Andreas Rumpf
cb1f1cfd52
Merge pull request #2682 from koalazen/refactor_lowerbound_algorithm
...
shorten lowerBound in algorithm.nim
2015-06-07 10:53:12 +02:00
Andreas Rumpf
380d617f86
Merge pull request #2867 from Araq/fix-2584
...
Fixes #2584
2015-06-07 10:51:35 +02:00
Andreas Rumpf
faed57dff0
Merge pull request #2878 from Perelandric/rename_fixes
...
Some fixes from the recent `T` renaming
2015-06-07 10:46:35 +02:00
Andreas Rumpf
2725d89376
Merge pull request #2875 from nanoant/patch/bring-back-bootstrap-executable-bit
...
Bring back (again) bootstrap.sh executable bit
2015-06-07 10:45:16 +02:00
patrick dw
ff83efa767
Fixed malformed pragma
2015-06-06 12:01:26 -05:00
patrick dw
13163ff13f
Reverted TZipFileStream (is going to be reference type)
2015-06-06 10:45:01 -05:00
patrick dw
ca684da044
Updated deprecated names
2015-06-06 10:18:16 -05:00
patrick dw
2e25574ff1
Updated usage of deprecated types
2015-06-06 09:35:15 -05:00
patrick dw
a511562822
Renaming fixes in sdl.nim
2015-06-06 09:09:48 -05:00
patrick dw
a400987590
Dropped from TZipFileStream
2015-06-06 08:57:13 -05:00
Araq
54750f608d
fixes #2774
2015-06-06 13:25:20 +02:00
Araq
d94fcb38f0
fixes #2687
2015-06-06 11:59:36 +02:00
Araq
adfdb4623d
use new type names
2015-06-06 11:59:35 +02:00
Araq
a730a974ed
fixes #2854
2015-06-06 11:59:35 +02:00
Araq
706080dcbd
fixes 'noreturn' regression for Visual C++
2015-06-06 11:59:34 +02:00
Dominik Picheta
9d03d166a8
Update version in compiler.nimble
2015-06-05 17:10:17 +01:00
Simon Hafner
c4c64804e5
moved sexp.nim to nimsuggest repo
2015-06-05 11:04:15 -05:00