Commit Graph

284 Commits

Author SHA1 Message Date
Araq
ed0d9e271d disallow negative indexing 2015-03-27 01:30:06 +01:00
Araq
5d63ecb3a4 implemented a[^1] notation 2015-03-26 02:12:38 +01:00
Araq
08c0ba379a fixes #1805 2015-03-21 20:38:28 +01:00
Araq
5641be51c1 codegen doesn't produce line tracing commands anymore; fixes #1344 2015-03-21 20:38:27 +01:00
Araq
910ef7b2d1 'constructor' pragma for C++ support 2015-03-18 11:42:37 +01:00
Araq
bc264618f5 fixes #2257 2015-03-16 23:02:20 +01:00
Araq
13cdad8819 fixes #2304 2015-03-16 23:02:18 +01:00
Araq
970e98718d code cleanup 2015-03-12 01:45:13 +01:00
Araq
6dbd41e875 fixes #2316 2015-03-11 20:11:08 +01:00
Araq
1efb5174f2 fixes #2220; #2219; breaks #2022; for #2022 callsite needs to be used 2015-03-10 12:32:46 +01:00
Andreas Rumpf
df0473d754 Merge pull request #2239 from Maxdamantus/devel
interpret `tuple` as a class and `tuple[]` as the empty tuple, enable syntax for anonymous tuples
2015-03-07 17:35:14 +01:00
Araq
d58212ccc5 fixes #1940; code breakage! stricter template evaluation 2015-03-07 15:43:36 +01:00
Max Zerzouri
9c126282b2 interpret tuple as a class and tuple[] as the empty tuple
When the indentation syntax is allowed it is always interpreted as a
tuple:

type
  Unit = tuple
2015-03-06 12:20:15 +13:00
Araq
3bfcfeb0cf don't use stdout for nimsuggest server mode 2015-02-27 16:44:55 +01:00
Araq
752052e903 implements a type API for macros 2015-02-24 00:13:28 +01:00
Araq
9080d3a9a9 small cleanup of ast.nim 2015-02-24 00:13:27 +01:00
Araq
b7f11b8b0a fixes #2125 2015-02-18 13:44:01 +01:00
Federico Ceratto
c95f6f117a Fix typos 2015-02-15 16:06:06 +00:00
Araq
74c6c8c903 compiler distinguishes between 2 different 'var' types for C++ interop; code cleanups 2015-02-07 10:48:07 +01:00
Araq
e75e421912 C++ support: codegen generates C++'s references and avoids copies 2015-02-04 00:52:45 +01:00
Araq
a4b2762249 fixes #325 2015-01-28 19:31:36 +01:00
Araq
26b853923c nimsuggest: first version 2015-01-27 01:36:19 +01:00
Dustin Lacewell
0619383f46 Revert 5e4ae8d 2015-01-07 14:07:06 -08:00
Zahary Karadjov
5e4ae8dbb4 fix #1858; Add support for generic templates and macros
Implementation notes:
Just after overload resolution, the resolved generic params will be added to the
call expression to be later processed in evalTemplate and evalMacroCall. These
procs have been modified to handle the increased number of parameters, but one
remaining issue is that immediate templates and macros don't go through the same
process. The next commit will outlaw the use of generic parameters with such macros.
2015-01-05 03:53:31 +02:00
Zahary Karadjov
05cbbac4e5 support for static params in the user defined type classes 2015-01-02 23:58:24 +02:00
Araq
7f415b5b11 fixes #1788 2014-12-30 03:05:29 +01:00
Araq
9280473eb1 fixes #1120 2014-12-25 17:22:41 +01:00
Araq
f96e0a7523 fixes #1690 2014-12-18 20:15:40 +01:00
Araq
4b7de4dc5e implemented 'experimental' switch 2014-12-05 10:09:29 +01:00
Araq
e27ab36731 implements 'defer' 2014-12-04 10:12:32 +01:00
Araq
105a0616a9 implemented procCall builtin 2014-11-28 02:43:41 +01:00
Araq
8349cee613 fixes #1055 2014-11-16 20:32:05 +01:00
Araq
78346c2587 astToStr is a special magic 2014-11-14 01:39:53 +01:00
Araq
b781e25ec6 should compile with csources again 2014-10-06 01:01:23 +02:00
Araq
e65c296bcc implemented mixed mode codegen 2014-10-03 01:21:35 +02:00
Araq
e9dec2feed better lock level handling 2014-10-02 02:33:14 +02:00
Araq
d576fbb39a implemented locking levels; still incomplete 2014-09-27 15:06:06 +02:00
Araq
7916b1f9aa implemented 'guard' annotation 2014-09-21 18:39:00 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Clay Sweetser
f8ea5f1a37 Adds documentation on skipTypes and mapType 2014-08-09 16:40:58 -04:00
Araq
9673e4f2df progress on deepCopy 2014-08-01 23:40:48 +02:00
Araq
a7911addf7 parseBiggestFloat is now builtin 2014-07-16 00:41:03 +02:00
Araq
6d3b632b47 Merge branch 'new_spawn' into devel
Conflicts:
	todo.txt
	web/news.txt
	web/nimrod.ini
2014-07-15 09:37:45 +02:00
Araq
b56f43c394 fixes #898 2014-07-01 22:58:44 +02:00
Araq
85a1d896c2 Merge branch 'devel' of https://github.com/Araq/Nimrod into new_spawn
Conflicts:
	lib/system.nim
2014-06-26 17:19:28 +02:00
Araq
eed443d4b3 rewrote lambdalifting; fixes deeply nested closures 2014-06-26 15:58:41 +02:00
Andreas Rumpf
2ec1501c7a Merge pull request #1281 from Araq/new_spawn
New spawn
2014-06-16 23:03:17 +02:00