Commit Graph

2460 Commits

Author SHA1 Message Date
Araq
00feaa2530 fixes #142 2012-06-20 14:43:03 +02:00
Araq
40339aac62 added another macro regression 2012-06-20 00:45:57 +02:00
Araq
39137294a3 made some tests green again 2012-06-20 00:21:53 +02:00
Araq
e0092cfae6 Merge branch 'master' of github.com:Araq/Nimrod 2012-06-19 22:38:48 +02:00
Araq
f191059e56 somewhat working closures 2012-06-19 22:37:00 +02:00
Araq
d5b01dfb7c next steps for full closure support 2012-06-18 02:03:08 +02:00
Araq
7076f07228 tinterf.nim works now 2012-06-17 02:11:13 +02:00
Araq
7b539c9e58 simple example works again 2012-06-16 18:29:22 +02:00
Araq
15dad22a0a first implementation of new lambda lifting 2012-06-15 23:18:52 +02:00
Zahary Karadjov
b11fe5d0b4 more uint related fixes 2012-06-14 17:33:00 +03:00
Zahary Karadjov
bb850aafec codegen for C++ exceptions 2012-06-03 20:37:56 +03:00
Zahary Karadjov
3ce400bb00 bugfix: finally blocks were not executed when the except block is exited by raise or return 2012-06-03 18:00:45 +03:00
Araq
761936bad5 niminst: use 'set -e'; failing to copy docs and data is no installation error 2012-05-31 01:35:13 +02:00
Araq
04300542da fixes #127 2012-05-30 22:37:17 +02:00
Araq
b5d8e8bfaa '+=' etc for all floating point types 2012-05-29 00:42:28 +02:00
Araq
f3980eb24a made tsequtils green again 2012-05-28 01:17:17 +02:00
Araq
bb7a14fec0 bugfix: UFCS for templates (ttempl3.nim enhanced) 2012-05-27 16:22:48 +02:00
Araq
15dd3a2251 fixes #109 2012-05-20 10:56:17 +02:00
Araq
85ac5f94f1 made tests green again 2012-05-11 00:11:17 +02:00
Araq
ccc4ed2c5a added thexlit test 2012-05-09 23:59:12 +02:00
Araq
a41bf611a0 fixes binding of overloaded procs 2012-05-04 01:58:54 +02:00
Araq
7511a05b27 resolved conflict for news.txt 2012-04-21 03:22:53 +02:00
Araq
4aba7421f5 GC with realtime support 2012-04-21 03:19:43 +02:00
Zahary Karadjov
251c44ff04 implicit generics types as return types. removed the error message for capturing incorrect uses of `proc` 2012-04-21 03:24:32 +03:00
Zahary Karadjov
818787457d grammar: the built-in type classes are now valid expressions 2012-04-18 19:50:32 +03:00
Araq
3d65c0a73f attempt to make tests green 2012-04-17 22:39:37 +02:00
Araq
cb79bf9f16 compiler finally supports 'object {.pragma.}' syntax 2012-04-16 23:40:08 +02:00
Araq
1db8b5cbb2 restored files that 'koch clean' removed 2012-04-16 16:43:41 +02:00
Araq
17d67ab828 fixes #105 2012-04-16 16:31:15 +02:00
Araq
da9ff288d9 Merge branch 'master' of github.com:Araq/Nimrod 2012-04-15 10:02:35 +02:00
Araq
959e370ae9 @ is a sigil-like operator 2012-04-15 10:02:15 +02:00
Zahary Karadjov
043a40eee6 fix incorrect path for rodfile tests' nimcache 2012-04-15 03:46:25 +03:00
Zahary Karadjov
1ba31f8df7 minor changes to make the test suite green again 2012-04-15 02:54:12 +03:00
Zahary Karadjov
238202ccbc re-enable rodfiles tests; fixes #91 2012-04-11 01:52:12 +03:00
Zahary Karadjov
c1ad05c4c5 Merge branch 'master' of github.com:Araq/Nimrod into upstream 2012-04-10 22:39:00 +03:00
Zahary Karadjov
97ab16d46b typetraits module and tests 2012-04-10 22:32:23 +03:00
Zahary Karadjov
a64f03230a proper order of initialization for .global. variables 2012-04-10 20:53:44 +03:00
Araq
c53ad1b39f documentation improvements; higher level Mongodb wrapper 2012-04-09 11:18:10 +02:00
Zahary Karadjov
8d698b2bdd Merge branch 'master' of github.com:Araq/Nimrod into upstream 2012-03-31 18:51:11 +03:00
Zahary Karadjov
22dc76a361 typedesc and expr params
types are now valid proc/template/macro params and you can overload over them:
proc foo(T: typedesc)        # accept any type
proc foo(T: typedesc{int}) # overload specifically for int
proc foo(T: typedesc{int or float or Callable}) # overload for any type matching the constraints

expr{type} is a param expecting compile time value of the designated type (or type class).

when typedesc or expr params are used with a proc, the proc will be instantiated once
for each unique type/value used as parameter.
2012-03-31 18:50:48 +03:00
Araq
ff3e80279b corrected the index website 2012-03-28 20:50:40 +02:00
Zahary Karadjov
6216046bc6 genSym support for hygienic macros and templates.
example:
template hygienic(val: expr) =
  var `*x` = val
  echo `*x`

*x was chosen as mnemonic for "opposite of public" and thus private
2012-03-26 04:36:26 +03:00
Zahary Karadjov
bc2eb0ea9b generic types can be used like type classes. distinct can be applied to type classes. 2012-03-25 20:55:21 +03:00
Araq
91db6bd9c9 fixes #102 2012-03-23 20:28:35 +01:00
Araq
5c33f76517 bugfix: GC marker procs; making tests green again 2012-03-23 09:29:53 +01:00
dom96
ace6a854a6 Added benchmark tool and some benchmarks. 2012-03-22 20:15:16 +00:00
Zahary Karadjov
3a5cf3d63a expr params implemented for procs; paving the way for type classes 2012-03-22 03:27:00 +02:00
Zahary Karadjov
a72fe16f9d making tests green again 2012-03-20 14:44:23 +02:00
Zahary Karadjov
e43f8d842b merged branch overloading-for-macros 2012-03-19 12:06:38 +02:00
Zahary Karadjov
72f2a6e275 the test suite is mostly green again 2012-03-16 05:33:21 +02:00