Commit Graph

61 Commits

Author SHA1 Message Date
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
Araq
e9a197e704 removed dead code 2015-01-30 03:04:46 +01:00
Araq
fe30ec83e2 nimsuggest improvements 2015-01-30 03:04:45 +01:00
Araq
8710a37384 nimsuggest: sane dirty buffer handling 2015-01-29 03:08:41 +01:00
Araq
26b853923c nimsuggest: first version 2015-01-27 01:36:19 +01:00
Araq
2ee2401336 fixes #1774 2014-12-31 16:07:56 +01:00
Araq
c5dbcb548f improvements for nimfix 2014-09-10 09:48:18 +02:00
Araq
569fbe8c37 'pretty' command does not exist anymore; improvements for nimfix 2014-09-10 02:19:46 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Araq
3c818c89be fixes #1285 2014-06-30 23:36:46 +02:00
Dominik Picheta
79b08488f7 Fix idetools --def crash. 2014-06-15 20:17:23 +01:00
Clay Sweetser
93fa75bb07 Fixed #1172 (for real) 2014-06-01 17:40:06 -04:00
Grzegorz Adam Hankiewicz
c163c06a65 Avoids idetools crash on nil parameters. 2014-04-15 21:13:10 +02:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Zahary Karadjov
afddae5aaf Merge branch 'upstream' into devel
Conflicts:
	compiler/ccgutils.nim
	compiler/msgs.nim
	compiler/sem.nim
	compiler/semexprs.nim
	compiler/seminst.nim
	compiler/semmagic.nim
	compiler/semstmts.nim
	compiler/semtypes.nim
	compiler/semtypinst.nim
	compiler/sigmatch.nim
	compiler/types.nim
	compiler/vmgen.nim
	lib/core/macros.nim
	lib/system.nim
	tests/reject/tenummix.nim
	web/news.txt
2013-12-29 17:21:00 +02:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
1101a40f91 improvements for 'pretty' 2013-12-28 23:30:53 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Zahary Karadjov
299cefdc98 make the current PContext accessible through TCandidate
the goal here is to remove all the hacks from ParamTypeMatch and to handle
all type matching in typeRel (the context there is required to evaluate any static
params and to run the compilation tests of user-defined type classes)
2013-12-25 00:58:22 +02:00
Zahary Karadjov
5dfc0d0d19 Take into account dirty buffers in suggest output; Fixes zah/nimrod.vim#14 2013-08-07 18:58:46 +03:00
Araq
fd2a808266 fixes token's column information 2013-07-30 08:45:00 +02:00
Araq
aa88e150da 'modules' module from 'main'; minor bugfixes 2013-07-20 20:17:23 +02:00
Thomas Kinnen
cb3915c5e1 Order suggestion output by scope and then by item name. 2013-07-01 20:32:26 +02:00
Araq
1c6ce881ec another attempt to implement #448 2013-05-31 01:36:15 +02:00
Araq
0715496d72 implements #448 2013-05-26 01:33:23 +02:00
Zahary Karadjov
f317807a89 final fixes giving us a working compiler 2013-05-12 02:19:17 +03:00
Zahary Karadjov
7a2b1a7520 get rid of ImportTablePos and ModuleTablePos 2013-05-12 01:20:40 +03:00
Zahary Karadjov
f0be93bfa2 handle invalid data in --def 2013-05-05 19:34:14 +03:00
Zahary Karadjov
519d5b834a experimental support for answering idetools --def requests from
an in-memory index built during compilation in caas mode
2013-05-04 23:02:03 +03:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
f280ed1560 implements #295 2013-01-08 16:30:26 +01:00
Araq
7e31134ff6 cas improvements 2012-10-24 08:43:17 +02:00
Zahary Karadjov
d9d82fb0af syntax compatibility between do blocks and stmt blocks
See the section `do notation` in the manual for more info.

* nkMacroStmt has been removed
   Macro statements are now mapped to regular nkCall nodes.
   The support for additional clauses (such as else, except, of, etc)
   have been restored - they will now appear as additional arguments
   for the nkCall node (as nkElse, nkExcept, etc nodes)

* fixed some regressions in the `is` operator and semCompiles
2012-10-04 15:37:26 +03:00
Araq
cc51581937 next steps for 'compiler as a service' 2012-10-03 21:32:06 +02:00
Araq
9fbee85cc9 first steps for compiler as a service 2012-10-03 20:49:43 +02:00
Araq
b5b5e6e76d distinguish properly between nkOpen and nkClosedSymChoice 2012-08-26 02:47:17 +02:00
Araq
5e15dec175 first steps to make templates hygienic 2012-08-20 01:13:13 +02:00
Araq
5cd933a44d make idetools output full paths 2012-08-05 19:38:11 +02:00
Araq
c7158af752 idetools: 'usages' and 'def' should work now; documented js backend 2012-08-05 12:33:23 +02:00
Araq
a7a2f464a2 idetools: don't suggest module names or not visible object fields 2012-08-03 22:57:26 +02:00