Andreas Rumpf
e61d8166cc
fixes the second example of #6757
2017-11-17 16:23:54 +01:00
Andreas Rumpf
2d726711fa
fixes #6765
2017-11-17 11:40:46 +01:00
Andreas Rumpf
a4d40d137e
'nim doc' is now using version 2 of the documentation generator
2017-11-16 12:53:36 +01:00
Dmitry Atamanov
870567d083
WIP: Add a advanced compiler command 'ctags' ( #6654 )
2017-11-15 22:07:22 +01:00
Dominik Picheta
253ae4e25e
Merge pull request #6743 from lcrees/patch-6
...
Clarify compiler plugin support
2017-11-14 23:19:05 +00:00
Andreas Rumpf
abec8823aa
bugfix: make 'macros' module available for nimscript
2017-11-14 23:26:46 +01:00
Lynn C. Rees
b8fce9c58f
Clarify compiler plugin support
2017-11-14 12:49:18 -07:00
Kartik Saranathan
06a6347929
Fix incorrect signature for nimLoadProcs when using cpp backend ( #6699 )
2017-11-07 23:48:03 +01:00
Andreas Rumpf
d4cdd92bc9
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-11-07 22:14:55 +01:00
Andreas Rumpf
617ba1a209
Merge branch 'devel' into araq
2017-11-07 11:17:20 +01:00
Fabian Keller
40a6caeed8
Block expressions ( #6695 )
...
* enabled parsing of block expressions
* added test case; closes #3827
* adjusted grammar doc strings
* updated grammar in docs
2017-11-06 20:33:01 +01:00
skilchen
e4b0818629
fixes #6532 array bounds check for non zero based arrays on the js backend ( #6550 )
2017-11-06 09:14:28 +01:00
Andreas Rumpf
9e4e1949e8
concepts: fixes the stack overflow that happens for #6691
2017-11-05 21:31:02 +01:00
Andreas Rumpf
4e4d466d06
minor breaking change: for loop bodies now get their own scope
2017-11-05 16:53:05 +01:00
Andreas Rumpf
eee43e4f8f
fixes the new to be documented imports
2017-11-05 16:33:26 +01:00
Araq
3bd6b7ddc7
improve the error messages for bug #6692
2017-11-05 02:51:20 +01:00
Araq
742f43e572
fixes #6609 ; 'if' expressions support multiple statements; minor breaking change
2017-11-05 01:26:04 +01:00
Araq
8cc268876a
bugfix: detect captures in non-closure inner procs
2017-11-03 18:05:14 +01:00
Andreas Rumpf
cccdd9b58e
fixes new liftLocals pass
2017-11-02 20:39:08 +01:00
Andreas Rumpf
17ccb7f6b6
Merge branch 'devel' into araq
2017-11-02 18:24:33 +01:00
Andreas Rumpf
762ade1177
'ord' does not produce a range type anymore
2017-11-02 18:23:21 +01:00
Andreas Rumpf
30b098fcaf
wip
2017-11-02 15:39:44 +01:00
Andreas Rumpf
1ae5ba2536
Merge branch 'devel' into araq
2017-11-02 10:54:40 +01:00
Andreas Rumpf
1ec0686d04
added missing file
2017-11-02 10:54:23 +01:00
Andreas Rumpf
1eaeccc15d
Merge branch 'devel' into araq
2017-11-02 10:46:30 +01:00
Andreas Rumpf
bd19b5f4d3
implemented undocumented '.liftLocals' feature
2017-11-02 10:42:19 +01:00
Andreas Rumpf
286f895280
make range type checking more restrictive, see tn8vsint16 test case; minor breaking change
2017-11-01 15:33:28 +01:00
Fabian Keller
7c03c882f5
Remove more usages of unary lt ( fixes #6634 ) ( #6641 )
...
* fixes #6634
* remove more usages of unary <
2017-10-31 19:48:01 +01:00
Andreas Rumpf
0895064983
getEnv now supports a 'default' parameter; refs #6019
2017-10-30 17:21:05 +01:00
Andreas Rumpf
a155130cf2
fixes #1860 ; macro generating a wrong nkSymChoice node
2017-10-30 15:37:34 +01:00
Andreas Rumpf
6cb8bf8045
fixes bug reported in PR #5637
2017-10-30 09:19:02 +01:00
Andreas Rumpf
d7a896f19d
breaking change: 'and' and 'mod' do not produce a subrange type anymore; fixes #5854
2017-10-30 00:27:30 +01:00
Andreas Rumpf
f1dab39086
remove old implementation of the roof operator; make tests green again; close #6292
2017-10-29 20:36:07 +01:00
Andreas Rumpf
d52a1061b3
work in progress: new implementation for 'a[^1]'
2017-10-29 19:46:17 +01:00
Andreas Rumpf
29c075299d
made nimresolve part of the compiler
2017-10-29 15:40:50 +01:00
Andreas Rumpf
70ea45cdba
deprecated unary '<'
2017-10-29 08:37:13 +01:00
Andreas Rumpf
c17f6c7837
new feature: package level objects
2017-10-29 07:54:39 +01:00
Andreas Rumpf
7889692523
first implementation of package level types that allow forwarding across module boundaries
2017-10-28 15:28:59 +02:00
Andreas Rumpf
c6235920cb
backend preparations for incomplete/forwarded object types
2017-10-28 13:46:43 +02:00
BigEpsilon
e2af486434
Add sections (type, var, let, const, using) support for reorder pragma ( #6326 )
2017-10-28 11:33:35 +02:00
Xiao-Yong
616db85c61
Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file ( #6542 )
...
* Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file
If the length of NIMBLE_DIR is larger than zero, the nimblepath
will be set to $NIMBLE_DIR/pkgs
2017-10-28 09:38:31 +02:00
Araq
9c00f6decd
fixes #6526
2017-10-27 20:55:36 +02:00
Andreas Rumpf
129a599cd6
fixes #6422
2017-10-26 12:23:37 +02:00
Araq
b2a2522d2d
make tests green again
2017-10-26 00:55:23 +02:00
Araq
3aa7c2232e
destructors: supportsCopyMem finally works for recursive types
2017-10-26 00:55:23 +02:00
Araq
4f2b79a380
topttree destructor finally works
2017-10-26 00:55:23 +02:00
Araq
b407f083ba
destructors: work in progress
2017-10-26 00:55:23 +02:00
Araq
826ddbf809
ast.nim: spacing
2017-10-25 17:37:03 +02:00
Araq
5258447e01
concepts: make codegen aware of 'tyInferred'
2017-10-25 17:37:03 +02:00
Araq
9df766491d
default '=sink' and '=destroy' cannot be templates
2017-10-25 17:37:03 +02:00