Commit Graph

66 Commits

Author SHA1 Message Date
Danny Yoo
a640cfe083 minor optimization to letrec 2011-03-26 23:46:01 -04:00
Danny Yoo
e862a43ae5 more open coding 2011-03-26 20:12:16 -04:00
Danny Yoo
e0b6367935 open-coding a few operators 2011-03-26 19:49:53 -04:00
Danny Yoo
edc6707fc1 procedure application 2011-03-26 18:52:49 -04:00
Danny Yoo
b51922310c toplevel can refer to module variables 2011-03-26 17:23:51 -04:00
Danny Yoo
d758585c85 removing unnecessary label 2011-03-25 23:05:50 -04:00
Danny Yoo
32e1f1a5dc some testing on letrec 2011-03-25 18:35:12 -04:00
Danny Yoo
e5ff0e227c the exception handler consumes both the exception and the machine. 2011-03-24 18:46:34 -04:00
Danny Yoo
7c7491329c simplifying trampoline parameters: it only takes the machine and the entry point. 2011-03-24 18:41:08 -04:00
Danny Yoo
2c99b067e5 fixing assembly 2011-03-21 23:42:55 -04:00
Danny Yoo
8cd54d53f7 forgot to translate void 2011-03-20 22:46:40 -04:00
Danny Yoo
4949eef3c5 fixing the assembler 2011-03-20 22:43:58 -04:00
Danny Yoo
20818b0a7a removing superfluous structures. 2011-03-18 22:34:43 -04:00
Danny Yoo
745ce9f768 reducing number of closures 2011-03-18 21:17:32 -04:00
Danny Yoo
cbd1d8cb58 trying to lexically scope MACHINE for modularity and performance 2011-03-18 20:26:23 -04:00
dyoo
b14631a40f adding Primitives as a target 2011-03-15 14:35:23 -04:00
dyoo
825e9bbea1 tracing to see if we're making progress 2011-03-15 09:01:57 -04:00
Danny Yoo
c783850732 trying to speed up the simulator a bit 2011-03-14 19:15:42 -04:00
Danny Yoo
77f90ba95c keeping track of closure names 2011-03-14 18:53:05 -04:00
Danny Yoo
e5ca5364b6 correcting bug with my implementation of lexical scope 2011-03-14 18:06:14 -04:00
Danny Yoo
a78b51e624 fixing the closure capturing for the web 2011-03-13 21:56:47 -04:00
Danny Yoo
9bce564bf3 trying to prepare for boxed lexical references 2011-03-13 18:31:11 -04:00
Danny Yoo
bce594282d got the program stuff to start working 2011-03-12 03:55:02 -05:00
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
a17e314489 minor changes 2011-03-10 17:22:54 -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
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
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
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
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
dyoo
e6cb5d87a1 Trying to clear up procedure application 2011-03-02 16:42:33 -05:00
dyoo
07f5a2a495 getting assemble to typecheck, but needs more work. 2011-03-02 15:45:30 -05:00
Danny Yoo
aa1d34eadc adjusting the output so I can grab the val register from the machine. 2011-02-25 16:21:20 -05:00
Danny Yoo
fceb4f0379 did comet-style server push 2011-02-21 22:37:03 -05:00