Commit Graph

45 Commits

Author SHA1 Message Date
Danny Yoo
e5ca5364b6 correcting bug with my implementation of lexical scope 2011-03-14 18:06:14 -04:00
Danny Yoo
1e83a6f8e5 still trying to figure out why the lexical scoping is breaking up 2011-03-14 17:04:48 -04:00
Danny Yoo
d2cc4852ed trying to trace why conform is failing in an unexpected way 2011-03-14 16:38:16 -04:00
Danny Yoo
8f2d928e08 comment, since it's not immediately clear why I'm not unboxing the value in the closure 2011-03-13 21:28:24 -04:00
Danny Yoo
01b307829b letrec is doing something 2011-03-13 21:26:41 -04:00
Danny Yoo
60abce0e82 tracing bug with assign immediate 2011-03-13 21:01:14 -04: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
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
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
683d67038c added cond form 2011-03-08 18:22:18 -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
2b56c90c2c continuing to work on recursion 2011-03-08 03:13:26 -05:00
Danny Yoo
072cdd695f recursion looks off 2011-03-08 03:07:46 -05:00
Danny Yoo
51c9411f58 debuggin 2011-03-08 03:00:09 -05:00
Danny Yoo
4a2f30b4f2 checking closures 2011-03-07 21:46:13 -05:00
Danny Yoo
414f806580 control stack label lookup 2011-03-07 17:54:55 -05:00
Danny Yoo
4924f92528 primitive application 2011-03-07 17:49:07 -05:00
Danny Yoo
c08c6ed667 lexical address lookup 2011-03-07 17:40:02 -05:00
Danny Yoo
82851496e2 capturing some variables. 2011-03-07 17:05:57 -05:00
Danny Yoo
283370015d need test to make sure we're doing variable capture. 2011-03-07 16:56:10 -05:00
Danny Yoo
f27072da7b get compiled procedure entry 2011-03-07 16:51:47 -05:00
Danny Yoo
700c637e47 getting lookup-primitive to return primitive values 2011-03-07 16:34:51 -05:00
Danny Yoo
865181ddc4 install closure values. 2011-03-07 16:06:50 -05:00
Danny Yoo
6cb9cf6539 changed the allowed set of primitives so we typecheck a bit better. Added chekc-toplevel-bound 2011-03-07 15:44:47 -05:00
Danny Yoo
27ee4739cc test-simulator appears to be doing something. 2011-03-04 17:08:14 -05:00
Danny Yoo
c84eba7786 continuing to implement performstatement 2011-03-04 16:55:16 -05:00
Danny Yoo
f1a9c6039c getting weird error message from typed racket. 2011-03-04 15:55:05 -05:00
Danny Yoo
b2df94e060 working on extendenvironment/prefix 2011-03-04 15:32:29 -05:00
Danny Yoo
9277109351 testandbranch 2011-03-04 14:11:15 -05:00
Danny Yoo
d3ceee5a63 popframe 2011-03-04 13:52:22 -05:00
Danny Yoo
24149f82cb pushenv tets 2011-03-04 13:18:33 -05:00
Danny Yoo
3b35a50810 testing environment lookup 2011-03-04 13:11:28 -05:00
dyoo
cefc85c72f simplifying the il a little bit, getting assignment 2011-03-03 17:17:10 -05:00
dyoo
be89ec9f0f testing goto in the simulator 2011-03-03 16:58:09 -05:00
dyoo
3b9722dcc6 simulator.rkt skeleton 2011-03-03 16:25:34 -05:00
dyoo
e8c2d199aa I need a simulator for the intermediate language. 2011-03-03 16:13:36 -05:00