Commit graph

68 commits

Author SHA1 Message Date
Andreas Rumpf
826c1e2d78 incremental compilation: implemented basic replay logic 2018-06-02 09:41:27 +02:00
Andreas Rumpf
61fb83ecbb baby steps for incremental compilation 2018-05-30 23:50:34 +02:00
Andreas Rumpf
40ec7be45c refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly 2018-05-27 22:09:15 +02:00
Andreas Rumpf
669a564492 remove more global variables in the Nim compiler 2018-05-27 11:10:56 +02:00
Andreas Rumpf
bf6c2c5ccf preparations of making compiler/msgs.nim free of global variables 2018-05-17 15:21:22 +02:00
Araq
5526252fa0 fixes testament compilation 2018-05-14 17:45:44 +02:00
Andreas Rumpf
328e7a1005 options.nim: no global variables anymore 2018-05-13 17:52:21 +02:00
Andreas Rumpf
e4c088721a make nimsuggest compile again 2018-05-13 09:53:00 +02:00
Andreas Rumpf
bb8c47b496 pragmas compiles again 2018-05-11 18:53:18 +02:00
Zahary Karadjov
cf13c5fba4 implement the export/except statement 2018-05-07 09:37:49 +02:00
Araq
8518683dc7 the 'deprecated' pragma for modules now supports an error message 2018-04-06 11:59:49 +02:00
Yuriy Glukhov
60c7bbc8b7 Jump to definition on import will open the imported module (#7155) 2018-01-31 16:39:01 +01:00
Araq
8db5b32ff7 make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693 2017-12-15 12:16:03 +01:00
BigEpsilon
e2af486434 Add sections (type, var, let, const, using) support for reorder pragma (#6326) 2017-10-28 11:33:35 +02:00
Andreas Rumpf
02ff5f596c implemented new experimental scriptable import mechanism 2017-10-01 23:38:23 +02:00
Andreas Rumpf
fd4ef6ae8f .pure enums are much more convenient to use now 2017-09-17 17:36:37 +02:00
Andreas Rumpf
24a0927644 fixes #5185 2017-02-08 23:04:20 +01:00
Andreas Rumpf
64912d3d70 fixes #5185 2017-01-06 18:15:08 +01:00
Andreas Rumpf
4e481cc316 implements module grouping for the import statement 2016-12-21 22:13:50 +01:00
Andreas Rumpf
01ae0d28d4 recursive modules are only detected to improve error messages 2016-11-24 12:27:21 +01:00
Andreas Rumpf
7be1c55cf1 make tests green again 2016-11-24 09:14:36 +01:00
Araq
074f276c8a disallow recursive module dependencies 2016-11-23 23:23:31 +01:00
Araq
9e6fb3f696 new dependency tracking for nimsuggest 2016-11-05 01:19:23 +01:00
Araq
773d17cd14 big refactoring: step 1 2016-10-31 15:34:44 +01:00
Andreas Rumpf
154db46db8 fixes a regression that caused --import in a config file to break things 2016-08-29 11:33:41 +02:00
Araq
68e30d7d52 tester cleanup; enable some rod tests 2016-08-27 13:38:39 +02:00
Kier Davis
2bea2bdbbf Locate 'attempt to redefine' errors at the import statement rather than at the first line of the imported module. Fixes #4541. 2016-07-30 14:29:45 +01:00
Andreas Rumpf
893be3a5a4 changed the compiler's path handling; fixes #546 2016-05-31 03:04:45 +02:00
Araq
ae60f4ae76 better nimsuggest support 2015-11-03 14:52:37 +01:00
Araq
2fda95a4d6 added getOrDefault; bootstrapping works again 2015-10-13 03:03:05 +02:00
def
4a471d8231 Don't use deprecated intsets.empty 2015-03-31 00:33:53 +02:00
Araq
a541be8935 prepare for upcoming parsing change of unary operators 2015-03-22 09:31:15 +01:00
Hans Raaf
b85da579b3 Fixing import path support inconsitency. 2015-03-07 00:27:42 +01:00
Araq
201d3c9ed0 Merge branch 'devel' into bigbreak
Conflicts:
	web/news.txt
2014-10-23 23:13:49 +02:00
Araq
2c5743db3e fixes #1029 2014-10-22 12:50:04 +02:00
Araq
fa77547310 fixes 'import x as y' regression 2014-10-22 01:54:27 +02:00
Araq
53a9d6f5cd Merge branch 'devel' into bigbreak
Conflicts:
	compiler/nim.ini
	doc/manual.txt
	doc/tut2.txt
	koch.nim
	lib/system/channels.nim
	readme.txt
	tools/niminst/niminst.nim
	tools/nimweb.nim
	web/download.txt
	web/news.txt
2014-10-20 08:44:00 +02:00
Simon Krauter
27585ee6ec Compare fileIndexes instead of file names 2014-10-15 00:20:08 +02:00
Simon Krauter
849484f920 Do not allow self import 2014-10-14 23:38:50 +02:00
Araq
5946747970 updated the compiler to use the new symbol names 2014-08-28 23:48:42 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Clay Sweetser
10e23e9159 Renamed considerAccents to considerQuotedIdent 2014-05-26 10:42:10 -04:00
Clay Sweetser
055cdb2cdf Renamed 'considerAcc' to 'considerAccents' for clarity
Added documentation string to 'considerAccents'
Modified renderParamType's assertion to allow nkAcc nodes.
2014-05-24 08:10:40 -04:00
Zahary Karadjov
862c0ef83d split the inline and closure iterators into different symbol kinds for easier discrimination between them 2014-03-06 21:57:35 +02:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
a0b82db402 the compiler can now deal with multiple modules of the same name 2013-09-26 17:34:46 +02:00
Araq
e3ecc328a1 fixes #593 2013-09-24 21:45:22 +02:00
Araq
83584bf889 implemented 'import a as b' 2013-09-24 09:36:31 +02:00
Araq
1c9b4e5d33 made some tests green; implemented 'from module import nil' 2013-05-19 23:17:16 +02:00