Commit Graph

66 Commits

Author SHA1 Message Date
Araq
76aab9baf1 compiler: make symbolfiles feature compile again 2018-10-02 16:18:15 +02:00
Andreas Rumpf
86556ebfdb compiler refactoring; use typesafe path handing; docgen: render symbols between modules 2018-09-07 19:21:16 +02:00
Andreas Rumpf
8ba7e7d807 toy program works with incremental compilation 2018-06-07 18:24:16 +02:00
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
ddc6cec69e refactoring: move DB model to incremental.nim 2018-05-30 10:15:41 +02:00
Andreas Rumpf
545b1582cd refactoring: make projectMainIdx typesafe 2018-05-27 22:30:36 +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
18a3833d60 more refactoring 2018-05-27 15:22:17 +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
342e50e26c compiler compiles again; simple programs do work 2018-05-13 08:51:11 +02:00
Andreas Rumpf
8ca5b71c6a the remaining passes all compile again 2018-05-13 00:45:52 +02:00
Andreas Rumpf
b7116a28ee compiler refactoring, pass config around explicitly 2018-05-05 18:47:29 +02:00
Andreas Rumpf
e44c6d8337 refactoring: remove dead code 2018-04-21 17:01:33 +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
046ed4ed22 symbol files: implemented accurate module dependency tracking 2018-02-21 00:48:23 +01:00
Araq
2fcc163746 symbol files: more progress 2018-02-20 01:15:43 +01:00
Araq
f3b8d92216 new .rod file implementation; part 1: writing of the file 2018-02-17 00:40:48 +01:00
Andreas Rumpf
70e8640244 move new sha1 module into the new 'std' namespace 2018-02-06 17:40:31 +01:00
Andreas Rumpf
274fafb2df fixes #6961 2018-02-02 17:35:04 +01:00
Lolo Iccl
b6b5a11be7 Fixes #5112 (Fix error messages raised when multiple modules have the same original name) (#5220)
Fixes #5112
2017-01-17 16:58:50 +01:00
Araq
074f276c8a disallow recursive module dependencies 2016-11-23 23:23:31 +01:00
Araq
52bb696cd4 make tests green again 2016-11-06 18:59:49 +01:00
Andreas Rumpf
0c49822b50 nimsuggest supports include files properly; added the compiler itself as a testcase 2016-11-06 11:19:59 +01:00
Araq
9e6fb3f696 new dependency tracking for nimsuggest 2016-11-05 01:19:23 +01:00
Araq
29db0d8585 refactoring complete: explicit ident cache 2016-10-31 19:47:20 +01:00
Araq
773d17cd14 big refactoring: step 1 2016-10-31 15:34:44 +01:00
Andreas Rumpf
e92a7fd508 nimsuggest improvements 2016-08-29 15:47:38 +02:00
Jacek Sieka
3cd4cf4320 remove unused stuff 2016-08-09 22:54:27 +08:00
Andreas Rumpf
f1092512e3 tiny style changes 2016-08-09 14:16:26 +02:00
Andreas Rumpf
39ebe2175b compiler almost free of deprecated expr/stmt names 2016-07-30 16:34:42 +02:00
Andreas Rumpf
9eb909baf9 fixes #4485; package handling works better; docgen works with --project on Nimble package level 2016-07-19 14:13:23 +02:00
Andreas Rumpf
c3315bc763 added gFuzzyGraphChecking for nimsuggest timeout problems 2016-07-17 01:56:45 +02:00
Andreas Rumpf
8698de1742 nimsuggest improvements 2016-07-16 13:47:21 +02:00
Andreas Rumpf
3e72c98d49 rollback of nimsuggest improvement until we figured out the reasons 2016-07-15 11:44:02 +02:00
Andreas Rumpf
7df8b4bb43 nimsuggest: dependencies are recalculated properly 2016-07-13 21:26:37 +02:00
Andreas Rumpf
e9eab32e54 new language feature: explicit 'import system' statements are allowed 2016-07-07 01:02:12 +02:00
Andreas Rumpf
0b84ee167b fixes #2159
Hints and warnings are only emitted for the main package that is compiled
2016-05-28 17:12:51 +02:00
Araq
d673fb3911 nimsuggest: added 'chk', 'outline' and 'highlight' features 2015-11-01 23:26:31 +01:00
Araq
a2c040e3bd added undocumented exportNims pragma for Nimscript support 2015-10-03 23:19:15 +02:00
Araq
9659540b18 preparations for Nimble NimScript integrations; minor cleanups 2015-08-18 14:01:40 +02:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
Flaviu Tamas
62b55592e8 CRC -> Hash 2015-07-03 10:13:45 -04:00
Dominik Picheta
0e4e187476 Use full file path for CRC checks.
Ref nim-lang/nimsuggest#6. Ref nim-lang/nimsuggest#4.
2015-06-14 20:19:49 +01:00
Adam Strzelecki
3d266433a7 securehash: Keep module name consistent
1. All other modules don't use underscore, why this should be different?

2. Wrap some imports to 80 column
2015-06-09 22:20:05 +02:00
Flaviu Tamas
4873db4c72 Rename crc module to "secure_hash" 2015-05-23 13:17:19 -04:00
Flaviu Tamas
188bba2b3c Clean up crc module
Use better names, remove quite a bit of dead code.
Change `><` to a name that's actually descriptive.
2015-05-23 13:01:52 -04:00