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
Emery Hemingway
2ca7b703fb
No implicit quit for Genode ( #6515 )
2017-10-25 13:50:55 +02:00
Andreas Rumpf
1a0032eb68
added broken tbintree test
2017-10-19 21:03:20 +02:00
Andreas Rumpf
8be60dc6bd
allow 'block' and 'nkState' after return for easier state machine generation
2017-10-19 15:51:36 +02:00
Andreas Rumpf
186e7d49d3
fixes c2nim regression; do not produce more newlines
2017-10-19 13:29:11 +02:00
Andreas Rumpf
4f633dde64
make nested custom seqs work
2017-10-19 13:29:11 +02:00
Andreas Rumpf
fa0f04968f
bugfix: propagate the tfHasAsgn flag properly
2017-10-19 13:29:11 +02:00
Andreas Rumpf
0a3efccb55
preparations for another bugfix
2017-10-19 13:29:11 +02:00
Andreas Rumpf
9911d375b3
make destructors more robust against unchecked arrays
2017-10-19 13:29:11 +02:00
Andreas Rumpf
35c8b5e3bc
destructors: irresponsibly simple tcustomseq test works
2017-10-17 22:04:40 +02:00
Andreas Rumpf
e7f37d7223
added typetraits.supportsCopyMem
2017-10-17 21:59:17 +02:00
Andreas Rumpf
58d5f96790
destructors: lift type bound ops to objects and arrays etc
2017-10-17 14:48:16 +02:00
Andreas Rumpf
a0c5260c20
destructors: bugfix: lhs of assignment is irrelevant
2017-10-17 13:09:28 +02:00
Araq
45d74f4081
destructors: preparations for upcoming changes
2017-10-17 12:46:49 +02:00
Andreas Rumpf
9485f1c888
make tests green again
2017-10-16 20:29:16 +02:00
Andreas Rumpf
7eeef4aae7
fixes #1137
2017-10-16 16:47:10 +02:00
Araq
9d5f54f456
fixes #5007
2017-10-16 13:28:36 +02:00
Araq
604a15c0aa
some progress on the nimpretty tool; still not ready
2017-10-16 00:59:51 +02:00
Araq
c06f73b484
fixes an off-by-one error for nimpretty
2017-10-16 00:04:46 +02:00
Andreas Rumpf
ccf99fa5ce
closes #5070
2017-10-15 20:55:38 +02:00
Andreas Rumpf
e6f0bff6dd
make tests green again
2017-10-15 09:32:53 +02:00
Andreas Rumpf
14ca49743f
make nnkGotoState and labels more flexible
2017-10-15 01:26:48 +02:00
Araq
3aaf1e4980
make httpclient compile again via a workaround
2017-10-15 00:52:22 +02:00
Araq
a75f3b3661
fixes #4910
2017-10-14 22:35:20 +02:00
Araq
9af9480340
fixes #5620
2017-10-14 22:35:20 +02:00
Andreas Rumpf
8780d25e03
minor refactorings for better destructors
2017-10-14 20:37:49 +02:00
Andreas Rumpf
4eaa2bf15d
improve code generation for custom strings/seqs
2017-10-14 20:37:49 +02:00
Andreas Rumpf
5dca695bcf
new destroyer pass works with procs too
2017-10-13 07:00:52 +02:00
Andreas Rumpf
63530be0b8
introduce --newruntime switch for the upcoming destructors and move semantics
2017-10-13 06:38:59 +02:00
Andreas Rumpf
a2e4ab2e4e
simple programs now work with the new destroyer pass
2017-10-12 17:42:15 +02:00
Andreas Rumpf
d6c401acfb
code cleanups for the upcoming reworked destructors
2017-10-12 12:47:34 +02:00
Andreas Rumpf
ec253ada72
initial version of the new untested destructor pass
2017-10-12 11:32:29 +02:00