Andreas Rumpf
1310279691
lambda lifting compiles again
2018-05-12 08:30:55 +02:00
Andreas Rumpf
bb8c47b496
pragmas compiles again
2018-05-11 18:53:18 +02:00
Andreas Rumpf
84bc04ba32
sigmatch compiles again
2018-05-11 18:04:11 +02:00
Andreas Rumpf
efc2ce1b7e
docgen compiles again
2018-05-11 16:06:36 +02:00
Andreas Rumpf
3c4ceea427
move more global variables into ConfigRef
2018-05-11 15:28:26 +02:00
Andreas Rumpf
a8a544a8f7
avoid more global variables
2018-05-11 15:01:28 +02:00
Andreas Rumpf
2e76a92fe1
sempass2 compiles again
2018-05-11 14:18:39 +02:00
Andreas Rumpf
7eb39d9d26
guards.nim does compile
2018-05-11 13:07:16 +02:00
Andreas Rumpf
e1a921ce4f
lookups compiles again
2018-05-10 15:05:05 +02:00
Andreas Rumpf
a6e53ec47b
semfold compiles again
2018-05-10 14:38:12 +02:00
Andreas Rumpf
5bf31fcabe
big refactoring: mores stuff compiles
2018-05-10 13:39:23 +02:00
Andreas Rumpf
0d56dd4677
big refactoring: magicsys compiles again
2018-05-10 13:12:42 +02:00
Michael Voronin
08d1b5892b
[doc] Standardize deprecation warnings
2018-05-10 13:18:38 +03:00
Michael Voronin
8a080acda9
[add] Add some wrappers
2018-05-10 13:18:38 +03:00
Michael Voronin
0ff0dfbfce
[refactoring] Rearrange functions for better readability/usage
2018-05-10 13:18:38 +03:00
Michael Voronin
52eac6fb64
[doc] Add/modify some runnable examples for pure/times
2018-05-10 13:18:38 +03:00
Michael Voronin
b63dc4042b
[fix] Little fix for runnable example in pure/times
2018-05-10 13:18:38 +03:00
Michael Voronin
1051e8d69d
Merge pull request #4 from nim-lang/devel
...
#4
2018-05-10 13:15:33 +03:00
Andreas Rumpf
61e57cfa13
big refactoring: parser compiles again
2018-05-10 10:49:51 +02:00
Yuriy Glukhov
5d166fcc0a
Review comments addressed. More thorough line info tracking.
2018-05-10 00:27:50 +03:00
Yuriy Glukhov
c1dde282d6
Fixed line info
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
d99c82bc3b
Cosmetics
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
0b5883c21e
Small fix and cosmetics
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
fb965719a6
Fixed codegen (added blockLeaveActions) to closure iters
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
c854865d3e
Corrected nkExceptBranch transformation
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
14ca79fe1f
More elaborate nkStmtListExpr lowering
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
ac86b8ce61
Cleanup
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
ce63490928
Yield in try
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
0ed6c3e476
Minor dry up
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
48d8e215d5
Don't leak sem PContext into transf
2018-05-09 22:25:28 +03:00
Yuriy Glukhov
13167c85f6
Cosmetics
2018-05-09 22:25:27 +03:00
Yuriy Glukhov
7d38db284b
Extended tasync_in_seq_constr test
2018-05-09 22:25:27 +03:00
Yuriy Glukhov
d71f69ab50
Closure iter transformation
2018-05-09 22:25:27 +03:00
Mathias Stearn
9048bcc54b
Add connectUnix and bindUnix to net docs
...
fixes #7715
2018-05-09 17:42:16 +02:00
Lolo Iccl
af591544c5
Modify hash for HashSet to use xor to mix hash of items.
2018-05-09 17:41:41 +02:00
Lolo Iccl
5c7b66e07a
Modify previous commit and add tests
2018-05-09 17:41:41 +02:00
Lolo Iccl
ee8313da3f
Modify previous commit
...
Modify previous commit to use data[h].hcode in
proc hash for HashSet and for OrderedSet.
2018-05-09 17:41:41 +02:00
Lolo Iccl
80f17f9405
Add proc hash for HashSet and for OrderedSet
...
close #7772
2018-05-09 17:41:41 +02:00
Ganesh Viswanathan
9bde9a1404
Add nimble dir to path via finish
2018-05-09 17:39:42 +02:00
Oscar Nihlgård
7cf87dfac6
VM fix for refs
2018-05-08 17:00:00 +02:00
Zahary Karadjov
6758fbd06e
Export an 'escapeXml' proc from xmldom
...
The interface is similar to escapeJson
2018-05-07 09:37:49 +02:00
Zahary Karadjov
5623007126
Fix the compilation of terminal.nim on Windows
2018-05-07 09:37:49 +02:00
Zahary Karadjov
70ec344bbf
bugfix: strutils.find was broken for strings with uneven number of chars
...
For some reason, the problem was manifesting only inside the VM, it was
detecting an attempt to read past the string end (i.e. the formerly
accessible null byte).
To catch such errors, strutils now performs static tests too.
I've solved the problem by re-implementing the Boyer-Moore algotihm
in a cleaner way and I took the opportunity to make some other
optimisations to strutils.
2018-05-07 09:37:49 +02:00
Zahary Karadjov
cf13c5fba4
implement the export/except statement
2018-05-07 09:37:49 +02:00
Zahary Karadjov
7297613900
Bugfix: The compiler were not inserting proper downcasts for generic types
...
This resulted in a codegen error in C++ mode, because the generic
types were not defined in modules where calls requiring downcasts
were used (generating a downcast forces the inclusion of the full
definition of the involved types).
2018-05-07 09:37:49 +02:00
Zahary Karadjov
4ab1cfb0b0
fix a compiler crash related to the new strings in C++ mode
2018-05-07 09:37:49 +02:00
Zahary Karadjov
4409c82228
The terminal module now exports additional procs for generating ANSI color
...
codes as strings.
2018-05-07 09:37:49 +02:00
Zahary Karadjov
ae5c946a32
Support thread-local variables declared inside procs; fixes #7565
2018-05-07 09:37:49 +02:00
Zahary Karadjov
b0d85b0adf
Backwards-compatible support for keyword arguments in the command syntax
2018-05-07 09:37:49 +02:00
Zahary Karadjov
e678a4285d
Bugfix: Allow matching on nkExprEqExpr against varargs[untyped]
...
This enables macros accepting arbitrary keyword arguments:
log("foo", prop1 = "bar", prop2 = "baz")
As an added bonus, simple templates with varargs arguments can now
forward their params to procs accepting keyword arguments.
2018-05-07 09:37:49 +02:00