Commit Graph

100 Commits

Author SHA1 Message Date
Danny Yoo
59bde2bf18 trying to move the type analysis over to compile time rather than assemble time 2011-03-29 20:57:37 -04:00
Danny Yoo
7cd6c998c2 some name cleanup 2011-03-29 20:25:52 -04:00
Danny Yoo
7c473c8658 added type checks 2011-03-29 18:36:47 -04:00
Danny Yoo
a3f323a687 adding type checks 2011-03-29 18:18:21 -04:00
Danny Yoo
2cb966f01f fixing some of the open coding; about to add a few more. 2011-03-28 22:13:40 -04:00
Danny Yoo
74fd786921 changing types for linkage, to help catch more type errors. 2011-03-28 17:46:56 -04:00
Danny Yoo
d4b7985d8e another optimization: when all the arguments to a kernel primitive are simple, we avoid some stack usage 2011-03-27 00:43:57 -04:00
Danny Yoo
b372a154b1 continuing to eliminate no-op instructions from the instruction stream. 2011-03-27 00:14:32 -04:00
Danny Yoo
a640cfe083 minor optimization to letrec 2011-03-26 23:46:01 -04:00
Danny Yoo
6387e19157 open coded a few more list primitives 2011-03-26 20:16:22 -04:00
Danny Yoo
870af8736c open coding addition 2011-03-26 19:23:09 -04:00
Danny Yoo
ed7794f14a rearranging 2011-03-26 19:00:38 -04:00
Danny Yoo
edc6707fc1 procedure application 2011-03-26 18:52:49 -04:00
Danny Yoo
73962380ff trying to capture more static information 2011-03-26 18:07:22 -04:00
Danny Yoo
b51922310c toplevel can refer to module variables 2011-03-26 17:23:51 -04:00
Danny Yoo
6cb062d83e fixing test cases 2011-03-25 23:19:21 -04:00
Danny Yoo
d758585c85 removing unnecessary label 2011-03-25 23:05:50 -04:00
Danny Yoo
fab12bcc83 maintaining static information. Calls to let1 and letrec-bound bodies can be done with fewer primitive tests. Cool. 2011-03-25 20:11:59 -04:00
Danny Yoo
b8d37d3325 re-enabling static calls 2011-03-25 19:56:30 -04:00
Danny Yoo
bcf623277f trying to maintain more static knowledge 2011-03-25 19:52:44 -04:00
Danny Yoo
80e7dd5d29 fixing a few things 2011-03-25 19:24:08 -04:00
Danny Yoo
c75385278c in the middle of letrec 2011-03-25 18:10:26 -04:00
Danny Yoo
9a40630785 turning off static analysis for the moment 2011-03-24 19:12:10 -04:00
Danny Yoo
3a13d5262e changed layout of lambdas so they come at the top of the instruction sequence. 2011-03-24 19:06:53 -04:00
Danny Yoo
f6aceb9d52 need to do a little more work. 2011-03-23 21:57:07 -04:00
Danny Yoo
15a03bba7c trying to do some very simplistic static analysis 2011-03-23 21:43:41 -04:00
Danny Yoo
97762a015f going to see if we can do something lexically smart here. 2011-03-23 20:55:44 -04:00
Danny Yoo
1e30968481 tracing bug with boxenv 2011-03-23 19:17:56 -04:00
Danny Yoo
7357c8e850 tracing error in compilation 2011-03-23 18:30:13 -04:00
Danny Yoo
8f1ebec184 trying to make conform work. 2011-03-23 18:12:18 -04:00
Danny Yoo
656d950846 a little cleanup 2011-03-21 23:54:41 -04:00
Danny Yoo
07f86a8012 added a few tests to the simulator 2011-03-21 23:38:10 -04:00
Danny Yoo
ee3ed353b0 extending Lam to have a name. 2011-03-20 22:33:22 -04:00
Danny Yoo
80ad749022 removing dead module 2011-03-20 22:13:42 -04:00
Danny Yoo
b1384b71dd working out type errors 2011-03-20 22:04:32 -04:00
Danny Yoo
15c6822816 working on compile 2011-03-20 21:55:51 -04:00
Danny Yoo
c72caa5857 changed to letvoid 2011-03-20 20:33:07 -04:00
Danny Yoo
afe489e4f4 require cleanup 2011-03-18 22:52:56 -04:00
Danny Yoo
20818b0a7a removing superfluous structures. 2011-03-18 22:34:43 -04:00
dyoo
fc723832c8 temporarily broke package 2011-03-15 15:18:26 -04:00
dyoo
b14631a40f adding Primitives as a target 2011-03-15 14:35:23 -04:00
dyoo
54ee4e8da4 moving the bootstrapping primitives code (like call/cc) into bootstrapped-primitives.rkt. About to implement map as well. 2011-03-15 13:52:41 -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
01b307829b letrec is doing something 2011-03-13 21:26:41 -04:00
Danny Yoo
581cbd5f9f pushenv will push boxes. 2011-03-13 20:15:30 -04:00
Danny Yoo
44078dd40e box 2011-03-13 19:54:44 -04:00
Danny Yoo
9bce564bf3 trying to prepare for boxed lexical references 2011-03-13 18:31:11 -04:00
Danny Yoo
a597c13e82 let 2011-03-13 17:57:29 -04:00
Danny Yoo
b01bb3bc85 trying to make call/cc work on the web 2011-03-11 20:38:03 -05:00