Danny Yoo
|
202061fa4a
|
more of module invoke
|
2011-05-13 00:57:45 -04:00 |
|
Danny Yoo
|
cfa1874f0a
|
begin0 not quite done yet, but I need to get other things working first.
|
2011-05-12 17:36:33 -04:00 |
|
Danny Yoo
|
8041448c47
|
fixing misquoting of label in compiler output for begin0
|
2011-05-12 16:42:08 -04:00 |
|
Danny Yoo
|
d7d4abec59
|
found that the documentation for let-rec's behavior in 5.1.1 is off: the closures are installed in reverse order, but the first element is what's on the stack, not the last.
|
2011-05-12 15:27:04 -04:00 |
|
Danny Yoo
|
882b228ae8
|
trying to deal with case-lam's revised structure
|
2011-05-12 14:36:06 -04:00 |
|
Danny Yoo
|
3c2917f0c5
|
deriv is still not terminating for some reason. need to investigate.
|
2011-05-12 03:20:23 -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
|
a1feb1965c
|
ripping out the name from ToplevelSet since it's not used anywhere
|
2011-05-10 00:12:07 -04:00 |
|
Danny Yoo
|
e3d8a253fe
|
fixing implementation of letrec, which isn't supposed to do any allocation. That's the job of letvoid
|
2011-05-09 23:49:10 -04:00 |
|
Danny Yoo
|
39935eaee3
|
adding kernel primitive as opargs.
|
2011-05-09 18:17:15 -04:00 |
|
Danny Yoo
|
e6968a596b
|
trying to deal with cycles by eliminating them from our representation.
|
2011-05-09 16:06:20 -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
|
42ca09b260
|
case-lambda tests
|
2011-05-04 15:38:49 -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
|
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 |
|