Commit Graph

290 Commits

Author SHA1 Message Date
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
95fba70f4d trying to fight the code expansion 2011-11-02 15:27:38 -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
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
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
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
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
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
cf9412710b Merge commit '7cf22f4a1c149e6335e2a31353f7ca406eabfe86'
Conflicts:

	cs019/cs019.rkt
	js-assembler/runtime-src/baselib-contmarks.js
2011-09-21 13:33:43 -04:00
Danny Yoo
689d4f0016 adding missing parameters 2011-09-21 13:28:23 -04:00
Danny Yoo
9a7ee2dff4 constructor printing 2011-09-20 17:37:03 -04:00
Danny Yoo
bcf19edfe4 working on printing a bit more. 2011-09-20 17:17:34 -04:00
Danny Yoo
6d00f88717 working on the printing code. 2011-09-20 15:59:11 -04:00
Danny Yoo
3aa90e6b40 adding recur method to params to make it easier to recursively call toDomNode. 2011-09-19 18:14:36 -04:00
Danny Yoo
602086e46b working on the printer so we can get constructor-style output based on print-mode parameter 2011-09-19 18:09:31 -04:00
Danny Yoo
7cf22f4a1c version of cs019 language in whalesong preliminary work 2011-09-19 14:58:19 -04:00
Danny Yoo
c96e12fac1 working on making the cs019 language for SK 2011-09-19 14:02:00 -04:00
Danny Yoo
23bd9eb999 fix for checking procedure arity. Thanks to Jens for the bug report. 2011-09-19 12:01:34 -04:00
Danny Yoo
2ae1b70c17 removing dead files 2011-09-17 22:40:02 -04:00
Danny Yoo
b8cfd43a50 multiple value return optimizations 2011-09-16 17:04:15 -04:00
Danny Yoo
0991a0d74b mvr initialization should now optimize away the common case 2011-09-16 16:22:26 -04:00
Danny Yoo
429bab013e Merge remote-tracking branch 'origin/master' 2011-09-16 11:50:35 -04:00
Danny Yoo
f2cc5b421f continuing to fight compatiblity issues 2011-09-15 14:00:33 -04:00
Danny Yoo
7de6e18d3f renamed val to v 2011-09-15 00:03:24 -04:00
Danny Yoo
a107d83827 renamed proc to p 2011-09-14 23:50:02 -04:00
Danny Yoo
e0f2502b18 renaming control to c 2011-09-14 23:42:24 -04:00
Danny Yoo
0e00041739 machine env renamed to e. 2011-09-14 22:30:14 -04:00
Danny Yoo
3d53fe7699 continuing to grab at low-hanging fruit. 2011-09-14 22:14:29 -04:00
Danny Yoo
318255c253 renamed argcount to a 2011-09-14 21:47:12 -04:00
Danny Yoo
298ade1752 renaming multipleValueReturn to mvr 2011-09-14 21:22:46 -04:00
Danny Yoo
bd169aea92 changing signatures of makeBytes and makeVector, because arguments can only be of a certain length 2011-09-12 11:02:11 -04:00
Danny Yoo
ac2aaf2a08 updating jquery to 1.6.3. Thanks to Jens for letting me know about an ugly IE8 bug. 2011-09-10 14:54:51 -04:00
Danny Yoo
b2610e496e context expected becomes a superinstruction 2011-09-09 16:19:33 -04:00
Danny Yoo
6d3a945478 renaming callsBeforeTrampoline to cbt 2011-09-09 16:01:00 -04:00
Danny Yoo
420df4165c continuing to shrink code 2011-09-09 15:08:39 -04:00
Danny Yoo
ad83451030 trying to eliminate primitives again and see how it affects code size 2011-09-09 13:46:29 -04:00
Danny Yoo
b68eca9735 replacing for loops with push.apply where appropriate 2011-09-09 13:38:41 -04:00
Danny Yoo
6bc6a0aad9 contining to do things to shrink code space 2011-09-09 12:55:01 -04:00
Danny Yoo
2316307901 removing incorrect call 2011-09-07 19:53:49 -04:00
Danny Yoo
9161ebc6b7 jslinting 2011-09-07 19:53:03 -04:00
Danny Yoo
14da75b164 reworking the logic to remove a test 2011-09-07 19:51:06 -04:00
Danny Yoo
5bb2373305 fixed isList so it checks for cycles 2011-09-07 19:32:42 -04:00
Danny Yoo
cc4bcb341e actions are a list, to reduce garbage 2011-09-07 15:35:12 -04:00
Danny Yoo
59b8a104c2 changing the comparision here to pointer equality 2011-09-07 15:27:01 -04:00
Danny Yoo
468722ee28 continuing to do some constant folding 2011-09-06 15:54:44 -04:00
Danny Yoo
8f94a19897 continuing to try to clean up the generated code. 2011-09-06 15:18:56 -04:00
Danny Yoo
f39b192fee test cases appear to be running again 2011-09-06 14:33:22 -04:00
Danny Yoo
55ca576a43 test cases seem to be running again 2011-09-06 13:58:21 -04:00
Danny Yoo
79e92ccd0c stack trace includes callees as well 2011-09-05 13:07:45 -04:00
Danny Yoo
a3a1368ea4 arity errors should show the procedure name now. 2011-09-05 12:25:25 -04:00
Danny Yoo
c4af3b540d adding one more place where the continuationMark capture was missing 2011-09-03 17:19:31 -04:00
Danny Yoo
0de018cabd correcting stack trace error message during paused calls 2011-09-03 17:15:30 -04:00
Danny Yoo
5de0164064 correcting cyclical printing 2011-09-02 15:49:37 -04:00
Danny Yoo
0afde50a9a correcting bug in raiseArityError 2011-09-01 12:06:11 -04:00
Danny Yoo
d2a0a17056 positive and negative predicates 2011-09-01 11:42:48 -04:00
Danny Yoo
f9b37470f8 adding test case for check-expect 2011-08-31 18:39:16 -04:00
Danny Yoo
cb94b0ee7e adding check-expect 2011-08-31 18:26:06 -04:00
Danny Yoo
5a9b1a1eea adding chars 2011-08-31 18:08:04 -04:00
Danny Yoo
e5e264f0b8 making srclocs a kernel structure 2011-08-31 17:53:02 -04:00
Danny Yoo
eacc559bf1 adjusting documentation for the view predicates 2011-08-31 17:52:47 -04:00
Danny Yoo
bd5f0ba6f8 tests for andmap ormap running 2011-08-31 16:11:15 -04:00
Danny Yoo
aeb0c14fab jslinting 2011-08-31 15:16:33 -04:00
Danny Yoo
df065ed67f adding more primitives 2011-08-31 15:12:52 -04:00
Danny Yoo
9a7811f9f1 adding more of the primitives we need for cs19 2011-08-31 15:04:40 -04:00
Danny Yoo
315f222fbe adding preliminary sharing to the library 2011-08-30 16:54:57 -04:00
Danny Yoo
20204f0565 trying to trace why the sharing module is doing the wrong thing. 2011-08-30 16:07:14 -04:00
Danny Yoo
36e3fb39cf trying to fix stack tracing 2011-08-30 12:53:07 -04:00
Danny Yoo
2d87115d2d continuing to capture marks 2011-08-30 12:20:24 -04:00
Danny Yoo
8d9bddf129 the exceptions are doing the continuation capture on raise 2011-08-30 12:05:41 -04:00
Danny Yoo
579911f41f making exceptions be of the right type so I can inject the continuation mark set 2011-08-30 11:58:54 -04:00
Danny Yoo
bec99ec7b9 need a few more hours to get exceptions in place. 2011-08-30 02:31:13 -04:00
Danny Yoo
302d046165 fixing the base (untraced) language 2011-08-30 02:10:03 -04:00
Danny Yoo
84c7d457cb ripping out with-output-to; unused 2011-08-29 16:42:08 -04:00
Danny Yoo
726bee2974 example with redirected current output 2011-08-29 16:28:53 -04:00
Danny Yoo
9fe0b343c7 structure references check their arguments now. 2011-08-29 12:30:06 -04:00
Danny Yoo
f488db734b improving printout of functions 2011-08-24 14:31:49 -04:00
Danny Yoo
7fae38d2e3 fixing bytes 2011-08-22 16:19:03 -04:00
Danny Yoo
30ea1aab1f adding gensym and a few of the paramz bindings. Prepping traced-app for good stack traces. 2011-08-22 14:41:04 -04:00
Danny Yoo
304a951490 adding in the list library as part of the base language. Output .xhtml has ballooned a bit. 2011-08-19 17:27:24 -04:00
Danny Yoo
fb435b9ce7 fixing image library regression 2011-08-19 16:03:42 -04:00