Commit Graph

2232 Commits

Author SHA1 Message Date
Araq
e23857a98b fixes #2629, fixes #2641, fixes #2632, fixes #2630 2015-05-03 01:08:52 +02:00
Araq
6cb3635ca0 fixes 'echo nil' codegen bug 2015-05-03 01:08:51 +02:00
Araq
0f35a997dd minor bugfixes to the new 'len(nil)==0' feature 2015-05-03 01:08:50 +02:00
Araq
16a51ffc97 compiler\ccgexprs.nim
fixes 'nil' literal echoing
2015-05-03 01:08:49 +02:00
Araq
3905cfeace more cleanups for 0.11.0 2015-04-30 14:32:01 +02:00
Araq
a4f8a89c85 preparations for version 0.11.0 2015-04-30 02:01:38 +02:00
Araq
d40098ad82 columns are 1 based for nimsuggest 2015-04-30 00:01:07 +02:00
Araq
6d05ae26e6 fixes regression caused by code cleanups 2015-04-29 22:24:50 +02:00
Araq
26eae7d00e fixes #2470, fixes #1354 2015-04-28 20:21:53 +02:00
Araq
3fa2e79814 sempass2: bugfixes 2015-04-28 15:01:05 +02:00
Araq
c6398d408d fixes #1888 2015-04-27 23:11:59 +02:00
Araq
b34bd3b163 fixes #2577 2015-04-27 23:11:58 +02:00
Araq
85bcc14f7f fixes #2607 2015-04-26 22:44:06 +02:00
Araq
4550a2fb5c fixes #2602 2015-04-26 22:44:06 +02:00
Araq
22b5f4df54 fixes #2603 2015-04-26 22:44:05 +02:00
Andreas Rumpf
1cb14f888a Merge pull request #2605 from jyapayne/devel
Fixed the paths of nimfix and nimsuggest to be relative.
2015-04-26 11:08:47 +02:00
Araq
e40b667891 fixes regression: overloading by 'var' 2015-04-25 23:17:00 +02:00
Araq
d3fc6e1f28 marshalling can be done at compile-time 2015-04-25 23:17:00 +02:00
Araq
2c91e999e2 fixes #2600 2015-04-25 23:16:58 +02:00
Araq
ecc0090939 fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with -d:release 2015-04-25 23:16:57 +02:00
Araq
4d20aafb5e fixes #2372 2015-04-25 23:16:57 +02: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
Araq
6ca38472a1 cleanups for underscores in tuple unpacking 2015-04-24 13:08:42 +02:00
Araq
a5f321ea8f finishes #2566 2015-04-24 12:44:14 +02:00
Araq
9e4e7ca535 fixes #2533 2015-04-24 12:36:41 +02:00
Araq
c1730e1ead fixes #2335 2015-04-24 12:35:13 +02:00
Araq
3317faf80d fixes #2524 2015-04-24 12:35:12 +02:00
Andreas Rumpf
6a016743aa Merge pull request #2566 from nanoant/parser-diagnostic-location
Parser: Fix location (line, col) for diagnostics
2015-04-24 12:33:11 +02:00
Andreas Rumpf
3e000f4e36 Merge pull request #2437 from Araq/underscore-tuple-unpack
Implements #2154.
2015-04-24 12:32:57 +02:00
Araq
0c947f31ba system.locals is now a plugin for education 2015-04-24 02:08:06 +02:00
Araq
c8bebe92e2 fixes #2569 2015-04-23 23:49:10 +02:00
Araq
a7a2fa63aa fixes #2589 2015-04-23 02:08:30 +02:00
Dominik Picheta
f0f0062a5d Add sfGenSym for (_). 2015-04-23 00:29:16 +01:00
Dominik Picheta
9e69e4e078 Merge branch 'devel' into underscore-tuple-unpack
Conflicts:
	compiler/semstmts.nim
2015-04-23 00:26:17 +01:00
Araq
8dadeebd08 fix #2585 properly 2015-04-22 20:33:06 +02:00
Araq
bcd8053b23 fixes #2585 2015-04-22 20:25:11 +02:00
Araq
13c5f792dc fixes #2447 2015-04-22 16:11:51 +02:00
Araq
daad8100a9 fixed nil.add for JS 2015-04-22 15:21:20 +02:00
Araq
4be0d16520 added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin system to the compiler 2015-04-22 12:04:11 +02:00
Araq
54515241e3 fixes #2581 2015-04-22 12:04:10 +02:00
Araq
aacaa8f171 cleaned up some magics to make room for new magics; added '..<' and '..^' templates 2015-04-22 12:04:09 +02:00
Araq
c69d74818e fixes #2550 2015-04-22 12:04:09 +02:00
Andreas Rumpf
2f973c783c Merge pull request #2565 from nanoant/parser-consistency
Parser consistency
2015-04-22 11:59:52 +02:00
Adam Strzelecki
07b13251d1 Parser: Fix location (line, col) for diagnostics
Previously parser was using lexMessage which was taking location from current
buffer position which was pointing after recently consumed token. But since
parser shows diagnostics about that token it should point to the location where
token starts.

This makes diagnostics like: `test.nim(2, 2) Error: ':' expected` point
properly at the beginning of the wrong token.
2015-04-21 11:32:13 +02:00
Adam Strzelecki
69ed78b30f msg: Output column numbers starting from 1
Most of editors/IDEs expect column numbers to start from 1, so (1, 1) means
beginning of the file.

This change applies only to diagnostics output, however Nim will still
internally number columns starting from 0.
2015-04-21 11:32:12 +02:00
Araq
248dc42aa5 fixes #2520 2015-04-21 08:17:40 +02:00
Araq
f7f9265399 attempt to fix JS codegen regression 2015-04-20 22:53:46 +02:00