Araq
a22c1f444f
fixes #271
2012-12-15 22:35:16 +01:00
Araq
a1f6779802
implemented AST based overloading
2012-12-06 08:45:18 +01:00
Araq
38ab30d153
implemented generic converters
2012-12-05 22:03:36 +01:00
Araq
2591ac0ada
'return' for first class iterators
2012-11-26 08:47:57 +01:00
Araq
dd9ad9e497
next steps for first class iterators
2012-11-26 02:43:32 +01:00
Araq
019d6e4127
added missing type flags
2012-11-23 19:52:32 +01:00
Araq
7f6633a06f
added system.finished for first class iterators
2012-11-17 01:25:32 +01:00
Araq
7a2c11d3cf
next steps for first class iterators
2012-11-15 22:54:06 +01:00
Araq
1fada12a5f
improvements for first class iterators
2012-11-15 08:45:16 +01:00
Araq
814fcb2639
bugfix: stack traces; first class iterators almost working
2012-11-15 01:27:25 +01:00
Araq
865d9cc6e6
added system.onRaise to support a condition system
2012-11-05 08:36:44 +01:00
Araq
6dd2c2d767
exception tracking should work
2012-11-04 18:09:15 +01:00
Araq
b20663ce19
fixes #232
2012-10-19 13:24:42 +02:00
Zahary Karadjov
2efdf3df81
fixes #106
2012-10-16 02:21:28 +03:00
Zahary Karadjov
3c9e3a6a71
Improved support for nkSymChoices in type coercions
...
For example, this allows you to pick up a proc with a specific signature from
an overload set.
bugfix: nimrod generated invalid code when a RVO function had a single
compile-time param
bugfix: nkHiddenDerefs were not neutralised properly for indirect proc calls
2012-10-15 21:00:29 +03:00
Araq
1d30798363
bugfix: threads should work again; fixes #220
2012-10-12 23:34:43 +02:00
Zahary Karadjov
d9d82fb0af
syntax compatibility between do blocks and stmt blocks
...
See the section `do notation` in the manual for more info.
* nkMacroStmt has been removed
Macro statements are now mapped to regular nkCall nodes.
The support for additional clauses (such as else, except, of, etc)
have been restored - they will now appear as additional arguments
for the nkCall node (as nkElse, nkExcept, etc nodes)
* fixed some regressions in the `is` operator and semCompiles
2012-10-04 15:37:26 +03:00
Araq
a6d5707faf
added titer7 test
2012-10-04 13:00:37 +02: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
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
759b3201ad
proc bodies can be expressions with a type
2012-09-22 22:43:36 +02: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
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
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
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
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
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
Araq
0cac8d9b6f
made tests green again
2012-08-16 19:05:38 +02:00
Araq
0171566c98
openarray/varargs split; breaks bootstrapping
2012-08-16 08:34:33 +02:00
Araq
adb73ec9ed
Merge branch 'master' of github.com:Araq/Nimrod
2012-08-13 18:52:00 +02:00
Araq
244c14db0b
top level closures should work; transf is not a pass anymore; next steps for first class iterator support
2012-08-13 17:07:49 +02:00
Dominik Picheta
e9604b4433
UDP improvements for the sockets module. Renamed ftpclient.fileExists to
...
existsFile for consistency. Added tasyncudp test.
2012-08-12 11:53:09 +01:00