Commit Graph

105 Commits

Author SHA1 Message Date
Danny Yoo
01f2bc7566 adding a debugprint statement in the il to make it easier for me to trace what's happening 2011-05-12 17:01:47 -04:00
Danny Yoo
5132e3dbc2 passing test cases again 2011-05-12 15:43:01 -04:00
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
d1f2f6b277 working on begin0 implementation; not tested yet 2011-05-10 15:59:44 -04:00
Danny Yoo
6ceb708917 in the middle of begin0 2011-05-10 15:09:22 -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
4a8413cfc8 continuing to parse lams. temporarily broken 2011-05-08 19:03:41 -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
d1a18ae57c moving some of the definitions of il-structs into separate compiler-structs.rkt module 2011-05-04 18:38:14 -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
e1d905f43f some code cleanup 2011-04-28 14:35:38 -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
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
d805bca845 removing separate returnlinkage-notail structure 2011-04-24 18:23:51 -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
1f158490ac added the others in 2011-04-18 15:11:41 -04:00
Danny Yoo
50cc7e2fcc trying to split up the code so it doesn't kill typed racket so badly 2011-04-18 13:04:42 -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
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