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
Araq
4b95233632
fixes #98
2012-01-29 19:12:48 +01:00
Araq
1ba3dbc759
bugfix tests/tzeroarray
2012-01-29 13:38:23 +01:00
Araq
23340695d0
fixes #89
2012-01-29 02:13:53 +01:00
Araq
9083f01fd2
fixed #96 as good as technically possible (debug frames are allocated on the C stack)
2012-01-29 01:53:09 +01:00
Araq
8d19a93f1a
pragma on/off improvements; endb rewritten
2012-01-28 23:22:44 +01:00
Araq
78f4aacde9
pragma blocks; fixed line information issue with user defined assertions
2012-01-17 23:58:18 +01:00
Araq
c682a1da2b
bugfix: invalid indentation for 'else' is detected; optional indentation for 'if' expressions
2012-01-13 14:59:58 +01:00
Araq
e362cbbfd7
bugfix: tests/reject/tnoinst.nim is now rejected properly
2012-01-13 13:40:05 +01:00
Araq
76886432da
even more sys assertions
2012-01-13 12:49:06 +01:00
Araq
e6b3f50c7f
more sysasserts for allocator/gc
2012-01-12 19:44:57 +01:00
Araq
92e1a21b26
further steps to eliminate generics bugs
2012-01-11 08:52:50 +01:00
Araq
a42a5e8e7c
disabled tdatabind.nim as it's still to heavy for the compiler
2012-01-08 11:07:23 +01:00
Araq
f8721ed20e
adapted titer4 test because of new implicit items/pairs iterators
2012-01-08 10:51:45 +01:00
Araq
2ae78c0cfb
implicit invokation of items/pairs iterators
2012-01-08 01:29:10 +01:00
Araq
7f3b3298b4
fixes #33
2012-01-07 20:30:51 +01:00
Araq
7405278138
bugfix: type alias to generic; generic type not stripped away from for loop variable
2012-01-07 20:03:41 +01:00
Araq
071b1e3957
test t99bott.nim works now
2012-01-06 00:29:18 +01:00
Araq
8aa4e46707
implemented incompleteStruct pragma; embedded debugger works with posix module
2012-01-05 00:46:51 +01:00
Araq
9152193e41
fixed some tests
2012-01-03 01:42:23 +01:00
Araq
d32a1e9ba2
io test uses dummy compile result object
2012-01-02 23:58:58 +01:00