Commit Graph

286 Commits

Author SHA1 Message Date
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
8f7400b602 exposing procedure-rename, bitmap/url 2011-08-09 16:07:43 -04:00
Danny Yoo
3dfaeded1b image snips are now doing the right thing. Hurrah. 2011-08-09 14:46:31 -04:00
Danny Yoo
1da48b34af korean 2011-08-09 09:56:41 -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
deb6c235ce trying to eliminate stupid blocks 2011-08-08 12:20:03 -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
5c5ef8b518 more jslinting 2011-08-08 00:28:35 -04:00
Danny Yoo
97e1ed7e38 more jslinting 2011-08-08 00:16:36 -04:00
Danny Yoo
e9b36e1bdd more jslinting 2011-08-08 00:07:07 -04:00
Danny Yoo
e147f3d6bb jslinted functions 2011-08-07 23:55:56 -04:00
Danny Yoo
2be2c72754 more jslinting 2011-08-07 23:46:20 -04:00
Danny Yoo
40c8d6b0aa more jslinting 2011-08-07 23:37:12 -04:00
Danny Yoo
97b303a002 more jslinting 2011-08-07 23:24:42 -04:00
Danny Yoo
17416375b4 jslinted placeholders and ports 2011-08-07 22:37:26 -04:00
Danny Yoo
bcf43dd68d readergraph and primitives jslintified 2011-08-07 22:31:50 -04:00
Danny Yoo
d23d17a0a0 jslinted the readergraph library 2011-08-07 22:08:18 -04:00
Danny Yoo
a3a74e7bba jslinted the string library 2011-08-07 22:01:35 -04:00
Danny Yoo
b9a0801f33 fixing regression I introduced when jslinting symbol 2011-08-07 21:56:12 -04:00
Danny Yoo
d6cf8236e2 jslint on structs 2011-08-07 21:53:02 -04:00
Danny Yoo
7d89299827 jslint on symbols 2011-08-07 21:52:54 -04:00
Danny Yoo
91614be505 jslint on vectors 2011-08-07 21:52:43 -04:00
Danny Yoo
5971577d39 starting to run through jslint 2011-08-07 21:13:48 -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
5122f44885 collapsing a few lines 2011-08-07 18:24:16 -04:00
Danny Yoo
925b4c4ff0 trying to reduce some runtime costs 2011-08-05 17:35:27 -04:00
Danny Yoo
b5c138f2eb using profiler to drive some optimizations 2011-08-05 17:16:32 -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
46ffe7d142 tests for arity on javascript-exposed Racket functions 2011-07-27 15:53:50 -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
bd4b7e5e9b fixing bug with not deeply triggering the afterAttach event 2011-07-22 02:17:33 -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
12ab2a5738 continuing to debug falling rain world program 2011-07-20 14:08:41 -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
061ea53805 Changing the coersion example so it can show difference between computing the value and printing it out. 2011-07-18 10:53:23 -04:00
Danny Yoo
752bc5350e on-tick appears to be doing something useful 2011-07-18 10:28:39 -04:00
Danny Yoo
5ff41c40f3 fixing deviation in test case 2011-07-14 18:55:57 -04:00
Danny Yoo
03165a4191 installing on-tick 2011-07-14 18:26:56 -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
7878b2ae85 trying to save the private exports 2011-07-13 16:08:30 -04:00
Danny Yoo
1deed94e04 continuing to work on the image example 2011-07-13 15:13:02 -04:00
Danny Yoo
f4ace3d6e0 correcting typos 2011-07-13 14:47:24 -04:00
Danny Yoo
7c8e24133d continuing to absorb image implementation 2011-07-13 14:45:10 -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
bf2213d2b4 coding up coerseToJs 2011-07-11 17:09:05 -04:00
Danny Yoo
f4c426f41a images look like they're working 2011-07-11 15:59:42 -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
a4944ecc9c moving run-more-tests up one directory 2011-07-06 21:28:11 -04:00
Danny Yoo
baf58fcbbe bug identified: structures need to use a span instead of a div 2011-07-06 20:56:51 -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
3267824b4a great renaming 2011-07-05 17:04:54 -04:00
Danny Yoo
1d1a6e9492 continuing to life out types 2011-07-05 17:01:01 -04:00
Danny Yoo
bc8546bae0 lifting out more types 2011-07-05 16:56:56 -04:00
Danny Yoo
1bb1b70192 removing helpers.js 2011-07-05 16:48:15 -04:00
Danny Yoo
7a0c6381db contining to factor out functionality 2011-07-04 19:12:42 -04:00
Danny Yoo
190b805b6c moving isString into plt.baselib.strings 2011-07-04 18:53:11 -04:00
Danny Yoo
e5312af2cd continuing to separate the library 2011-07-04 18:48:34 -04:00
Danny Yoo
79301d4b8b lifing out strings from types 2011-07-04 18:22:28 -04:00
Danny Yoo
b1be04269b trying to dissolve the circular link between types and helpers 2011-07-04 18:07:41 -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
8ccaf4ac54 moving the exception values into baselib_exceptions.js 2011-07-03 18:39:09 -04:00
Danny Yoo
fa1460ca43 continuing to rip out values types that aren't used in whalesong 2011-07-03 15:59:06 -04:00
Danny Yoo
d6e0e79c79 still trying to understand the struct implementation 2011-07-03 15:50:12 -04:00
Danny Yoo
72a002801b moving functions into separate modules because I'm frankly getting super-confused of where anything is. 2011-07-03 15:12:14 -04:00
Danny Yoo
af2b64b6b8 trying to rip out more things 2011-07-03 14:46:43 -04:00
Danny Yoo
702ced8ec9 ripping out procArityContains 2011-07-03 14:37:44 -04:00
Danny Yoo
93900d90c6 working on get-struct-type 2011-07-01 14:53:34 -04:00
Danny Yoo
03fd12cf41 updating to jquery 1.6.2, and adjusting the way we patch jquery so it works ok under multiple-require situations 2011-07-01 11:48:56 -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
11135be94d renaming primitives.js since they're not directly the primitives we'll use; I need to adapt them. 2011-06-10 12:42:40 -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
cfdcd215be simple tests for the floating point number writing. 2011-06-07 15:06:21 -04:00
Danny Yoo
0aaf587341 integrating the toDomNode stuff in. 2011-06-07 14:57:11 -04:00
Danny Yoo
8c74cc1c38 appears to have resolved the testing issue with Chrome. Multiple instances of JQuery can screw things up tremendously. 2011-06-06 17:46:49 -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
Danny Yoo
84f643cb3d trying to use the closure compiler to reduce the size of the runtime 2011-06-03 16:45:43 -04:00
Danny Yoo
c3d89605ff moving toWrittenString, toDisplayedString, and toDomNode up to helpers 2011-06-03 11:32:06 -04:00
Danny Yoo
58294db03d integrating jsnums 2011-06-02 16:23:17 -04:00
Danny Yoo
0add763beb the runtime includes the libraries from Moby, although they do not use them yet. 2011-06-02 14:30:42 -04:00
Danny Yoo
66cbe8eeb5 adding jquery into the runtime, since we almost certainly will need it. 2011-05-20 19:04:42 -04:00
Danny Yoo
6c50b88703 absorbing libraries from js-vm project 2011-05-14 02:10:14 -04:00