Commit Graph

152 Commits

Author SHA1 Message Date
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
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
6bc6a0aad9 contining to do things to shrink code space 2011-09-09 12:55:01 -04:00
Danny Yoo
59b8a104c2 changing the comparision here to pointer equality 2011-09-07 15:27:01 -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
36e3fb39cf trying to fix stack tracing 2011-08-30 12:53:07 -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
16eab25f16 quick and dirty implementations of some string functions 2011-08-16 18:21:06 -04:00
Danny Yoo
ef0911ca61 got the system to recognize resources; now to write them. 2011-08-12 16:26:15 -04:00
Danny Yoo
3dfaeded1b image snips are now doing the right thing. Hurrah. 2011-08-09 14:46:31 -04:00
Danny Yoo
0ff8fd1a61 traced that the external module invokation was introducting one more call-back into the success continuation of the trampoline. Ugh. 2011-08-08 13:59:38 -04:00
Danny Yoo
729742048a trying to reduce as much global variable lookup as possible 2011-08-08 01:04:00 -04:00
Danny Yoo
3b427f06c3 turning on 'use strict' 2011-08-07 20:41:36 -04:00
Danny Yoo
1026dff4cb moving primitives to separate module, moved some functions as methods of the machine 2011-08-07 20:26:11 -04:00
Danny Yoo
c0d816e117 fixing some bugs from the merge 2011-08-03 16:25:27 -04:00
Danny Yoo
6a13b4401e Merge branch 'racketcon'
Conflicts:

	js-assembler/runtime-src/baselib-functions.js
	racketcon/Makefile
	racketcon/talk.rkt
2011-08-03 16:11:56 -04:00
Danny Yoo
010ddf6288 renaming arity to racketArity 2011-08-03 16:09:09 -04:00
Danny Yoo
f23c9773c0 trying to export out an unsafe set of primitives 2011-07-28 18:01:40 -04:00
Danny Yoo
7e3baee864 added missing definition for list* 2011-07-28 17:17:01 -04:00
Danny Yoo
a3c9b7c732 working on apply 2011-07-28 14:46:32 -04:00
Danny Yoo
50dbc2319a trying to add enough to allow the internal implementation of lists to run 2011-07-28 14:06:03 -04:00
Danny Yoo
ab55c29540 working a little on the documentation 2011-07-28 13:29:24 -04:00
Danny Yoo
88d6626451 crazy idea to do the presentation as a world program 2011-07-22 23:53:16 -04:00
Danny Yoo
26cd925d37 unholy. Brainf*ck in Whalesong 2011-07-21 18:25:55 -04:00
Danny Yoo
041681c5d0 pacman 2011-07-21 16:54:15 -04:00
Danny Yoo
173d67f5d6 key handler is starting to work 2011-07-21 15:41:24 -04:00
Danny Yoo
94c24f0841 continuing to debug the image world program 2011-07-20 14:16:10 -04:00
Danny Yoo
cfd65fc782 continuing to debug falling rain world program 2011-07-20 14:06:52 -04:00
Danny Yoo
615319f9ac in the middle of getting the rain program running 2011-07-20 13:52:05 -04:00
Danny Yoo
6b498d1e7a adding stop-when 2011-07-18 14:15:39 -04:00
Danny Yoo
66327c28ee reducing maximum cap 2011-07-18 13:38:45 -04:00
Danny Yoo
5ca2e93565 somewhat unsatisfied; I still don't like some of the complexity of calling functions from js. 2011-07-14 17:12:17 -04:00
Danny Yoo
a88484ed71 trying to code internalCall for big-bang 2011-07-14 16:42:49 -04:00
Danny Yoo
619abb1fca moving javascript-specific functions off to the js module 2011-07-14 15:33:04 -04:00
Danny Yoo
06aaf51cb8 switched over symbols to Symbol class 2011-07-14 15:12:19 -04:00
Danny Yoo
6d70e2f5f0 functions to procedures; also working on image 2011-07-12 15:13:56 -04:00
Danny Yoo
c13d181361 coersing example is working finally 2011-07-11 19:23:01 -04:00
Danny Yoo
b9e7ae57e6 chasing initialization bug 2011-07-11 18:48:33 -04:00
Danny Yoo
ca7c8eb9a3 Chased issue where we lose the trampoline down to incorrect use of setTimeout. Yikes. 2011-07-11 15:48:58 -04:00
Danny Yoo
34c9d7954b debugging pause 2011-07-11 14:59:43 -04:00
Danny Yoo
3e18676fea fixing small omissions to make the test suite run again 2011-07-10 20:51:32 -04:00
Danny Yoo
1a7e66d3fe in the middle of fixing the type checks on primitives' 2011-07-10 20:21:03 -04:00
Danny Yoo
dbdde36997 cleanup 2011-07-10 19:17:13 -04:00
Danny Yoo
3f5c2b459f fixing the runtime library 2011-07-10 18:36:42 -04:00
Danny Yoo
9afc4accdc checkargumentype 2011-07-10 15:58:42 -04:00
Danny Yoo
2eb571ef24 getting minimal set of values we need from the image library to run our image exercise 2011-07-08 17:27:19 -04:00
Danny Yoo
59835d9187 moving the exception-raising functions into plt.baselib.exceptions 2011-07-08 16:33:42 -04:00
Danny Yoo
91c2460a23 in the middle of fixing require for js-implemented modules 2011-07-08 13:20:29 -04:00
Danny Yoo
a080f6079c removing dependency on types 2011-07-06 17:00:42 -04:00
Danny Yoo
cb99151753 reducing dependence on single types.js module 2011-07-06 16:49:28 -04:00
Danny Yoo
e20f984e26 moving some type definitions out of runtime, like frame 2011-07-05 18:01:55 -04:00
Danny Yoo
5149c99a12 continuing to refactor. 2011-07-05 17:49:31 -04:00
Danny Yoo
1bb1b70192 removing helpers.js 2011-07-05 16:48:15 -04:00
Danny Yoo
d64431bd64 moving string formatting to separate module 2011-07-04 18:03:10 -04:00
Danny Yoo
570ad83371 structures finally look like they might be doing something 2011-07-03 21:10:01 -04:00
Danny Yoo
48c8d067ce hacking in structs 2011-07-03 20:54:26 -04:00
Danny Yoo
35054f8b18 rapidly scribbling documentation 2011-07-03 20:16:06 -04:00
Danny Yoo
3693506796 getting a better handle of the structure definition 2011-07-03 19:45:28 -04:00
Danny Yoo
b597932d4c continuing to move and disable 2011-07-03 19:12:37 -04:00
Danny Yoo
d6e0e79c79 still trying to understand the struct implementation 2011-07-03 15:50:12 -04:00
Danny Yoo
93900d90c6 working on get-struct-type 2011-07-01 14:53:34 -04:00
Danny Yoo
7117320b1b continuing to work on structures 2011-06-30 18:00:11 -04:00
Danny Yoo
4d5cbef31c trying to make structs work 2011-06-30 15:12:25 -04:00
Danny Yoo
0ea0b05206 continuing to add 2011-06-27 16:32:58 -04:00
Danny Yoo
48f8acf121 exposing the functions in kernel 2011-06-27 15:06:36 -04:00
Danny Yoo
fa49306546 adding test cases to at least exercise the bindings I'm adding in; need more comprehensive tests soon 2011-06-27 13:39:32 -04:00
Danny Yoo
e821960e80 added several more of the arithmetic-related primitives 2011-06-27 13:26:49 -04:00
Danny Yoo
ce5c6a3d87 integrating more primitives 2011-06-27 12:33:35 -04:00
Danny Yoo
5e0a237454 integrating more primitives 2011-06-27 12:29:27 -04:00
Danny Yoo
cacf38d5f8 working on javascript injection 2011-06-23 13:45:59 -04:00
Danny Yoo
a90cebd373 changing function names in the runtime, documenting. 2011-06-17 18:36:41 -04:00
Danny Yoo
280868efa6 continuing to add documentation and absorb types. 2011-06-17 18:22:18 -04:00
Danny Yoo
da95994360 working to adapt the primitives 2011-06-15 17:54:39 -04:00
Danny Yoo
dbfe7c3d2c starting to get the javascript-implemented module stuff working 2011-06-09 16:13:21 -04:00
Danny Yoo
47f668832e trying to get at the namespace of a javscript-implemented module. 2011-06-09 13:42:32 -04:00
Danny Yoo
51490ec16b fixing bug with current-print and newlines 2011-06-09 12:15:31 -04:00
Danny Yoo
8aefb25cb7 still fixing 2011-06-08 14:42:52 -04:00
Danny Yoo
710fae7eab fixing bug in printing errors 2011-06-08 14:05:02 -04:00
Danny Yoo
25a33e54ce experiment: viewport width and viewport height are accessible. 2011-06-08 13:23:43 -04:00
Danny Yoo
79a2dedd2d getting more of the real types in 2011-06-07 17:53:52 -04:00
Danny Yoo
9050882d4d trying to integrate with moby's vectors 2011-06-07 16:48:56 -04:00
Danny Yoo
0aaf587341 integrating the toDomNode stuff in. 2011-06-07 14:57:11 -04:00
Danny Yoo
7ddbd48ba4 adjusting the stack limit code to be nicer to firefox 3. Also added missing trampoline check in current-print. 2011-06-06 15:17:32 -04:00