Commit Graph

348 Commits

Author SHA1 Message Date
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
Zahary Karadjov
6975ba401b fix for template redefinition. test cases added. 2012-03-15 14:15:37 +02:00
Araq
c25ffbf262 first steps for cleaner static/const distinction 2012-03-13 02:01:56 +01:00
Zahary Karadjov
f9876d379d unit test for #100
unittest: the check macro will print only the non-literal part of the checked expression
tests/run: added tunittests.nim as a single central executable where unittests could be added for quicker compilation/execution of the test suite
2012-03-10 17:26:34 +02:00
Araq
96e7ee91cc added docgen.rst2html for the forum; fixed tester bug concerning removeDir 2012-02-21 21:03:36 +01:00
Araq
a13a14327a fixes #99 2012-02-17 20:19:14 +01:00
Araq
97366d4419 bugfix: optimization of complex constant string concatenations 2012-02-17 02:16:33 +01:00
Zahary Karadjov
560a3bad28 `do' keyword in the grammar for lambda blocks 2012-02-10 14:50:35 +02:00
Araq
ca16db6094 added tests/tclosure2 2012-02-08 22:58:27 +01:00
Araq
fd4836a5d6 tester shouldn't fail when copyFile fails anymore 2012-02-06 00:28:35 +01:00
Araq
7efe817ca3 bugfix: threading on PowerPC 2012-02-02 00:16:33 +01:00
Araq
e4a4588b48 small fixes for tests on windows 2012-01-31 00:05:25 +01:00
Araq
a7e9ae55f4 tlsEmulation:on for windows/GCC 2012-01-29 23:04:07 +01:00