Commit Graph

479 Commits

Author SHA1 Message Date
Danny Yoo
db21f6b5ab changing these away from apply, since some js browsers may break if the list grows too large 2012-01-17 12:24:24 -05:00
Danny Yoo
729e61cfae unsafe-car, unsafe-cdr 2012-01-10 10:51:13 -05:00
Danny Yoo
2b82fb6a45 adding sections in internals to remind myself how all the pieces work. 2011-12-14 14:56:17 -05:00
Danny Yoo
976b6112f1 Merge branch 'with-exclusive-lock'
Conflicts:

	js-assembler/runtime-src/runtime.js
	version.rkt
	web-world/main.rkt
2011-12-13 15:31:04 -05:00
Danny Yoo
68de55b170 adding references to the static resources 2011-12-12 12:34:01 -05:00
Danny Yoo
1baa212d02 defensive: when the machine fails during an internal call, try getting the environment and control in a good state. 2011-12-09 22:59:15 -05:00
Danny Yoo
bc5204f28e fixing typos 2011-12-09 22:36:58 -05:00
Danny Yoo
ac499e24f6 locking internalCall 2011-12-09 22:31:36 -05:00
Danny Yoo
4573dc701e Trying to introduce mechanism for locking the evaluator, but I'm still running into several messy issues. 2011-12-09 22:02:04 -05:00
Danny Yoo
23d4c27c2b There is something very suspicious happening with makeRestartFunction where the env and control are being munged, but I haven't been able to trace where yet. 2011-12-09 20:40:10 -05:00
Danny Yoo
7f0fe7516b adding a lock around the trampoline 2011-12-09 18:50:16 -05:00
Danny Yoo
13db47eac8 correcting raise to raiseFailure, to get better error stack messages 2011-12-08 17:17:50 -05:00
Danny Yoo
666fa04243 turning off pre-emptive trampolining because of a very ugly bug. No energy to figure out how to fix it, so I'm turning it off for now. 2011-12-04 20:47:00 -05:00
Danny Yoo
31ac428276 trying to get the exclusive lock code right 2011-12-04 20:40:44 -05:00
Danny Yoo
46f314ea35 chasing a double-release 2011-12-04 20:04:03 -05:00
Danny Yoo
ccdb0c88f6 before 2011-12-04 19:00:56 -05:00
Danny Yoo
6904222c69 starting to do something 2011-12-04 18:43:25 -05:00
Danny Yoo
efb978b52f correcting typos 2011-12-04 18:05:31 -05:00
Danny Yoo
fa5cb557ba trying to get the exclusive lock logic in place 2011-12-04 18:03:53 -05:00
Danny Yoo
e57f5d29d9 trying to get infrastructure on exclusive locks 2011-12-04 17:43:31 -05:00
Danny Yoo
76300eaa85 corrected id callsBeforeTrampoline to cbt 2011-12-04 17:41:36 -05:00
Danny Yoo
1dd452732b turning off inlining: bug 2011-11-30 23:54:22 -05:00
Danny Yoo
dd01373ae5 correcting bug reported by Michael Murphy and Hoon Ik Chang: CheckToplevelUnbound 2011-11-22 02:13:02 -05:00
Danny Yoo
de0f72b249 getting rid of the raiseOperatorIsNotClosure in favor of raiseOperatorApplicationError 2011-11-21 19:06:26 -05:00
Danny Yoo
ced1d2ba67 correcting typo in the trampoline detection. Thanks to Campbell Hewett for the bug report. 2011-11-21 16:09:51 -05:00
Danny Yoo
bcbfa5f10e exercising hash-values, hash-keys, hash-map, hash-for-each 2011-11-09 11:56:38 -05:00
Danny Yoo
588ff1644b hash-keys and hash-values 2011-11-09 11:18:12 -05:00
Danny Yoo
ed80c24241 eliminating the dynamic stack height calculation: it appears to break iOS badly 2011-11-08 13:29:09 -05:00
Danny Yoo
36801f7c54 hash-equal? 2011-11-07 19:13:30 -05:00
Danny Yoo
4c4d4437b8 hash-count 2011-11-07 19:07:34 -05:00
Danny Yoo
c02c40f93e hash-copy 2011-11-07 19:02:07 -05:00
Danny Yoo
db278efcd1 string-copy 2011-11-07 18:53:53 -05:00
Danny Yoo
e417662c31 dots for the teaching language 2011-11-07 18:42:30 -05:00
Danny Yoo
2e077e257d hash-has-key 2011-11-07 18:15:18 -05:00
Danny Yoo
a273a12091 crossing out a few hash functions from my todo list 2011-11-07 17:46:31 -05:00
Danny Yoo
923d418840 integrating the immutable hashes 2011-11-07 17:39:21 -05:00
Danny Yoo
93d7991960 integrating the tests 2011-11-07 17:01:15 -05:00
Danny Yoo
710f014478 working on immutable hash tables 2011-11-07 16:15:23 -05:00
Danny Yoo
dcb2e9fb10 ripping out the avltree stuff with the llrbtree implementation, which we'll use to get immutable hash tables. 2011-11-07 15:46:22 -05:00
Danny Yoo
6e9733afec cheaply computing equal-hash-table codes. 2011-11-04 18:05:21 -04:00
Danny Yoo
522b1866c8 trying to trace equal-hash-code with structures. 2011-11-04 17:46:50 -04:00
Danny Yoo
3066822ad0 in the middle of repairing bugs in hashcode 2011-11-04 13:56:35 -04:00
Danny Yoo
07b44b2239 introducing getEqualHashCode 2011-11-04 13:28:08 -04:00
Danny Yoo
fd28c199e9 hashes beginning to run. 2011-11-03 18:12:30 -04:00
Danny Yoo
dcb94873fe including the avltree sources 2011-11-03 17:17:27 -04:00
Danny Yoo
8117943aaf working on getting hashtables in 2011-11-03 15:38:47 -04:00
Danny Yoo
78d875aac1 looking at the avltree implementation; ok, I think I understand it enough to edit it. 2011-11-03 12:55:55 -04:00
Danny Yoo
3653b24476 avltree libraries might be useful for immutable hash tables. 2011-11-03 12:31:49 -04:00
Danny Yoo
094ad76f74 fixing bug with structure type property stuff. 2011-11-02 16:26:17 -04:00
Danny Yoo
d6ce74a273 eliminating the inlining; forcing compilation through regular compile. For some reason, though, compile times have gone up more than I expected. 2011-11-02 16:00:55 -04:00
Danny Yoo
b78eddfa42 tracing bug with expand-out-images 2011-11-02 15:42:23 -04:00
Danny Yoo
95fba70f4d trying to fight the code expansion 2011-11-02 15:27:38 -04:00
Danny Yoo
0522354d84 primitive compliation is in 2011-11-02 14:38:16 -04:00
Danny Yoo
38a0a8544b in the middle of re-enabling primitive application. I need to now statically determine whether an application is primitive or not. 2011-11-02 13:22:51 -04:00
Danny Yoo
6f89bc60b2 trying to implement the optimization on primitive application, to reduce code size. 2011-11-02 12:14:49 -04:00
Danny Yoo
fb04bf4595 adding an additional test up front, because js-vm and moby are special 2011-10-05 18:07:15 -04:00
Danny Yoo
884a4d3abb added printing of locations if prop:exn:srcloc is supported 2011-10-03 18:38:43 -04:00
Danny Yoo
13c385bd8b trying to get propExnSrcloc to do something 2011-10-03 18:21:01 -04:00
Danny Yoo
2351c6d80e the constructor didn't look at the argcount register properly. Fixed 2011-10-03 17:59:17 -04:00
Danny Yoo
2854bd7cd5 adding structure type properties 2011-10-03 17:39:54 -04:00
Danny Yoo
b5913fa876 fixing construction of the structure constructor when there's structure inheritance 2011-10-03 17:20:58 -04:00
Danny Yoo
8629e8c2ab more tests. signatures are doing more. 2011-10-03 17:09:05 -04:00
Danny Yoo
27ea253b35 mutators explicitly return void 2011-10-03 16:51:54 -04:00
Danny Yoo
658f46d526 trying to implement signatures 2011-10-03 16:08:34 -04:00
Danny Yoo
0eab74e2e0 updating text 2011-10-03 13:38:13 -04:00
Danny Yoo
435ed2a556 testing that the module compiles ok 2011-10-03 13:30:42 -04:00
Danny Yoo
f0d231bd81 working on error messages 2011-10-03 13:05:19 -04:00
Danny Yoo
1447b39167 adding guards around reading modules. 2011-10-03 12:21:16 -04:00
Danny Yoo
c4c4c95204 a few more changes to try to get the signature implementation working 2011-09-30 16:16:48 -04:00
Danny Yoo
d8edb171dc adding bindings for the teaching primitives 2011-09-30 13:50:33 -04:00
Danny Yoo
a66d15e4e4 more primitives 2011-09-30 13:02:15 -04:00
Danny Yoo
c066bdf568 continuing to add primitives 2011-09-30 12:32:31 -04:00
Danny Yoo
1a9824b1d0 adding some missing primitive bindings 2011-09-30 12:15:25 -04:00
Danny Yoo
c8f1ef07d4 corrected the weirdness with saving the old argcount before restarting computation. Now the makeRestartFunction handles this low-level detail for us. 2011-09-29 18:14:52 -04:00
Danny Yoo
2251e7bf0e fixing ie header stuff 2011-09-29 17:42:39 -04:00
Danny Yoo
ff4723e9b0 Merge commit 'origin/master' 2011-09-29 17:22:46 -04:00
Danny Yoo
fbcbe4fa6f addressing issue 50 with regards to ie compatibility 2011-09-29 17:20:56 -04:00
Danny Yoo
a1009db26e legacy ie library for excanvas stuff 2011-09-29 16:51:39 -04:00
Danny Yoo
b7489b5b0c some cleanup; also turning on the context preservation stuff in hopes that it will make the generated code smaller 2011-09-28 14:23:53 -04:00
Danny Yoo
657d74e37b correcting names of structure accessors and mutators 2011-09-27 17:29:34 -04:00
Danny Yoo
ea578d6ff4 adding the isolating bug into the test suite. 2011-09-27 17:24:05 -04:00
Danny Yoo
1ecf32896d adding apple-mobile-specific flags to see if we can get rid of the browser bar. Changing the name of the manifest file to appcache per html5 recommendations 2011-09-26 14:15:17 -04:00
Danny Yoo
f7bcbff5ed initial support for offline webapp 2011-09-26 12:30:42 -04:00
Danny Yoo
37b788cd37 ripping out dependency on ryanc/db package since we don't use it anymore 2011-09-25 20:40:55 -04:00
Danny Yoo
54d8dd1c1c Merge remote-tracking branch 'origin/master' 2011-09-25 20:34:44 -04:00
Danny Yoo
58246ac277 compressing jsnumbers 2011-09-25 20:26:50 -04:00
Danny Yoo
cba2b31e45 more support for some character stuff 2011-09-25 16:38:49 -04:00
Danny Yoo
1a63f418ac read-line appears to be doing something 2011-09-25 16:09:27 -04:00
Danny Yoo
98ea5bfc13 read-byte, some jslinting of baselib-primitives 2011-09-25 15:54:43 -04:00
Danny Yoo
b28c3cdfa1 caching without sqlite 2011-09-23 17:29:43 -04:00
Danny Yoo
69afabe3a6 trying to figure out why the runtime behavior of compilation is so variable; I sometimes get 13.23 seconds, and sometimes 5.73 seconds, and I have no control over why. Really strange. 2011-09-23 13:32:26 -04:00
Danny Yoo
1a872c52d0 debugging type error with caching 2011-09-23 13:03:44 -04:00
Danny Yoo
83ff8fafe9 adding a gzipping in there since the content is going to be fairly large. 2011-09-23 12:17:00 -04:00
Danny Yoo
9d3e72ae0a cache implemented. Need to add to the packager now. 2011-09-23 12:06:49 -04:00
Danny Yoo
59f58f9421 continuing to work on the dbcache 2011-09-23 11:55:38 -04:00
Danny Yoo
51be2041db db-cacheing 2011-09-23 11:39:57 -04:00
Danny Yoo
5c1495a0ce working on the cache 2011-09-22 16:54:06 -04:00
Danny Yoo
c05e90e5b8 skeletons for the caching 2011-09-22 16:39:54 -04:00
Danny Yoo
a17c773e7e Narrowing the definition of MainModuleSource so that it's always a path, not a general Source 2011-09-22 16:30:55 -04:00
Danny Yoo
6598c4d0d1 trying to introduce promises so I can pre-cache some of the compilations 2011-09-22 14:31:53 -04:00