Commit Graph

320 Commits

Author SHA1 Message Date
Danny Yoo
dfe91d23e6 kludging the call/cc code in 2011-03-12 03:46:15 -05:00
Danny Yoo
b01bb3bc85 trying to make call/cc work on the web 2011-03-11 20:38:03 -05:00
Danny Yoo
0c497bef5c getting call/cc working 2011-03-11 19:33:24 -05:00
Danny Yoo
aecc0ad896 call/cc looks like it's starting to work. 2011-03-11 19:24:57 -05:00
Danny Yoo
fc866634cf getting closer. 2011-03-11 19:19:06 -05:00
Danny Yoo
5d453ad18f skeletons for the simulator 2011-03-11 18:34:45 -05:00
Danny Yoo
b9dfd90851 trying to get call/cc 2011-03-11 18:26:34 -05:00
Danny Yoo
beb592d251 continuing to work on the call/cc linkage 2011-03-11 17:46:43 -05:00
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