Commit graph

198 commits

Author SHA1 Message Date
Araq
27ec76dd3a VM now supports lambda lifting 2013-11-06 08:37:20 +01:00
Zahary Karadjov
4980ef85e2 check the owners of generic instantiations properly and fix tinvalidclosure 2013-08-19 01:45:16 +03:00
Zahary Karadjov
c6d0611112 Revert "Revert "made some tests green"" 2013-08-19 01:35:33 +03:00
Zahary Karadjov
fc858927f0 Revert "Revert "fix tforwardgeneric""
This reverts commit e3f93241c3.
2013-08-19 01:29:47 +03:00
Araq
e3f93241c3 Revert "fix tforwardgeneric"
This reverts commit d82a032566.
2013-05-27 23:18:15 +02:00
Araq
c67abd7e61 Revert "more test made green"
This reverts commit 911e6e710f.
2013-05-27 23:16:56 +02:00
Zahary Karadjov
911e6e710f more test made green
the lambda lifting was trying too hard to ignore generic prods
isGenericRoutine was producing false-negatives and only
this allowed for some of the warning and error messages
to be triggered.

some files with mixed line endings were fixed
2013-05-26 21:06:39 +03:00
Zahary Karadjov
d82a032566 fix tforwardgeneric 2013-05-26 15:12:09 +03:00
Araq
4de6d1be72 fixed void context detection 2013-05-07 13:54:38 +02:00
Araq
d57fe6c904 bugfix: lambdalifting needs to deep copy parameters 2013-04-08 00:04:35 +02:00
Araq
7d05356df6 small bugfix for lambda lifting 2013-03-16 20:40:11 +01:00
Simon Hafner
1785c6877b EcmaScript => JS. Fixes #330
No one calls it EcmaScript anymore.
2013-02-15 11:08:30 -06:00
Araq
0d978c4a9a fixed some closure related bugs 2013-01-22 00:29:54 +01:00
Araq
9257c29ffd small bugfix for lambdalifting; preparations for a better testing framework 2013-01-19 02:09:08 +01:00
Araq
2591ac0ada 'return' for first class iterators 2012-11-26 08:47:57 +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
ed28f3c8dc documented 'mixin' declaration 2012-11-08 08:32:08 +01:00
Araq
603dc36008 bugfix: 'result' cannot be captured in a closure 2012-09-23 00:52:34 +02:00
Araq
da190876de next steps to hygienic templates 2012-08-20 08:44:17 +02:00
Araq
5e15dec175 first steps to make templates hygienic 2012-08-20 01:13:13 +02:00
Araq
5e570bae47 more bugfixes for closures 2012-08-14 07:53:16 +02:00
Araq
991b3096e8 made tests green again 2012-08-14 00:09:06 +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
Araq
7d6500f1de idetools improvements; preparation of first class iterators; fixes #183 2012-08-02 23:14:38 +02:00
Araq
20b6dc3829 next steps for closure consistency; fixes #176 2012-07-25 21:59:31 +02:00
Araq
121d4e0fc2 'addSon' for types deprecated for 'int literal type' analysis 2012-07-09 08:09:00 +02:00
Araq
ee1bcb6414 dead code elimination for JS backend; JS improvements (but doesn't work yet) 2012-06-30 12:29:56 +02:00
Araq
a6e0679aeb closure bugfix 2012-06-22 16:57:44 +02:00
Araq
2294c02cc8 and another closure bugfix 2012-06-21 09:03:49 +02:00
Araq
7b4560337b bugfixes for closures 2012-06-21 08:46:56 +02:00
Araq
f191059e56 somewhat working closures 2012-06-19 22:37:00 +02:00
Araq
98458a3076 next steps for full closure support (2) 2012-06-18 02:08:49 +02:00
Araq
d5b01dfb7c next steps for full closure support 2012-06-18 02:03:08 +02:00
Araq
7076f07228 tinterf.nim works now 2012-06-17 02:11:13 +02:00
Araq
7b539c9e58 simple example works again 2012-06-16 18:29:22 +02:00
Araq
15dad22a0a first implementation of new lambda lifting 2012-06-15 23:18:52 +02:00
Araq
5f527769ee first steps to working closures 2012-06-03 10:10:38 +02:00
Araq
1af0601011 bugfix #100 again 2012-03-28 16:43:05 +02:00
Zahary Karadjov
560a3bad28 `do' keyword in the grammar for lambda blocks 2012-02-10 14:50:35 +02:00
Araq
51850b546a bugfix: lambdalifting: addHiddenParam 2012-02-08 23:02:51 +01:00
Araq
f3f3fc01aa further steps for closure support; added 'system.rawProc', 'system.rawEnv' 2012-02-08 22:56:31 +01:00
Araq
2c4a1dbc0c further steps for closure support 2012-02-08 09:10:59 +01:00
Araq
161f6f7229 further steps for closure support 2012-02-06 08:44:18 +01:00
Araq
632aece191 further steps to closure support 2012-02-06 00:19:56 +01:00
Araq
2633e3fb27 closure implementation: first steps 2012-02-04 15:47:48 +01:00