Commit Graph

134 Commits

Author SHA1 Message Date
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
5b7df8ed60 Merge pull request #359 from Tass/master
JS unwinding
2013-03-16 09:45:39 -07:00
Simon Hafner
129fcb327f used correct syntax for multiline results in tests
And also modified the runner to actually run them in JS.
2013-03-16 07:21:31 -05:00
Araq
78b27ed7fa bugfix: 'indexOf' for tuple fields works 2013-03-11 08:42:35 +01:00
Simon Hafner
d34f95d194 nestedTryStmts removed
It makes tests fail and they work fine without. Given my ignorance of
the exact workings, I can only rely on the tests.
2013-03-10 19:49:02 -05:00
Araq
2b4922aea0 object constructors work now 2013-03-08 01:19:47 +01:00
Araq
16821e31be bugfix: tvtable works again 2013-03-05 07:39:52 +01:00
Araq
d13bcf6575 better overloading resolution for generics 2013-02-28 21:28:19 +01:00
Simon Hafner
7168ceb5e1 removed $ for refs upon request 2013-02-21 16:37:22 -06:00
Simon Hafner
e366eeaafc added $ for refs and removed == for ref test
== in refs should use the pointer to compare
2013-02-21 16:31:35 -06:00
Simon Hafner
bf82f79f1e added tests, actually implemented $ and == 2013-02-21 15:11:48 -06:00
Simon Hafner
7fc9dfcb24 added tests for == and $ 2013-02-21 14:29:39 -06:00
Araq
d15981adbc system.fields|fieldPairs for objects 2013-02-18 17:23:26 +01:00
Araq
0d978c4a9a fixed some closure related bugs 2013-01-22 00:29:54 +01:00
Dominik Picheta
be51e8b61b Reverted my 'do notation' fixes. 2013-01-20 17:34:43 +00:00
Dominik Picheta
b9d75f8944 Fixed a bug with the 'do notation' consuming statements after it. 2013-01-20 12:47:25 +00:00
Araq
a4b1ca3306 fixed merge conflict 2013-01-16 20:02:55 +01:00
Araq
c43697b59a implemented generic multi methods 2013-01-16 08:42:30 +01:00
Araq
b3e70febb4 'sort' for ordered tables 2013-01-12 23:59:29 +01:00
Araq
63c08d8255 Merge pull request #296 from gradha/pr_makes_toseq_public
Moves toSeq template to public sequtils module.
2013-01-08 13:53:50 -08:00
Grzegorz Adam Hankiewicz
bd961fd76c Moves toSeq template to public sequtils module. 2013-01-03 22:38:56 +01:00
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