Commit graph

73 commits

Author SHA1 Message Date
Dominik Picheta
9e69e4e078 Merge branch 'devel' into underscore-tuple-unpack
Conflicts:
	compiler/semstmts.nim
2015-04-23 00:26:17 +01:00
Araq
10c1d7f519 minor lexer cleanups; fixes #2504 2015-04-10 14:03:48 +02:00
Dominik Picheta
ea505f3613 Get rid of tkUnderscore. Map _ to tkSymbol. 2015-04-08 20:08:45 +01:00
Dominik Picheta
b38eb2e2a8 Implements #2154.
When unpacking tuples in var/let declarations a part of the tuple can now
be discarded using a single underscore.
2015-03-31 00:39:23 +01:00
Araq
f6ff01572e breaking change: 'concept' is now a keyword and used instead of 'generic' 2015-03-23 13:10:18 +01:00
Araq
3bfcfeb0cf don't use stdout for nimsuggest server mode 2015-02-27 16:44:55 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Araq
26b853923c nimsuggest: first version 2015-01-27 01:36:19 +01:00
Andreas Rumpf
e2faa40a4e Merge pull request #1841 from skyfex/devel
Add support for big 'u64 literals and remove SomeUInt from unsigned.nim
2015-01-12 01:44:57 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Audun Wilhelmsen
e5bfb7d550 Added support for big 'u64 literals
Removed duplicate "SomeUInt' typedef from unsigned.nim
2015-01-02 22:10:49 +01:00
Araq
85cc5a6a1f destuctors are experimental; 'func' is now a keyword 2014-12-10 01:57:08 +01:00
Araq
e27ab36731 implements 'defer' 2014-12-04 10:12:32 +01:00
Araq
b2f577df23 fixes #1473 2014-11-12 02:36:59 +01:00
Araq
dcaba49c3f deprecated '#[' comments for future multi-line comment feature 2014-09-28 13:38:26 +02:00
Araq
428ee0c022 changed comment handling (breaking change); part 2 2014-09-07 01:47:16 +02:00
Araq
1cdb8022d0 changed comment handling (breaking change) 2014-09-07 00:58:31 +02:00
Araq
5946747970 updated the compiler to use the new symbol names 2014-08-28 23:48:42 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Araq
15a7bcc89f renamefest 2014-08-23 01:59:59 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
057b53e139 'lambda' is no keyword anymore 2014-08-08 02:24:19 +02:00
Araq
daf9dd701e fixes #1166 2014-07-01 22:10:43 +02:00
Araq
7c5f87e413 fixes #1265 2014-07-01 00:59:40 +02:00
Araq
4860b46c7f fixes #1264 2014-07-01 00:24:40 +02:00
Araq
b961e47bfe new concurrency model: first steps; shared is not a keyword anymore 2014-04-14 08:45:43 +02:00
Andreas Rumpf
9d4b77a65a Merge pull request #1003 from flaviut/devel
Add token position to `nimrod scan`
2014-03-16 22:08:43 +01:00
Zahary Karadjov
7080d02af4 allow multi-line expressions using the dot operator
this enables parsing of expressions like:

``` Nimrod
s.items
  .map(proc (x): auto = x * 2)
  .filter do (x) -> auto:
    return x % 2 == 0
  .group_by((x) => x.length)
```
2014-03-16 20:42:06 +02:00
flaviut
5e47c18e3f Add token position to nimrod scan
A block of the format "linenum:col\t' is added to the start of each token that is printed.
2014-03-14 14:18:38 -04:00
Araq
91d842e1ec implements strongSpaces parsing mode 2014-03-07 22:25:05 +01:00
Araq
37229df7fc next steps for closure iterators 2014-01-22 17:32:38 +01:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01: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
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
Araq
c0a3d44060 bugfix: keywords are sorted 2013-12-05 10:45:36 +01:00
Zahary Karadjov
6082595e96 Merge branch 'type-classes' into upstream 2013-09-03 03:14:56 +03:00
Zahary Karadjov
b5d833b329 implemented the using statement 2013-08-31 19:40:36 +03:00
Araq
a17076cf4f fixes #572 2013-08-30 12:44:09 +02:00
Araq
fd2a808266 fixes token's column information 2013-07-30 08:45:00 +02:00
Araq
df8e151408 implements nicer floating point literals 2013-06-27 22:22:49 +02:00
Araq
23bd3ccd8b Merge branch 'master' into newparser 2013-05-04 19:10:12 +02:00
Zahary Karadjov
89f9772f15 nimrod dump can now produce a machine readable json report
The data in the report includes necessary information for starting
the compiler service and setting up the project paths in the IDE.

the default verbosity of 1 is now set in the compiler code to fix an
issue with verbosity being temporary set to 1 during config parsing
even when it's explicitly overridden on the command-line.

compiler/lexbase was temporary renamed to nimlexbase as a
work-around for a codegen naming conflict with lib/pure/lexbase
resulting in linking errors (further investigation needed).
2013-05-01 20:46:05 +03:00
Araq
03764f0aba new parser works 2013-04-20 18:46:08 +02:00
Araq
2796121dd7 next steps for the new parser/grammar 2013-04-20 01:59:39 +02:00
Araq
04216fc750 first steps to the new parser/grammar 2013-04-19 09:07:01 +02:00
Araq
18fbaab216 fixes #310 2013-04-13 01:09:15 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Zahary Karadjov
86bf97a730 cleaned up some debugging code 2013-01-20 21:22:07 +02:00