Commit Graph

80 Commits

Author SHA1 Message Date
Danny Yoo
3c08b75f44 in the middle of changing those compile-time errors to runtime ones. 2011-04-17 14:45:15 -04:00
Danny Yoo
65ec6d340e test cases are running. 2011-04-17 14:10:57 -04:00
Danny Yoo
d7648c4ae7 in the middle of moving getControlStackLabel as an oparg, so we don't need to write into val register before jumping 2011-04-17 13:11:49 -04:00
Danny Yoo
a9b3ee7bb9 continuing to work on multiple value stuff 2011-04-16 15:51:42 -04:00
Danny Yoo
3cb40ab499 restricting the prompt and call frames to ensure they are always using linkedlabels, to guarantee good things when we do multiple value returns 2011-04-16 15:26:01 -04:00
Danny Yoo
bb2aba98ac renaming promptlinkage to returnlinkage/nontail, just because what returnlinkage/nontail is doing is more general than what prompts require. 2011-04-16 15:04:52 -04:00
Danny Yoo
6e2c4e8d8a added generic frames 2011-04-14 13:17:44 -04:00
Danny Yoo
0c8cd9234c renaming PushControlFrame to more specific PushControlFrame/Call, since control frames can be of several types 2011-04-14 13:05:05 -04:00
Danny Yoo
d43f1100e3 removing separate PopControlFrame/Prompt command, since the frames all pop the same way 2011-04-14 12:58:32 -04:00
Danny Yoo
a1aa14885a in the middle of continuation marks 2011-04-13 16:20:47 -04:00
Danny Yoo
c78f6018be adding test cases for values. need to add binding forms for multiple values next 2011-04-12 16:53:50 -04:00
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