Stefan Talpalaru
b487d4e425
conditional TGenericSeq extension
2015-06-16 15:15:17 +02:00
Stefan Talpalaru
bdac85f2cf
Merge branch 'devel' into gogc
2015-06-15 08:44:02 +02:00
Andreas Rumpf
bbb1bdb4a9
Merge pull request #2643 from grncdr/TAny-and-inheritance
...
Resolve base type fields in `[](TAny, string)`
2015-06-07 10:56:29 +02:00
pdw
6ca3504dfb
lib/core - Dropped 'T' from types
2015-06-04 13:17:08 +02:00
Stefan Talpalaru
50e96ad939
the Go GC - initial implementation
2015-05-31 19:07:44 +02:00
Araq
543ec37975
get rid of deprecated effects
2015-05-28 12:51:18 +02:00
Adam Strzelecki
1d47617d1b
Macros: Introduce getType(t: typedesc): NimNode
...
Since typedesc are exception in macros and they are not implicitly converted to
NimNode on macro call, we need some means to perform such conversion on demand.
Fortunately it is as simple as declaring new magic "NGetType" proc with
typedesc parameter.
NOTE: Keeping actual macro exceptional behavior for typedesc is important,
since it allows passing typedesc macro parameter to other procs or macros
expecting type parameter. If typedesc parameter was implicitly converted, then
we would lost this ability.
2015-05-17 15:28:41 +02:00
Stephen Sugden
7fb5932b9b
Resolve base type fields in [](TAny, string)
2015-05-03 00:16:22 +02:00
Araq
43eae0c113
macros: added bool literal support
2015-04-20 20:40:10 +02:00
Araq
2b4e233510
Merge branch 'devel' of https://github.com/Araq/Nim into devel
2015-04-20 11:44:54 +02:00
Araq
dc3a0bc009
added macros.newTree proc (why didn't we do this earlier?)
2015-04-20 11:34:18 +02:00
fowlmouth
f8917e8ad3
add ntys up to ntyNot
2015-03-28 03:19:48 -05:00
Araq
a541be8935
prepare for upcoming parsing change of unary operators
2015-03-22 09:31:15 +01:00
def
fd4e629905
Rename PNimrodNode to NimNode
2015-03-17 17:50:32 +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
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