Commit Graph

643 Commits

Author SHA1 Message Date
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
6bf17b7d0b fixing the test cases. 2011-03-07 15:47:49 -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
dyoo
0d4a3f859d still working on linkage 2011-03-03 15:40:30 -05:00
dyoo
30e9e82877 I think the output looks more correct. 2011-03-03 15:26:30 -05:00
dyoo
6ebef1c206 revising the procedure application 2011-03-03 15:11:00 -05:00
dyoo
8ad291e320 combining test and branch together formally. 2011-03-02 17:42:40 -05:00
dyoo
2a9fe0d72a variable renaming 2011-03-02 17:37:14 -05:00
dyoo
e9ba3cee85 structurizing the primitive operators, specializing them to the racket machine. 2011-03-02 17:31:31 -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
811ebb3eea continuing to work on application. 2011-03-01 17:54:50 -05:00
Danny Yoo
bff387a6f9 compile time environments can have placeholders for space 2011-03-01 16:22:21 -05:00
Danny Yoo
bbde3cdeaa lambda looks like it's generating appropriate il. Working on application now. 2011-03-01 15:45:03 -05:00
Danny Yoo
049eee32c4 splitting up the structures into separate modules; trying to reduce complexity 2011-03-01 14:51:59 -05:00
Danny Yoo
7fcd2ab13e Still getting the lexical addressing of lambda correct. 2011-03-01 12:43:16 -05:00
Danny Yoo
4368fbc99d removing superfluous quote form. Also moved Top as an expression form that introduces an environment extension. 2011-03-01 11:43:46 -05:00
Danny Yoo
81b1637a10 m 2011-03-01 02:56:20 -05:00
Danny Yoo
fb0fb941e3 still need to work on procedure application 2011-03-01 02:48:38 -05:00
Danny Yoo
4f90538722 uncommented most of the code; need to work on application 2011-03-01 02:26:26 -05:00
Danny Yoo
1c64447e08 about to change calling convension 2011-03-01 01:30:01 -05:00
Danny Yoo
2975a9f215 relooper start 2011-02-28 23:01:45 -05:00
Danny Yoo
fc45ebe4fc adding implementation of sets 2011-02-28 14:13:02 -05:00
Danny Yoo
d32fe6d0c6 fib 2011-02-28 12:48:19 -05:00
Danny Yoo
93317af241 adding a few more primitives 2011-02-28 12:40:09 -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
5ab3ae1a89 generalized the browser-evaluate code so I should be able to tie it to different evaluators for comparison. 2011-02-25 16:10:47 -05:00
Danny Yoo
c92b6d4c43 compatiblity with 5.0 and 5.1 2011-02-25 15:06:52 -05:00
Danny Yoo
fdab507586 trying to identify bindings that need boxing for set-bang 2011-02-22 03:21:18 -05:00
Danny Yoo
98618f6817 timeouts? 2011-02-22 00:07:15 -05:00
Danny Yoo
40e9811ac8 Compilation and evaluation use server-side push now 2011-02-21 23:00:15 -05:00
Danny Yoo
fceb4f0379 did comet-style server push 2011-02-21 22:37:03 -05:00
Danny Yoo
3b15c46dec code cleanup 2011-02-21 21:43:42 -05:00
Danny Yoo
95a3168659 added exception catching 2011-02-21 21:24:05 -05:00
Danny Yoo
5d015c7db2 adjusting output so I can capture amount of time taken for javascript evaluation. 2011-02-21 21:02:00 -05:00
Danny Yoo
2050207334 quick-and-dirty way to test expressions at the browser and get back results 2011-02-21 20:50:56 -05:00
Danny Yoo
9d7124fb21 getting the evaluator to do something. 2011-02-21 20:28:03 -05:00