Danny Yoo
|
1aeb9c57fb
|
trying to clean up; code is getting too large to manage
|
2011-05-13 13:57:17 -04:00 |
|
Danny Yoo
|
d0b6d2e8c6
|
trying to run earley using Racket's compiler
|
2011-05-12 18:48:15 -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
|
2c3c6d0e0e
|
trying to debug begin0, which isn't saving the values it needs to.
|
2011-05-12 16:51:22 -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
|
6dff02d606
|
will look at this tomorrow when I'm more clearheaded
|
2011-05-12 02:58:29 -04:00 |
|
Danny Yoo
|
2bb72b6c44
|
trying to trace why test-compiler is failing on the derivative example. Something broke.
|
2011-05-12 02:33:31 -04:00 |
|
Danny Yoo
|
03164578a4
|
in the middle of integrating the real parser/compiler with the rest of the runtime
|
2011-05-12 01:58:05 -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
|
d2fa527872
|
fixing code and adding some more test cases
|
2011-04-27 22:09:40 -04:00 |
|
Danny Yoo
|
e13f26ff61
|
moving some of the slower tests of the compiler to test-compiler-2.rkt
|
2011-04-27 22:02:00 -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
|
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
|
7f6ed34b95
|
trying to simplify structures some more.
|
2011-04-24 18:51:10 -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
|
6cc07abd25
|
adding some tests from the Racket test suite regarding with-continuation-mark
|
2011-04-14 12:13:08 -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
|
53a9889822
|
working on continuation mark stuff
|
2011-04-13 17:06:29 -04:00 |
|
Danny Yoo
|
4f2e6f8546
|
in the middle
|
2011-04-13 16:56:38 -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
|
0d441be1cf
|
in the middle of supporting the multiple value return with labels
|
2011-04-12 15:16:53 -04:00 |
|
Danny Yoo
|
18b3a474ef
|
renaming compile.rkt to compiler.rkt
|
2011-04-12 13:09:53 -04:00 |
|
Danny Yoo
|
172b1d9e5d
|
some more tests using apply
|
2011-04-11 16:25:17 -04:00 |
|
Danny Yoo
|
bc783824a7
|
adding apply; needs type checks for application last argument
|
2011-04-10 19:30:42 -04:00 |
|
dyoo
|
a49269e2db
|
massaging the code so general apply should work
|
2011-04-08 16:03:39 -04:00 |
|
Danny Yoo
|
cfdbbfaeaa
|
traced the bug to an off-by-one, as usual...
|
2011-04-02 00:57:34 -04:00 |
|
Danny Yoo
|
c0d18edca8
|
still chasing after browser bug; the simulator is working ok, so I assume I messed up somewhere in assembly
|
2011-04-02 00:14:54 -04:00 |
|
Danny Yoo
|
868711dae8
|
starting to re-enable call/cc tests
|
2011-04-01 23:33:24 -04:00 |
|
Danny Yoo
|
d1b27940b7
|
some more tests
|
2011-04-01 23:20:09 -04:00 |
|
Danny Yoo
|
f26b23d821
|
fixing a bug with boxenv
|
2011-04-01 23:05:00 -04:00 |
|
Danny Yoo
|
49ff8c0aa1
|
callcc still broken...
|
2011-04-01 22:57:34 -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
|
f581b027a2
|
weakening the optimization: it's not sound if there's mutation, and I don't currently analyze operands for mutation yet.
|
2011-04-01 13:37:07 -04:00 |
|
Danny Yoo
|
dbd8d5bebc
|
about to work on prompts and splices
|
2011-04-01 13:15:41 -04:00 |
|
dyoo
|
074be88089
|
still debugging
|
2011-03-31 14:42:52 -04:00 |
|
Danny Yoo
|
eb0eee57bd
|
fixing some primitives
|
2011-03-28 22:36:58 -04:00 |
|
Danny Yoo
|
d0eb3b610e
|
fixed up test cases to use the new linkage structures.
|
2011-03-28 17:51:02 -04:00 |
|
Danny Yoo
|
a640cfe083
|
minor optimization to letrec
|
2011-03-26 23:46:01 -04:00 |
|
Danny Yoo
|
32e1f1a5dc
|
some testing on letrec
|
2011-03-25 18:35:12 -04:00 |
|
Danny Yoo
|
1e30968481
|
tracing bug with boxenv
|
2011-03-23 19:17:56 -04:00 |
|
Danny Yoo
|
7357c8e850
|
tracing error in compilation
|
2011-03-23 18:30:13 -04:00 |
|
Danny Yoo
|
07f86a8012
|
added a few tests to the simulator
|
2011-03-21 23:38:10 -04:00 |
|