Commit Graph

460 Commits

Author SHA1 Message Date
Zahary Karadjov
9c8bc3a244 the is operator now works with type classes and type variables
bugfixes:
the DLL tests were failing on Mac OS X, due to an incorrect DynlibFormat
2012-10-03 01:59:49 +03:00
Zahary Karadjov
770d4a997e implemented case expressions 2012-10-03 01:59:49 +03:00
Zahary Karadjov
698785ef5e bugfix: allow tuple constructors in generic code 2012-10-03 01:59:49 +03:00
Zahary Karadjov
7e44015491 implemented return type inference
Other fixes:
* bind once is now the default for type classes as documented in the manual
* fixes an issue in template overloading (erroneous  ambiguity when different typedesc params were used)
2012-10-03 01:59:49 +03:00
Zahary Karadjov
2aabae702d fixes ttypeselectors 2012-09-28 14:30:48 +03:00
Zahary Karadjov
c899b51b52 test cases for the new typedesc features 2012-09-25 02:03:15 +03:00
Zahary Karadjov
27dc9fcb8f fixes #186 and the ttypedesc1 test case 2012-09-23 19:34:20 +03:00
Araq
603dc36008 bugfix: 'result' cannot be captured in a closure 2012-09-23 00:52:34 +02:00
Araq
759b3201ad proc bodies can be expressions with a type 2012-09-22 22:43:36 +02:00
Dominik Picheta
be1a709e7e ftpclient fixed but causes an issue with the code generator and
therefore does not compile.

Asyncio: Added handleWrite event and an ability to wrap an already
initialised TSocket to a PAsyncSocket.
Fixed tircbot test.
2012-09-21 20:39:47 +01:00
Araq
505f179515 added tactors2 test 2012-09-21 19:31:18 +02:00
Araq
32aa46a881 bugfix: typeinfo generation 2012-09-21 16:28:57 +02:00
Araq
034686d4c0 bugfix: tester does not hang anymore 2012-09-21 00:32:15 +02:00
Araq
043921c7a7 fixes #194 2012-09-20 23:44:52 +02:00
Araq
cb6ad8cb74 bugfix: 'nimrod i' works again 2012-09-18 20:59:14 +02:00
Araq
9b8afc9321 pragma statements in rodfiles -- couldn't reproduce 2012-09-18 17:47:57 +02:00
Araq
a71c5f98ea made tests green again 2012-09-18 00:36:48 +02:00
Zahary Karadjov
b6f8ab3254 [unittest] even deeper inspection of expressions and variables for the check macro 2012-09-14 00:53:30 +03:00
Zahary Karadjov
36155a6813 [unittest] the check macro will print the values of params involved in failed proc calls 2012-09-13 04:10:08 +03:00
Zahary Karadjov
b2814df5cd fixed incorrect implicit conversion between arrays of different sizes; see #202 2012-09-13 03:03:12 +03:00
Araq
8c8400ea3a Merge branch 'master' of github.com:Araq/Nimrod 2012-09-13 00:12:24 +02:00
Araq
eb72c7c0a0 debugger compiles again 2012-09-13 00:12:14 +02:00
Zahary Karadjov
9e4254e4de type trais used to work only on user-defined types. see #202 2012-09-13 00:33:01 +03:00
Araq
a59abdf8e4 made more tests green; fixes #201 2012-09-12 21:48:37 +02:00
Araq
8178cd4fab made some tests green 2012-09-12 08:43:24 +02:00
Araq
64c638a9dc first steps for overloading support of passing blocks; bugfix: test results of 'compile' are not overwritten 2012-09-11 08:09:34 +02:00
Araq
92b449562e tr macros now documented 2012-09-10 19:34:16 +02:00
Araq
4cd795b3ee Merge pull request #198 from Tass/master
Implements hash(float)
2012-09-08 14:11:00 -07:00
Simon Hafner
664bd55e85 real test now 2012-09-08 15:54:00 -05:00
Araq
46f652b93e unittest bugfix; made some tests green 2012-09-08 22:33:15 +02:00
Simon Hafner
214b727a75 Issue #197 has been solved 2012-09-08 15:16:56 -05:00
Simon Hafner
1852c0548c hash() for floats 2012-09-08 15:15:28 -05:00
Araq
46e9ff6139 tmatrix.nim works now 2012-09-08 18:51:52 +02:00
Araq
e2ecfb8438 Merge branch 'master' of github.com:Araq/Nimrod 2012-09-08 15:43:40 +02:00
Araq
b64eeeb430 term rewriting improvements 2012-09-08 15:43:21 +02:00
Araq
df04150c9c Merge pull request #196 from Tass/master
random() for floats
2012-09-06 15:30:52 -07:00
Simon Hafner
e9bbc7235d no uniqueCounter it is 2012-09-06 17:25:52 -05:00
Simon Hafner
33cabeb04d + random number generator for floats and slices - with tests
I also took the liberty to unify the API between ECMAScript and C.
2012-09-06 16:42:53 -05:00
Araq
355ae07b8f activated tests for tr macros 2012-09-06 00:23:55 +02:00
Araq
30c00aba07 bugfixes and improvements for term rewriting macros 2012-09-04 23:57:39 +02:00
Araq
6753d36854 further improvements for term rewriting macros 2012-09-04 00:55:13 +02:00
Araq
b56df72a32 made tests green again 2012-08-31 00:00:14 +02:00
Araq
1d14cb1ad8 next steps towards term rewriting macros; simple examples work 2012-08-30 22:55:32 +02:00
Araq
6bcdb9c8f4 implemented generic templates 2012-08-27 01:59:14 +02:00
Araq
08d0003ed0 thygienictempl added 2012-08-26 02:52:47 +02:00
Araq
8a92e95ccf made tests green again 2012-08-24 19:08:34 +02:00
Araq
d17caa86e8 objects with no ancestor are not implicitely final 2012-08-24 17:33:04 +02:00
Araq
5f0bbb911f added ttables2 to gather data about issue #183 2012-08-22 22:54:53 +02:00
Araq
f893179889 documented hygienic templates; made tests green; fixed system.clamp 2012-08-22 22:46:02 +02:00
Dominik Picheta
a95e958046 Fixed tasyncudp.nim to work with fowl's changes. 2012-08-20 21:55:57 +01:00