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
def
2613110015
Use gProjectIsStdin instead
2015-05-17 16:10:46 +02:00
def
def61c9fcd
Clean up stdin file reading of compiler.
...
Uses "stdinfile" as the module identifier now, which prevents problems
with - colliding with the minus operator. This fixes #2422 and #2702 .
2015-05-16 12:38:53 +02:00
def
dca5508d13
Make compiler read files from stdin
...
Special "-" file as stdin.
2015-02-22 23:23:22 +01:00
Araq
26b853923c
nimsuggest: first version
2015-01-27 01:36:19 +01:00
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +01:00
Araq
45accd613b
'nim i' should work again
2014-09-18 09:56:13 +02:00
Araq
7f7b13a45f
nimfix handles helloworld
2014-09-06 00:50:53 +02:00
Araq
2781fea9e2
Nimrod renamed to Nim
2014-08-28 09:38:14 +02:00
Araq
2f43fdb837
renamefest
2014-08-23 01:43:49 +02:00
Reimer Behrends
55e7d91b31
Fix generation of package-dependent init names.
...
The code incorrectly used relative instead of absolute paths to
see if *.babel files could be found, which could result in them
not being located properly.
Also added an underscore between the package and the module name
for package_moduleInit() and package_moduleDatInit() so that there
won't be spurious conflicts, e.g. for package A and module BC vs.
package AB and module C.
2014-06-25 00:42:55 +02:00
Araq
614557994e
the compiler is now aware of packages
2014-03-02 23:46:20 +01:00