Commit Graph

69 Commits

Author SHA1 Message Date
Danny Yoo
57027917f1 fixing up the simulator and assembler 2011-04-12 16:09:08 -04:00
Danny Yoo
0d441be1cf in the middle of supporting the multiple value return with labels 2011-04-12 15:16:53 -04:00
Danny Yoo
18736b41a1 adding UnspliceRestFromStack! as a primitive operation 2011-04-11 15:33:12 -04:00
Danny Yoo
f76bec0d13 in the middle of getting arity 2011-04-11 14:05:01 -04:00
Danny Yoo
66a2d6b0ef adding pushimmediateontoenvironment 2011-04-10 21:25:52 -04:00
Danny Yoo
bc783824a7 adding apply; needs type checks for application last argument 2011-04-10 19:30:42 -04:00
Danny Yoo
9831504245 implementing list splicing 2011-04-10 18:49:18 -04:00
Danny Yoo
b51858c524 broke something 2011-04-10 17:27:14 -04:00
Danny Yoo
2f90620863 modifying popenvironment to take arbitrary oparg for skip as well. 2011-04-10 17:00:59 -04:00
Danny Yoo
1873a9ca78 modifying popenvironment to take arbitrary oparg instead of guaranteed constant. 2011-04-10 16:49:13 -04:00
Danny Yoo
49d2fd4803 applyprimitiveprocedure now uses argcount 2011-04-08 23:57:38 -04:00
Danny Yoo
398de4c1b0 fixing arity checks 2011-04-08 23:29:32 -04:00
dyoo
05c37fe6d0 trying to do apply 2011-04-08 16:23:02 -04:00
dyoo
a49269e2db massaging the code so general apply should work 2011-04-08 16:03:39 -04:00
dyoo
c8189e4c1e passing count of arguments in val for procedure call 2011-04-08 14:18:01 -04:00
Danny Yoo
5b5499d241 prompt frames remember how deep the environment is 2011-04-06 17:17:59 -04:00
Danny Yoo
9072e32820 maintaining proc across tail calls. 2011-04-06 16:28:37 -04:00
Danny Yoo
49ff8c0aa1 callcc still broken... 2011-04-01 22:57:34 -04:00
Danny Yoo
931078130f continuing to debug 2011-04-01 21:31:57 -04:00
Danny Yoo
570879d194 still debugging 2011-04-01 19:44:24 -04:00
Danny Yoo
8c3a9c5136 introducing prompts in the simulator 2011-04-01 18:39:34 -04:00
Danny Yoo
589731fc6f introducing prompts 2011-04-01 18:08:29 -04:00
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
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
bbb80800db a few more open-coded primitives 2011-03-28 23:23:08 -04:00
Danny Yoo
eb0eee57bd fixing some primitives 2011-03-28 22:36:58 -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
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
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
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
c75385278c in the middle of letrec 2011-03-25 18:10:26 -04:00
Danny Yoo
07f86a8012 added a few tests to the simulator 2011-03-21 23:38:10 -04:00
Danny Yoo
80ad749022 removing dead module 2011-03-20 22:13:42 -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
b14631a40f adding Primitives as a target 2011-03-15 14:35:23 -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
581cbd5f9f pushenv will push boxes. 2011-03-13 20:15:30 -04:00
Danny Yoo
9bce564bf3 trying to prepare for boxed lexical references 2011-03-13 18:31:11 -04:00
Danny Yoo
b9dfd90851 trying to get call/cc 2011-03-11 18:26:34 -05:00
Danny Yoo
05d6043613 parsing let 2011-03-11 14:00:21 -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