Commit Graph

89 Commits

Author SHA1 Message Date
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
e5509eecd3 simplifying code 2011-04-28 16:47:47 -04:00
Danny Yoo
ba8e8d26af trying to move some code into the optimize-il section, so I can simplify the compiler. 2011-04-28 14:53:00 -04:00
Danny Yoo
e1d905f43f some code cleanup 2011-04-28 14:35:38 -04:00
Danny Yoo
297a0d10ea added to compile-install-value so it installs using multiple-values 2011-04-28 13:44:33 -04:00
Danny Yoo
91e6172298 expanding install-values to install mutliple values 2011-04-28 13:29:27 -04:00
Danny Yoo
d2fa527872 fixing code and adding some more test cases 2011-04-27 22:09:40 -04:00
Danny Yoo
b8785b524f added test cases for parsing it 2011-04-27 21:58:18 -04:00
Danny Yoo
bd41d16bb2 starting to add skeleton code to do def-values 2011-04-27 21:29:52 -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
876d3bb8e2 trying to simplify code 2011-04-25 13:49:02 -04:00
Danny Yoo
8b5bd061db trying to eliminate redundant code in application, because it's getting hard to understand 2011-04-25 12:45:55 -04:00
Danny Yoo
759bedd9cf trying to reduce the types and simplify 2011-04-24 19:27:14 -04:00
Danny Yoo
7f6ed34b95 trying to simplify structures some more. 2011-04-24 18:51:10 -04:00
Danny Yoo
7b014aab5b code cleanup 2011-04-24 18:38:44 -04:00
Danny Yoo
d90817e09f eliminating dead code 2011-04-24 18:27:20 -04:00
Danny Yoo
d805bca845 removing separate returnlinkage-notail structure 2011-04-24 18:23:51 -04:00
Danny Yoo
1ad7796fdd trying to remove duplicate code form compile-compiled-procedure-application, because it's a monster of a definition. needs to be broken up. 2011-04-24 17:51:19 -04:00
Danny Yoo
713d4ac5a1 in the middle of trying to implement, but drracket's breaking on me hard 2011-04-23 00:24:14 -04:00
Danny Yoo
44beaffea6 test cases 2011-04-21 15:25:56 -04:00
Danny Yoo
7e4ba67db5 more refactoring 2011-04-20 15:24:33 -04:00
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
832df0a2be adding more of the singular checks 2011-04-17 14:31:42 -04:00
Danny Yoo
97ace1e517 going through the expressions and adding the singular value check as necessary 2011-04-17 14:24:31 -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
75fd4a9005 hacked out something for with-continuation-mark; I don't think it's quite right yet. I need a separate frame structure here; I don't like how I'm overloading callframes. 2011-04-14 01:07:13 -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
a1aa14885a in the middle of continuation marks 2011-04-13 16:20:47 -04:00
Danny Yoo
57027917f1 fixing up the simulator and assembler 2011-04-12 16:09:08 -04:00
Danny Yoo
18b3a474ef renaming compile.rkt to compiler.rkt 2011-04-12 13:09:53 -04:00