Commit Graph

161 Commits

Author SHA1 Message Date
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
Chris Heller
0553758ebd Clone the implementation of cmpIgnoreStyle into macros.nim from typeinfo.nim so that we get rid of any imports in the core modules 2015-03-03 09:29:38 -08:00
Chris Heller
b54dfbce16 Remove use of .format() from macros.nim to avoid importing into core. There is still a remaining import of cmpIgnoreStyle from strutils that needs to be removed as well 2015-03-03 09:22:54 -08:00
Chris Heller
df7e388e0c Make macros.nim expectKind error message with a single TNimrodNodeKind consistent with error message shown with a set of TNimrodNodeKind by displaying the actual node kind (as well as the expected) 2015-03-02 17:02:43 -08:00
Araq
24ae0c387f some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
Araq
3bfcfeb0cf don't use stdout for nimsuggest server mode 2015-02-27 16:44:55 +01:00
Araq
975f33b01d disable deprecated warnings for macros module 2015-02-25 21:14:21 +01:00
Araq
752052e903 implements a type API for macros 2015-02-24 00:13:28 +01:00
Araq
1e6aef62ba macros.PNimrodNode is now NimNode 2015-02-24 00:13:27 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Federico Ceratto
c95f6f117a Fix typos 2015-02-15 16:06:06 +00:00
Araq
10335fd726 fixed minor bugs; cleaned up tests 2015-02-12 14:56:56 +01:00
dumndummer
9a1be7a9f3 Update macros.nim
minor doc comment spelling correction
2015-02-02 17:57:31 +00:00
Mason McGill
a6ce70bd8d Added a few AST-construction shortcuts. 2015-01-27 11:48:14 -08:00
Audun Wilhelmsen
c461f5a8c6 Merge branch 'devel' of https://github.com/Araq/Nim into devel 2015-01-02 22:12:11 +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
Dominik Picheta
acc80aaedc macros.$ can now turn a nnkSym into a string. 2014-12-28 15:23:05 +00:00
Araq
bebac34f87 fixes #1352 2014-12-14 11:49:32 +01:00
Araq
911001991f more index terms 2014-12-11 20:50:08 +01:00
Araq
02f085b479 minor documentation improvements 2014-12-08 08:42:59 +01:00
Araq
08fcc87986 deprecated old locking effects 2014-12-08 08:42:18 +01:00
Araq
e27ab36731 implements 'defer' 2014-12-04 10:12:32 +01:00
Andreas Rumpf
6fb2d44b36 Merge pull request #1643 from def-/fix-locks-case
Fix compile because of case sensitivity
2014-11-12 23:25:22 +01:00
Araq
b2f577df23 fixes #1473 2014-11-12 02:36:59 +01:00
def
78b3f739b1 Remove runtime deadlock prevention as deadlock detection at compile-time is available
Conflicts:
	lib/core/locks.nim
2014-11-11 00:50:29 +01:00
def
ea57f340f2 Fix compile because of case sensitivity 2014-11-08 15:54:48 +01:00
Araq
adad2d5f4a Merge branch 'devel' into bigbreak
Conflicts:
	lib/impure/db_postgres.nim
	lib/pure/json.nim
	lib/pure/math.nim
	lib/system/atomics.nim
2014-11-03 11:42:36 +01:00
Araq
7a48942719 nicer error messages (untested) 2014-10-26 19:54:43 +01:00
Grzegorz Adam Hankiewicz
aa1fb9a07e Adds stringification support for nnkPostfix nodes. 2014-10-11 00:53:26 +02:00
Araq
30823c1ce3 make tests green 2014-08-31 15:15:26 +02:00
Araq
4523b29d7a Nimrod renamed to Nim 2014-08-28 09:59:26 +02:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
42f5a838a3 more modules updated 2014-08-28 02:06:11 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
8f5bf06528 fixes #1450 2014-08-14 02:55:04 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Dominik Picheta
779f2b37aa Fixes typeinfo after PR #1408 broke it. 2014-07-29 21:29:39 +01:00
Joshua Cearley
2577c92ec7 Add better support for unsigned ints via typeinfo. 2014-07-23 21:30:03 -05:00
Araq
472190bedc fixes #1085 2014-04-21 00:04:36 +02:00
Araq
e6d17e6273 made large parts of the stdlib gcsafe 2014-04-20 20:01:24 +02:00
Araq
3e25d5f247 merged better html links #850 2014-04-08 01:19:15 +02:00
Zahary Karadjov
e8c50640d7 failing test case preventing the use of --gc:v2: tsymchoicefield 2014-03-24 12:17:22 +02:00
Zahary Karadjov
862c0ef83d split the inline and closure iterators into different symbol kinds for easier discrimination between them 2014-03-06 21:57:35 +02:00
Dominik Picheta
6a65d1c515 newProc can now be used to construct iterator defs. 2014-02-12 21:28:17 +00:00
Araq
99352c1e4c macro tests almost green 2014-02-03 17:35:03 +01:00
Araq
37229df7fc next steps for closure iterators 2014-01-22 17:32:38 +01:00
Araq
4a0aadef4d parser support anon iterators 2014-01-20 20:07:44 +01:00
Araq
51ee524109 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-01-13 01:22:03 +01:00
Araq
346443d1b5 case consistency improvements 2014-01-11 21:56:05 +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