Commit Graph

108 Commits

Author SHA1 Message Date
Danny Yoo
89321ba9b2 trying to complete the bytecode parse 2011-05-11 18:03:46 -04:00
Danny Yoo
8fe3fbc9a4 getting into bad compilation times again. Trying to isolate 2011-05-11 14:22:47 -04:00
Danny Yoo
39935eaee3 adding kernel primitive as opargs. 2011-05-09 18:17:15 -04:00
Danny Yoo
c192989e55 trying to add positional names to lambdas 2011-05-08 19:22:13 -04:00
Danny Yoo
f640907001 extending prefixes to also take globalbuckets, although I don't think the simulator or assembler is treating them and modulevariables correctly yet. 2011-05-06 15:53:00 -04:00
Danny Yoo
484d3dae6d adding operator to get at a single closure value 2011-05-04 15:21:20 -04:00
Danny Yoo
62bba7470e TestClosureArityMismatch 2011-05-03 16:46:42 -04:00
Danny Yoo
5d674b18d5 changing test and branch's test structure from symbols. Some test will need to take more that one operand, eventually. 2011-04-29 14:08:11 -04:00
Danny Yoo
36627c798a Implementing call-with-values, fixing some bugs with primitive procedure application and it. 2011-04-25 17:42:38 -04:00
Danny Yoo
e1c406c6a1 hacking in a call-with-values form to see if i got apply-values right 2011-04-25 15:42:37 -04:00
Danny Yoo
b27f925dd4 making compiledprocedurenetry an oparg
making compiledprocedurenetry an oparg
2011-04-25 14:46:27 -04:00
Danny Yoo
44beaffea6 test cases 2011-04-21 15:25:56 -04:00
Danny Yoo
33294d0c36 hmm.. the typechecker at this point looks like it's going crazy 2011-04-17 14:54:01 -04:00
Danny Yoo
421c826564 test cases running 2011-04-17 13:19:58 -04:00
Danny Yoo
a9b3ee7bb9 continuing to work on multiple value stuff 2011-04-16 15:51:42 -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
d959ecf9ae need to do something about the linkage and describe tail behavior separately from environment/clearing behavior 2011-04-14 00:54:09 -04:00
Danny Yoo
4f2e6f8546 in the middle 2011-04-13 16:56:38 -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
2bc4b2a224 simulator seems to be in place 2011-04-12 16:12:46 -04:00
Danny Yoo
30441ea587 still in the middle of linked label stuff 2011-04-12 15:36:28 -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
5fa7af7037 testing the simulator 2011-04-11 15:57:21 -04:00
Danny Yoo
66a2d6b0ef adding pushimmediateontoenvironment 2011-04-10 21:25:52 -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
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
dyoo
23b389a52a fixing typo 2011-03-31 15:34:06 -04:00
Danny Yoo
a3d5ec0b86 moved the type check stuff into the compiler 2011-03-29 21:49:11 -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
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
edc6707fc1 procedure application 2011-03-26 18:52:49 -04:00