Commit Graph

66 Commits

Author SHA1 Message Date
Danny Yoo
2c34cf5811 identified that, for some reason, the wrong value is being stored in closures. Now trying to figure out why. 2011-05-17 16:48:07 -04:00
Danny Yoo
24f988c45a disabling some optimizations; still trying to chase 2011-05-17 16:17:10 -04:00
Danny Yoo
fff511672d perplexed: earley is failing, but not sure why 2011-05-16 11:40:29 -04:00
Danny Yoo
70eaf2c055 fixing procedure application arguments 2011-05-16 10:42:14 -04:00
Danny Yoo
ec3b443f2a fixing installvalues 2011-05-14 23:32:56 -04:00
Danny Yoo
1f9b870b91 ripping out provides, since we don't need it. 2011-05-13 19:11:25 -04:00
Danny Yoo
fee35c3860 continuing to work on module paths 2011-05-13 17:15:20 -04:00
Danny Yoo
2bb4666645 added in a path rewriter 2011-05-13 14:50:25 -04:00
Danny Yoo
75f37c661c moved simulator and js-assembler into separate subdirectories 2011-05-13 14:09:59 -04:00
Danny Yoo
202061fa4a more of module invoke 2011-05-13 00:57:45 -04:00
Danny Yoo
cfa1874f0a begin0 not quite done yet, but I need to get other things working first. 2011-05-12 17:36:33 -04:00
Danny Yoo
8041448c47 fixing misquoting of label in compiler output for begin0 2011-05-12 16:42:08 -04:00
Danny Yoo
d7d4abec59 found that the documentation for let-rec's behavior in 5.1.1 is off: the closures are installed in reverse order, but the first element is what's on the stack, not the last. 2011-05-12 15:27:04 -04:00
Danny Yoo
882b228ae8 trying to deal with case-lam's revised structure 2011-05-12 14:36:06 -04:00
Danny Yoo
3c2917f0c5 deriv is still not terminating for some reason. need to investigate. 2011-05-12 03:20:23 -04:00
Danny Yoo
89321ba9b2 trying to complete the bytecode parse 2011-05-11 18:03:46 -04:00
Danny Yoo
8fe3fbc9a4 getting into bad compilation times again. Trying to isolate 2011-05-11 14:22:47 -04:00
Danny Yoo
d1f2f6b277 working on begin0 implementation; not tested yet 2011-05-10 15:59:44 -04:00
Danny Yoo
6ceb708917 in the middle of begin0 2011-05-10 15:09:22 -04:00
Danny Yoo
a1feb1965c ripping out the name from ToplevelSet since it's not used anywhere 2011-05-10 00:12:07 -04:00
Danny Yoo
e3d8a253fe fixing implementation of letrec, which isn't supposed to do any allocation. That's the job of letvoid 2011-05-09 23:49:10 -04:00
Danny Yoo
39935eaee3 adding kernel primitive as opargs. 2011-05-09 18:17:15 -04:00
Danny Yoo
e6968a596b trying to deal with cycles by eliminating them from our representation. 2011-05-09 16:06:20 -04:00
Danny Yoo
f640907001 extending prefixes to also take globalbuckets, although I don't think the simulator or assembler is treating them and modulevariables correctly yet. 2011-05-06 15:53:00 -04:00
Danny Yoo
d1a18ae57c moving some of the definitions of il-structs into separate compiler-structs.rkt module 2011-05-04 18:38:14 -04:00
Danny Yoo
42ca09b260 case-lambda tests 2011-05-04 15:38:49 -04:00
Danny Yoo
62bba7470e TestClosureArityMismatch 2011-05-03 16:46:42 -04:00
Danny Yoo
5d674b18d5 changing test and branch's test structure from symbols. Some test will need to take more that one operand, eventually. 2011-04-29 14:08:11 -04:00
Danny Yoo
e5509eecd3 simplifying code 2011-04-28 16:47:47 -04:00
Danny Yoo
ba8e8d26af trying to move some code into the optimize-il section, so I can simplify the compiler. 2011-04-28 14:53:00 -04:00
Danny Yoo
e1d905f43f some code cleanup 2011-04-28 14:35:38 -04:00
Danny Yoo
297a0d10ea added to compile-install-value so it installs using multiple-values 2011-04-28 13:44:33 -04:00
Danny Yoo
91e6172298 expanding install-values to install mutliple values 2011-04-28 13:29:27 -04:00
Danny Yoo
d2fa527872 fixing code and adding some more test cases 2011-04-27 22:09:40 -04:00
Danny Yoo
b8785b524f added test cases for parsing it 2011-04-27 21:58:18 -04:00
Danny Yoo
bd41d16bb2 starting to add skeleton code to do def-values 2011-04-27 21:29:52 -04:00
Danny Yoo
36627c798a Implementing call-with-values, fixing some bugs with primitive procedure application and it. 2011-04-25 17:42:38 -04:00
Danny Yoo
e1c406c6a1 hacking in a call-with-values form to see if i got apply-values right 2011-04-25 15:42:37 -04:00
Danny Yoo
b27f925dd4 making compiledprocedurenetry an oparg
making compiledprocedurenetry an oparg
2011-04-25 14:46:27 -04:00
Danny Yoo
876d3bb8e2 trying to simplify code 2011-04-25 13:49:02 -04:00
Danny Yoo
8b5bd061db trying to eliminate redundant code in application, because it's getting hard to understand 2011-04-25 12:45:55 -04:00
Danny Yoo
759bedd9cf trying to reduce the types and simplify 2011-04-24 19:27:14 -04:00
Danny Yoo
7f6ed34b95 trying to simplify structures some more. 2011-04-24 18:51:10 -04:00
Danny Yoo
7b014aab5b code cleanup 2011-04-24 18:38:44 -04:00
Danny Yoo
d90817e09f eliminating dead code 2011-04-24 18:27:20 -04:00
Danny Yoo
d805bca845 removing separate returnlinkage-notail structure 2011-04-24 18:23:51 -04:00
Danny Yoo
1ad7796fdd trying to remove duplicate code form compile-compiled-procedure-application, because it's a monster of a definition. needs to be broken up. 2011-04-24 17:51:19 -04:00
Danny Yoo
713d4ac5a1 in the middle of trying to implement, but drracket's breaking on me hard 2011-04-23 00:24:14 -04:00
Danny Yoo
44beaffea6 test cases 2011-04-21 15:25:56 -04:00
Danny Yoo
7e4ba67db5 more refactoring 2011-04-20 15:24:33 -04:00