Commit Graph

33 Commits

Author SHA1 Message Date
Federico Ceratto
39290cf88c Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
Araq
07d465ca42 [refactoring] remove unused imports in the compiler and in some stdlib modules 2019-07-18 00:36:03 +02:00
Andreas Rumpf
5348fef003 implements a --nep1:on switch to make the compiler enforce the naming conventions outlined in NEP-1 2018-06-13 01:44:19 +02:00
Andreas Rumpf
c640bd2d1b cleanup compiler/prettybase to not use redudant global variables 2018-05-27 22:52:10 +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
ce859d8c16 more modules compile again 2018-05-12 16:35:59 +02:00
Andreas Rumpf
3c4ceea427 move more global variables into ConfigRef 2018-05-11 15:28:26 +02:00
Andreas Rumpf
7eb39d9d26 guards.nim does compile 2018-05-11 13:07:16 +02:00
alaviss
7897026e57 pretty, prettybase: simplify relative paths (#7779)
This allows nimble to be built with compiler as a nimble package
2018-05-07 07:30:13 +02:00
alaviss
c8a412998a make nimfix compile again (#7708) 2018-04-27 20:58:39 +02:00
Andreas Rumpf
33b69f0ed0 refactoring: make FileIndex a distinct type; make line information an uint16; fixes #7654 2018-04-21 08:13:37 +02:00
Araq
19ed4a8e3e fixes #7522 2018-04-06 13:56:15 +02:00
Arne Döring
92c2a51bf7 removed compiler internal list implementation (#5371) 2017-02-22 17:33:12 +01:00
Andreas Rumpf
4e481cc316 implements module grouping for the import statement 2016-12-21 22:13:50 +01:00
Araq
f484d1b20b make nimfix compile with newer compiler API 2016-12-20 15:59:53 +01:00
Federico Ceratto
7d24656b0a Fix few typos 2016-10-17 13:12:15 +01:00
Andreas Rumpf
9605435f2e get rid of deprecated toLower/toUpper 2016-07-19 19:28:01 +02:00
Dominik Picheta
f1da308776 Fixes #1801. 2016-06-06 10:51:18 +01:00
patrick dw
2a0f7b5de7 renamed writeln to writeLine in compiler 2015-06-19 01:45:12 -05:00
Dominik Picheta
2d9a24f3f6 Hopefully fixes nimsuggest building against the compiler package. 2015-06-04 23:07:57 +01:00
Joey Payne
db84afe016 Fixed the paths of nimfix and nimsuggest to be relative. 2015-04-25 12:07:35 -06:00
Andreas Rumpf
61d0a649aa Merge pull request #2598 from jyapayne/devel
Added explicit imports for compiler modules to fix compiling nimsuggest on it's own.
2015-04-24 20:25:57 +02:00
Joey Payne
01e9c7d450 Removed explicit imports in compiler/nimfix/*.nim and added cfg path modification 2015-04-24 11:25:00 -06:00
Joey Payne
6c6a52ff3a Added explicit imports for compiler modules to fix compiling nimsuggest.
See https://github.com/nim-lang/nimsuggest/issues/1
2015-04-24 10:06:56 -06:00
Hans Raaf
b6cde0bab0 Changed project relative path to include the right directory. 2015-02-20 18:31:39 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
caf2f6ecfe implemented --bestEffort switch for nimfix 2014-12-26 22:43:14 +01:00
Araq
1f63d1c76e documented nimfix 2014-11-04 08:38:56 +01:00
Araq
da0fab7046 nimfix now in its own directory; single file mode now the default 2014-10-05 23:36:47 +02:00