Commit Graph

155 Commits

Author SHA1 Message Date
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
ec253ada72 initial version of the new untested destructor pass 2017-10-12 11:32:29 +02:00
Andreas Rumpf
1a61c4d46d first implementation of the 'func' keyword 2017-09-23 23:22:53 +02:00
Andreas Rumpf
b58fbd1b48 fixes #5618 2017-03-28 20:57:34 +02:00
Andreas Rumpf
da821a22d9 nimsuggest: revert cpFuzzy bailouts 2017-03-09 11:30:36 +01:00
Andreas Rumpf
46f33515d7 Merge branch 'devel' into faster-nimsuggest 2017-02-24 01:28:50 +01:00
Arne Döring
92c2a51bf7 removed compiler internal list implementation (#5371) 2017-02-22 17:33:12 +01:00
Andreas Rumpf
46efaf294b big compiler refactoring; avoid globals for multi method dispatcher generation 2017-02-22 16:27:52 +01:00
Araq
aebe9d7d13 make more tests green 2017-02-16 01:43:12 +01:00
Araq
97e26967f1 fixes #5383 2017-02-16 00:43:14 +01:00
Dominik Picheta
1c233ba27a More progress towards a working #3691. 2017-02-03 19:50:22 +01:00
Dominik Picheta
656da1f6a9 WIP: as with generics. 2017-02-02 21:36:49 +01:00
Dominik Picheta
814f527175 Fixes based on @Araq's feedback. 2017-02-01 21:51:17 +01:00
Dominik Picheta
3cbfd56e1d Fixes #3691. 2017-02-01 21:11:40 +01:00
Dominik Picheta
e8c46d29cd WIP implementation of except ExcType as ident syntax. Refs #3691. 2017-02-01 00:32:56 +01:00
Andreas Rumpf
1fa3a9dac2 bugfix: inline iterator do not mess up line information anymore 2017-01-25 09:34:51 +01:00
Andreas Rumpf
b85898cd41 fixes #5237 2017-01-19 13:26:22 +01:00
Brandon Pickering
06740d674b Remove colon when unpacking yielded tuples. Fixes #5173 (#5190) 2017-01-08 14:07:29 +01:00
Araq
e6c5622aa7 removed tyArrayConstr completely from the compiler; introduced tyAlias instead in preparation for further bugfixes 2016-11-14 23:18:30 +01:00
Andreas Rumpf
10f445da89 Merge pull request #4592 from arnetheduck/compiler-cleanup
Compiler cleanup
2016-08-25 16:50:54 +02:00
Andreas Rumpf
9c9a7b6520 fixes #3221 2016-08-22 18:31:26 +02:00
Jacek Sieka
3cd4cf4320 remove unused stuff 2016-08-09 22:54:27 +08:00
Jacek Sieka
7d62f031f6 remove sfFakeConst 2016-07-30 16:19:53 +08:00
Andreas Rumpf
685b8963da fixes #4110 2016-05-11 21:16:26 +02:00
Jacek Sieka
cf5b7cbdef fix type used for chckRange node boundaries
else you end up with for example an int64-sized value with an int32
type, when checking int32 -> Natural
2016-04-04 21:59:19 +08:00
Federico Ceratto
d9cb85c2d8 Spellcheck 2016-02-29 11:25:51 +00:00
Araq
38da21fc62 fixes #3730 2016-01-18 13:48:58 +01:00
Andreas Rumpf
b79a8d6025 nkEmpty is cleaner than nkCommentStmt 2016-01-17 21:28:36 +01:00
Andreas Rumpf
3838cd0066 fixes iterator codegen regression 2016-01-14 10:52:18 +01:00
Andreas Rumpf
d0709cc758 fixes more regressions 2016-01-13 03:03:59 +01:00
Andreas Rumpf
0844941b35 fixes regressions 2016-01-08 12:08:42 +01:00
Andreas Rumpf
98cc99cbcf fixes all known regressions 2016-01-06 11:26:52 +01:00
Andreas Rumpf
bb8b1c3b57 fixes #2604, fixes #1527 2016-01-05 14:59:43 +01:00
Andreas Rumpf
3d7c57db88 fixes #2659 2016-01-04 03:10:09 +01:00
Andreas Rumpf
9c6d3e26cb fixes another regression 2016-01-04 02:22:29 +01:00
Andreas Rumpf
813f98fb34 further progress on closure iterators; tforum still failing 2016-01-03 21:16:07 +01:00
Andreas Rumpf
1ad69be988 next steps to produce working closure iterators 2016-01-03 15:23:07 +01:00
Andreas Rumpf
307a6095fa made closure iterators tests green, updated docs 2015-12-31 00:16:38 +01:00
Andreas Rumpf
b3600a04c2 compute LL before the other transformations as that should produce more efficient code for closure iterators 2015-12-28 23:39:37 +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
3f24a7ff3e mitigates unclear nimsuggest problem 2015-10-22 10:24:19 +02:00
Araq
7f4f37eaa2 fixes tunittest crash 2015-10-13 16:31:30 +02:00
Araq
c04e17aea3 minor bugfix for transf pass after lambda-lifting 2015-09-21 15:49:47 +02:00
Araq
e733debec7 first implementation of write tracking and escape analysis; still disabled 2015-08-31 23:06:34 +02:00
Araq
14ce3c7d4d fix regressions 2015-08-05 21:43:15 +02:00
Araq
0d8942d45e destructors now work with overloaded assignment operators; fixes #2811; fixes #1632 2015-08-05 21:43:14 +02:00
Araq
9a8de7f3a3 fixes #3054 2015-07-05 15:00:48 +02:00