Commit Graph

762 Commits

Author SHA1 Message Date
Danny Yoo
f3a5728f89 trying to expose call/cc 2011-03-11 17:39:21 -05:00
Danny Yoo
da3568d3d2 changed simulator so it's a mutable structure; I'll need this to implement call/cc easily as a primitive, since it's going to mutate the machine. 2011-03-11 16:03:37 -05:00
Danny Yoo
13a29cee72 let* appears to be doing the right thing with regards to tail behavior 2011-03-11 15:10:50 -05:00
Danny Yoo
e3ff7ce382 let* is doing something 2011-03-11 14:59:00 -05:00
Danny Yoo
5de82cdecf debugging let 2011-03-11 14:45:37 -05:00
Danny Yoo
de41b4f379 debugging let* 2011-03-11 14:32:47 -05:00
Danny Yoo
b1ca4078b5 fixing typing of find-variable 2011-03-11 14:02:06 -05:00
Danny Yoo
05d6043613 parsing let 2011-03-11 14:00:21 -05:00
Danny Yoo
a17e314489 minor changes 2011-03-10 17:22:54 -05:00
Danny Yoo
78021ea4b9 re-enabled test-rowser-evaluate and test-package in the test suite. 2011-03-10 16:35:53 -05:00
Danny Yoo
dfbb278e4b adding test 2011-03-10 15:11:08 -05:00
Danny Yoo
55d84eec95 fixing bug in the assembler; it didn't see the target from PushControlFrame 2011-03-10 15:02:42 -05:00
Danny Yoo
4a60a852e7 fixed bug in juggle-operands: I was computing n much too early. 2011-03-10 14:52:36 -05:00
Danny Yoo
634e23daa8 tracing bug in environment handling 2011-03-10 14:49:50 -05:00
Danny Yoo
49a53c0864 adjusting control frames to hold the procedure in hand, just in case 2011-03-10 14:31:31 -05:00
Danny Yoo
f365767023 removed lookuptopleveladdress as an primitive operator 2011-03-10 13:50:44 -05:00
Danny Yoo
8699874a95 removing separate settoplevel statement; unnecessary 2011-03-10 13:23:23 -05:00
Danny Yoo
c4bf7c60b5 elements of the prefix can be lhs targets now 2011-03-10 13:05:16 -05:00
Danny Yoo
5b406543bc ripping out getlexical because it's superfluous 2011-03-10 12:50:52 -05:00
Danny Yoo
fd25182d42 need letrec next 2011-03-10 00:07:42 -05:00
Danny Yoo
a3cf629321 fixed small regression in test-simulator 2011-03-09 18:16:25 -05:00
Danny Yoo
5d691899dd check-closure-arity appears to be doing something useful 2011-03-09 18:09:19 -05:00
Danny Yoo
10f46fd515 get-compiled-procedure-entry 2011-03-09 17:48:36 -05:00
Danny Yoo
447038acff closures are doing the expected thing 2011-03-09 17:38:40 -05:00
Danny Yoo
808ad8b7be check-toplevel-bound 2011-03-09 17:17:03 -05:00
Danny Yoo
0de23ee06e primitive procedure testing 2011-03-09 16:58:40 -05:00
Danny Yoo
488137a6af fixing primitive application 2011-03-09 16:35:26 -05:00
Danny Yoo
094da406fe making sure closure variable capture is doing something reasonable 2011-03-09 15:41:11 -05:00
Danny Yoo
f4b6dd8805 assembled closures 2011-03-09 15:30:29 -05:00
Danny Yoo
13e7159ed9 fixing some of the variable collections 2011-03-09 15:16:05 -05:00
Danny Yoo
f53c96abc5 fixing assignment to targets. 2011-03-09 15:07:58 -05:00
Danny Yoo
c8c3947e0a fixing assembly of basic blocks 2011-03-09 14:47:05 -05:00
Danny Yoo
d7554b2ae4 unit testing the assembler 2011-03-09 13:43:04 -05:00
Danny Yoo
55a7de098f working on the evaluator 2011-03-09 13:39:41 -05:00
Danny Yoo
5f42959da5 testing assembly 2011-03-09 13:34:31 -05:00
Danny Yoo
e6362835bf starting to fill things in. 2011-03-09 12:41:26 -05:00
Danny Yoo
228bd73958 skeletonizign assemble.rkt 2011-03-09 12:30:12 -05:00
Danny Yoo
e27052ccf6 code movement 2011-03-09 12:08:48 -05:00
Danny Yoo
5f06c39d67 comments 2011-03-08 18:34:23 -05:00
Danny Yoo
683d67038c added cond form 2011-03-08 18:22:18 -05:00
Danny Yoo
60f7b3c8ff adding a few more examples 2011-03-08 17:47:49 -05:00
Danny Yoo
d1af35f0f5 fixed bug with lexical scoping. 2011-03-08 17:27:43 -05:00
Danny Yoo
d54def0126 adding test that exposes bug in my lexical addressing. 2011-03-08 17:15:24 -05:00
Danny Yoo
20b9b8ef4d test for control at run termination 2011-03-08 04:33:01 -05:00
Danny Yoo
703edc46a0 optimization: when doing primitive application, the result value can be directly placed if targetted to a lexical reference. 2011-03-08 04:05:52 -05:00
Danny Yoo
393e0707e1 simulator's running deriv in simulator, and producing the right results. huzzah. 2011-03-08 04:01:10 -05:00
Danny Yoo
5307871a46 Trying to augment the simulator to keep track of the stack size 2011-03-08 03:50:01 -05:00
Danny Yoo
71cfb576fa testing out tak 2011-03-08 03:38:15 -05:00
Danny Yoo
67e91a7212 looking at tail behavior. 2011-03-08 03:19:16 -05:00
Danny Yoo
2b56c90c2c continuing to work on recursion 2011-03-08 03:13:26 -05:00