Commit Graph

643 Commits

Author SHA1 Message Date
Danny Yoo
5576e962f6 seeing if we can reliably get the module bytecode 2011-05-19 15:43:30 -04:00
Danny Yoo
7350d5d832 trying to get at the module bytecode 2011-05-19 14:51:28 -04:00
Danny Yoo
76d37f1df1 more fixes 2011-05-18 16:40:30 -04:00
Danny Yoo
501b11a931 traced down bug with regards to use of compile with a non-register target. 2011-05-18 16:26:36 -04:00
Danny Yoo
5612573657 isolated; it's begin0. I need to fix begin0 2011-05-18 14:33:32 -04:00
Danny Yoo
1ab9eeee78 disabling optimizations again; trying to trace test-conform's failure 2011-05-18 14:30:43 -04:00
Danny Yoo
664f778da6 trying to trace why conform is failing 2011-05-18 14:11:12 -04:00
Danny Yoo
1550196a5a nailed the bug: what was happening was the labels generated by parse.rkt and parse-bytecode-5.1.1 were colliding, since they were using separate gensym functions. 2011-05-17 17:15:18 -04:00
Danny Yoo
2c34cf5811 identified that, for some reason, the wrong value is being stored in closures. Now trying to figure out why. 2011-05-17 16:48:07 -04:00
Danny Yoo
185b9f197c adding comments to the intermediate language to help me trace what's going on in the simulator 2011-05-17 16:24:17 -04:00
Danny Yoo
24f988c45a disabling some optimizations; still trying to chase 2011-05-17 16:17:10 -04:00
Danny Yoo
fd7fff2c58 adding compile-context-preservation-enabled so we get the same results of compilation in both racket and drracket tests 2011-05-17 15:53:23 -04:00
Danny Yoo
2f90e68db1 still chasing the bug 2011-05-17 14:04:13 -04:00
Danny Yoo
fff511672d perplexed: earley is failing, but not sure why 2011-05-16 11:40:29 -04:00
Danny Yoo
70eaf2c055 fixing procedure application arguments 2011-05-16 10:42:14 -04:00
Danny Yoo
ec3b443f2a fixing installvalues 2011-05-14 23:32:56 -04:00
Danny Yoo
6c50b88703 absorbing libraries from js-vm project 2011-05-14 02:10:14 -04:00
Danny Yoo
387048f381 moving runtime.js to the js-assembler subdirectory 2011-05-14 00:06:26 -04:00
Danny Yoo
891e3c73b0 renaming js-vm reference to whalesong; also copying the kernel language from js-vm. Similar plan: use a small kernel language to bootstrap the project 2011-05-13 23:39:52 -04:00
Danny Yoo
178f247c34 Fixing the README to refer to the renamed project Whalesong 2011-05-13 23:24:41 -04:00
Danny Yoo
1f9b870b91 ripping out provides, since we don't need it. 2011-05-13 19:11:25 -04:00
Danny Yoo
fee35c3860 continuing to work on module paths 2011-05-13 17:15:20 -04:00
Danny Yoo
db302a1b0c path rewriter knows about main js-sicp project path 2011-05-13 15:43:44 -04:00
Danny Yoo
9988201d06 modulerecords keep the path now. 2011-05-13 14:58:49 -04:00
Danny Yoo
2bb4666645 added in a path rewriter 2011-05-13 14:50:25 -04:00
Danny Yoo
cceec4ccd7 rewriting paths to be relative to a directory 2011-05-13 14:35:41 -04:00
Danny Yoo
75f37c661c moved simulator and js-assembler into separate subdirectories 2011-05-13 14:09:59 -04:00
Danny Yoo
2463cb90e6 simulator in separate directory 2011-05-13 14:03:00 -04:00
Danny Yoo
1aeb9c57fb trying to clean up; code is getting too large to manage 2011-05-13 13:57:17 -04:00
Danny Yoo
202061fa4a more of module invoke 2011-05-13 00:57:45 -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
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
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
5132e3dbc2 passing test cases again 2011-05-12 15:43:01 -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
f16ffbc171 fixing test case since simulator structure changed a little 2011-05-11 18:11:56 -04:00
Danny Yoo
89321ba9b2 trying to complete the bytecode parse 2011-05-11 18:03:46 -04:00
Danny Yoo
e8e28afa19 work around for the typechecking slow typing behavior: needed to reorder clauses and use else to cut things off quickly 2011-05-11 14:45:37 -04:00
Danny Yoo
8fe3fbc9a4 getting into bad compilation times again. Trying to isolate 2011-05-11 14:22:47 -04:00
Danny Yoo
3363c15082 comment 2011-05-11 00:54:18 -04:00
Danny Yoo
a850bcfc8c using resolve-module-path-index 2011-05-11 00:46:08 -04:00
Danny Yoo
5cd3ef8cd8 trying to parse modules 2011-05-10 21:28:28 -04:00
Danny Yoo
d1f2f6b277 working on begin0 implementation; not tested yet 2011-05-10 15:59:44 -04:00