Commit graph

102 commits

Author SHA1 Message Date
Andreas Rumpf
826c1e2d78 incremental compilation: implemented basic replay logic 2018-06-02 09:41:27 +02:00
Andreas Rumpf
a5701d6b71 ensure compiler API doesn't import the RST engine 2018-05-29 08:22:09 +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
2a7fc84c86 remove ast.emptyNode global; cleanup configuration.nim 2018-05-16 03:06:07 +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
84bc04ba32 sigmatch compiles again 2018-05-11 18:04:11 +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
Andreas Rumpf
212457f5e0 the .deprecated pragma for procs now supports a user-definable deprecation message 2018-02-02 12:53:38 +01:00
Andreas Rumpf
e4081a7201 preparations for language extensions: 'sink' and 'lent' types 2018-01-07 23:09:26 +01:00
Andreas Rumpf
b414806e66 nimsuggest: suggest types in a type section 2017-03-14 11:21:35 +01:00
Andreas Rumpf
2430fc7d82 nimsuggest: special rule for 'of' completion in case statements 2017-03-10 14:42:11 +01:00
Andreas Rumpf
68181e6da2 nimsuggest: maxresults limit; fixed local symbol usages priorizations 2017-03-10 11:29:16 +01:00
Araq
57ea01309e nimsuggest: more things work 2017-03-09 17:09:39 +01:00
Araq
4755795416 nimsuggest: more precise cursor tracking 2017-03-09 14:58:14 +01:00
Andreas Rumpf
da821a22d9 nimsuggest: revert cpFuzzy bailouts 2017-03-09 11:30:36 +01:00
Araq
4d0d6c47bd bugfix: consider type contexts properly 2017-03-08 15:59:34 +01:00
Andreas Rumpf
91a4b448fd nimsuggest: chk checks the full project lazily; much better suggestions orderings 2017-03-08 00:38:48 +01:00
Andreas Rumpf
538c6c9898 make some tests green 2017-03-07 12:34:45 +01:00
Andreas Rumpf
9ed322323e nimsuggest: better ordering of symbols (part 1) 2017-03-07 10:58:43 +01:00
Andreas Rumpf
3b0430bec6 nimsuggest: minor doc addition 2017-03-03 12:59:32 +01:00
Andreas Rumpf
a9c1afd5fd nimsuggest: structured error reporting; EPC mode still fails 2017-03-03 02:13:16 +01:00
Andreas Rumpf
3e7b04683c make tests green again 2017-03-02 12:23:35 +01:00
Araq
ee13c8014b nimsuggest: track type contexts 2017-03-01 09:57:51 +01:00
Araq
3d46600a90 nimsuggest supports prefix matching (first version) 2017-02-28 09:03:40 +01:00
Andreas Rumpf
46efaf294b big compiler refactoring; avoid globals for multi method dispatcher generation 2017-02-22 16:27:52 +01:00
Andreas Rumpf
9f142e199d nimsuggest uses multithreading and full project recompiles 2017-02-13 13:37:50 +01:00
Andreas Rumpf
733ed91d33 disable transitive closure computations; only semcheck procs that have the cursor 2017-02-09 17:40:24 +01:00
Andreas Rumpf
76a28d8b83 nimsuggest: bugfix: also output documentation comments 2017-02-03 17:36:39 +01:00
Andreas Rumpf
0b93db5a7c fixes nimsuggest issue #44 2017-01-26 23:23:40 +01:00
Araq
237252f90c Merge branch 'devel' into sighashes 2016-12-19 11:35:45 +01:00
Andreas Rumpf
7bbf74e2a3 fixes nimsuggest bug #43 2016-12-18 14:07:05 +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
Araq
9e6fb3f696 new dependency tracking for nimsuggest 2016-11-05 01:19:23 +01:00
Araq
08c94ef6b5 nimsuggest is now part of Nim 2016-10-31 20:12:54 +01:00
Andreas Rumpf
dfa0699e73 C++ backend: use .noInit pragma for non-public default constructors; refs #4687 2016-09-04 22:36:29 +02:00
Andreas Rumpf
3a13706d7d fixes #4673 2016-09-01 13:02:53 +02:00
Andreas Rumpf
60b187513e stdlib and compiler don't use .immediate anymore 2016-07-29 23:51:01 +02:00
Andreas Rumpf
ce91a1b25d fixes #4510 2016-07-29 01:00:25 +02:00
Araq
d673fb3911 nimsuggest: added 'chk', 'outline' and 'highlight' features 2015-11-01 23:26:31 +01:00
Araq
ca75985fc1 nimsuggest: added 'dus' command that combines 'def' and 'use' 2015-10-12 16:55:24 +02:00
Araq
c921f30b1d renamed inCompilesContext to compilesContextId; added test case for #3313 2015-09-18 11:29:43 +02:00
Adam Strzelecki
d681812465 compiler: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:22 +02:00
Simon Hafner
5e97780a94 changed from parseEnum to direct copy
Let's hope this doesn't break anything
2015-05-13 18:34:29 +05:00
Simon Hafner
c06672451a removed unnecessary deps 2015-05-08 19:47:17 +05:00
Simon Hafner
33edba665d removed a few consts and rewired to IdeCmd 2015-04-26 08:54:46 +05:00
Simon Hafner
7d42eb2de2 barebones in nimsuggest for EPC 2015-04-22 21:53:04 +05:00
Simon Hafner
b01b7675ab parseEnum ftw 2015-04-22 06:15:52 +05:00
Simon Hafner
518db9eb7e rewrite suggest.nim for suggestionResultHook 2015-04-22 06:10:47 +05:00