Commit Graph

323 Commits

Author SHA1 Message Date
Andreas Rumpf
328e7a1005 options.nim: no global variables anymore 2018-05-13 17:52:21 +02:00
Andreas Rumpf
fedc136985 transf and vmgen compile again 2018-05-12 09:38:41 +02:00
Yuriy Glukhov
48d8e215d5 Don't leak sem PContext into transf 2018-05-09 22:25:28 +03:00
Yuriy Glukhov
d71f69ab50 Closure iter transformation 2018-05-09 22:25:27 +03:00
Andreas Rumpf
ee366f1746 .experimental can now be used to enable specific features 2018-04-24 09:34:29 +02:00
Andreas Rumpf
47335aab41 introduce nkTupleConstr AST node for unary tuple construction; breaking change 2018-04-13 17:45:58 +02:00
cooldome
16c1a90857 Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360) 2018-04-10 12:14:59 +02:00
cooldome
12b11fd848 Fix compiler crash on try expression with infix as (Fixes #7116) (#7112)
* Fix compiler crash

* make sure type is not lost
2018-01-29 05:59:49 +01:00
Andreas Rumpf
e4081a7201 preparations for language extensions: 'sink' and 'lent' types 2018-01-07 23:09:26 +01:00
Araq
720c73e6d5 symbol files: fixes the logic for multi-methods 2018-01-03 02:36:29 +01:00
Araq
ee67a67ac4 first steps in adding template/macro calls to stack traces 2017-12-21 10:03:33 +01:00
Araq
5d2e86ea1a the documentation generator now supports ':test:' for the testing of test snippets 2017-11-28 01:15:33 +01:00
Andreas Rumpf
d072229975 fixes #6724 2017-11-19 00:37:36 +01:00
Andreas Rumpf
cccdd9b58e fixes new liftLocals pass 2017-11-02 20:39:08 +01:00
Andreas Rumpf
bd19b5f4d3 implemented undocumented '.liftLocals' feature 2017-11-02 10:42:19 +01:00
Andreas Rumpf
70ea45cdba deprecated unary '<' 2017-10-29 08:37:13 +01:00
Araq
b2a2522d2d make tests green again 2017-10-26 00:55:23 +02:00
Araq
b407f083ba destructors: work in progress 2017-10-26 00:55:23 +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
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