Commit graph

479 commits

Author SHA1 Message Date
Andreas Rumpf
cd27b7710d fixes #4813 2016-09-24 21:00:31 +02:00
Andreas Rumpf
3a13706d7d fixes #4673 2016-09-01 13:02:53 +02:00
Andreas Rumpf
976e95e17c fixes #4580 2016-08-26 15:49:03 +02:00
Andreas Rumpf
89f3e21fc8 fixes #4658 2016-08-26 13:02:52 +02:00
Andreas Rumpf
10f445da89 Merge pull request #4592 from arnetheduck/compiler-cleanup
Compiler cleanup
2016-08-25 16:50:54 +02:00
Andreas Rumpf
e9e413552a fixes #4619 2016-08-23 01:10:34 +02:00
Jacek Sieka
3cd4cf4320 remove unused stuff 2016-08-09 22:54:27 +08:00
Andreas Rumpf
1a470d1818 fixes #2094 2016-08-09 15:12:30 +02:00
Andreas Rumpf
de6198c747 fixes #4555 2016-08-02 12:47:02 +02:00
Andreas Rumpf
953a5eb644 make tests green again 2016-07-29 01:56:32 +02:00
Andreas Rumpf
f5fa5dae85 generic multi-methods should work now 2016-07-28 20:23:24 +02:00
Andreas Rumpf
bea62bb632 overloading of dot and parenthesis operators should now be done in .experimental 2016-07-22 22:31:09 +02:00
Andreas Rumpf
9605435f2e get rid of deprecated toLower/toUpper 2016-07-19 19:28:01 +02:00
Matthew Baulch
d05e146b30 Recursively check literals for tyEmpty. 2016-07-11 19:12:05 +10:00
Andreas Rumpf
b47d9b7b91 fixes #4371 2016-07-08 10:34:12 +02:00
Andreas Rumpf
02db36a90a fixes #3993 2016-06-06 13:13:04 +02:00
Andreas Rumpf
041054e038 fixes #4207 2016-06-01 11:01:03 +02:00
Andreas Rumpf
660cd7ed70 fixes #3532 2016-06-01 11:01:03 +02:00
Andreas Rumpf
65c95e01e4 fixes #1611 2016-06-01 11:01:03 +02:00
Andreas Rumpf
4180f59b27 fixes #1713 2016-05-30 16:24:52 +02:00
Andreas Rumpf
8f43e9d18c fixes #4225 2016-05-27 19:35:48 +02:00
Yuriy Glukhov
0d5c8b32e7 4066 fixup 2016-05-19 12:34:18 +03:00
Andreas Rumpf
2ac3e12372 fixes #4066 2016-05-18 12:40:01 +02:00
Andreas Rumpf
c870e831c8 fixes #4124 2016-04-29 20:56:30 +02:00
Andreas Rumpf
8c8825b9ce fixes #3975 2016-03-28 09:50:27 +02:00
Andreas Rumpf
c9966a3e17 use 'using' instead of 'sig' keyword; cleans up new features a bit 2016-02-29 12:19:54 +01:00
Andreas Rumpf
7d7de36a91 removed debug code 2016-02-28 23:23:17 +01:00
Andreas Rumpf
0baa1d9955 first version of .partial objects 2016-02-28 23:22:47 +01:00
Andreas Rumpf
38dee2095c added 'sig' feature; removed tfShared support in the compiler 2016-02-28 19:56:41 +01:00
Andreas Rumpf
1afdefcbe9 added experimental .this pragma 2016-02-28 03:17:20 +01:00
Andreas Rumpf
5a33e8795e fixes #3788 2016-01-31 00:47:55 +01:00
Andreas Rumpf
4d10937a30 fixes regressions 2016-01-05 15:39:49 +01:00
Andreas Rumpf
1a2bda45ec fixes #2007 2016-01-05 10:20:24 +01:00
Andreas Rumpf
307a6095fa made closure iterators tests green, updated docs 2015-12-31 00:16:38 +01:00
Andreas Rumpf
2162a71c93 closure iterators do have 'result' 2015-12-30 13:32:18 +01:00
Andreas Rumpf
c1627354d1 first implementation of the new lambda-lifting pass; barely anything works 2015-12-26 00:42:30 +01:00
Araq
760242b870 removes 'x is iterator' special casing in the language 2015-12-03 01:08:03 +01:00
Araq
25e2e3faec 'importc' allows 'not nil' annotation 2015-11-26 17:46:05 +01:00
Araq
36f68e1650 fixes #3329 2015-09-18 02:24:12 +02:00
Araq
612cd25d5d usage of NimNode triggers .compileTime context; fixes #1679 2015-09-14 12:41:49 +02:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02:00
Araq
34ab1d3e34 fixes #1528 2015-09-10 13:20:15 +02:00
Araq
2299318d1e toplevel .closure procs are deprecated 2015-08-14 02:19:32 +02:00
Yuriy Glukhov
7bc3d7da75 Fixes #3186 2015-08-07 17:22:28 +03:00
Araq
0d8942d45e destructors now work with overloaded assignment operators; fixes #2811; fixes #1632 2015-08-05 21:43:14 +02:00
Araq
0a624bec1e implemented {.noforward:on.} for type sections; useful for c2nim generated wrappers; to be documented 2015-07-08 11:49:34 +02:00
Adam Strzelecki
13b57dbc2f 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-02 21:38:53 +02:00
Araq
6ca38472a1 cleanups for underscores in tuple unpacking 2015-04-24 13:08:42 +02:00
Andreas Rumpf
3e000f4e36 Merge pull request #2437 from Araq/underscore-tuple-unpack
Implements #2154.
2015-04-24 12:32:57 +02:00
Araq
0c947f31ba system.locals is now a plugin for education 2015-04-24 02:08:06 +02:00