Commit Graph

335 Commits

Author SHA1 Message Date
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
286e68920b about to try writing apply 2011-04-10 17:52:12 -04:00
Danny Yoo
cbc51a93be chased problem down to forgetting setting argcount 2011-04-10 17:43:22 -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
29fa60d89e continuing to try to eliminate number-of-arguments from general procedure call, because that should be a runtime value coming from argcount, rather than a static one at compilation time. 2011-04-08 23:52:35 -04:00
Danny Yoo
3a598c8064 moving the popenv pushenv no-op optimizations to assembly 2011-04-08 23:45:20 -04:00
Danny Yoo
5f91d56542 ripping out an optimization 2011-04-08 23:37:56 -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
dyoo
0e604a44ae continuing to work on the primitives 2011-04-08 14:46:31 -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
02779f3537 closure compile can shrink down the size of the runtime to something more managable. 2011-04-03 17:40:01 -04:00
Danny Yoo
6e920dd7ca more cleanup 2011-04-02 18:36:08 -04:00
Danny Yoo
13484d7cca initial namespacing done 2011-04-02 17:53:43 -04:00
Danny Yoo
7b8eb2b04f in the middle of namespacing the exports from the runtime 2011-04-02 17:40:08 -04:00
Danny Yoo
c461152e39 fixing test case 2011-04-02 01:01:45 -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
7751813bde still trying to catch bug involving call/cc and the environment. I think I've forgotten to capture only the portion of the environment up to prompt. 2011-04-02 00:29:16 -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
1f012fb570 continuing to debug 2011-04-01 23:26:22 -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
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
Danny Yoo
4c07e59b83 experiment 2011-04-01 13:42:57 -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
ec26794c8f indentation 2011-03-31 16:21:06 -04:00
Danny Yoo
a086d1b10e testing 2011-03-31 15:52:37 -04:00
dyoo
23b389a52a fixing typo 2011-03-31 15:34:06 -04:00
dyoo
ad71a72121 generalizing the optimization 2011-03-31 15:24:06 -04:00
dyoo
074be88089 still debugging 2011-03-31 14:42:52 -04:00
dyoo
73015f4116 debugging 2011-03-31 14:29:31 -04:00
dyoo
685e8d0e07 adjust-expression-depth to be used for the kernel primitive optimization 2011-03-31 13:14:50 -04:00
Danny Yoo
51b1db2620 in the middle of the optimization 2011-03-31 12:45:40 -04:00
Danny Yoo
588855e5ab in the middle of generalizing the stack optimization 2011-03-30 14:45:40 -04:00
Danny Yoo
3959a0a95c cleaning up 2011-03-29 22:06:43 -04:00
Danny Yoo
7a5a8311b9 debuggin 2011-03-29 21:58:07 -04:00
Danny Yoo
a3d5ec0b86 moved the type check stuff into the compiler 2011-03-29 21:49:11 -04:00