Commit Graph

243 Commits

Author SHA1 Message Date
Danny Yoo
7373649112 trying to reduce code bloat: in the jump, if we're already emitting a block, reuse it 2011-08-08 11:20:40 -04:00
Danny Yoo
f3afee28e9 correcting merge issues 2011-08-08 11:04:53 -04:00
Danny Yoo
0d92fe0961 Merge branch 'master' into inlining
Conflicts:

	compiler/compiler.rkt
	js-assembler/assemble.rkt
	tests/test-parse-bytecode.rkt
2011-08-08 11:00:01 -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
0d6af5f66a use strict 2011-08-07 20:51: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
5122f44885 collapsing a few lines 2011-08-07 18:24:16 -04:00
Danny Yoo
3eba4cda54 adding a little to the .xhtml packager so we can see how long evaluation takes 2011-08-05 17:57:11 -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
4c541b006c removing call to optimize-basic-blocks 2011-08-05 16:54:35 -04:00
Danny Yoo
4dbabb820f still debuggin 2011-08-05 16:50:14 -04:00
Danny Yoo
f0c65d761c getting into loops; this might not be a good sign... 2011-08-05 15:49:18 -04:00
Danny Yoo
63cfe79d76 changed TestAndJump to emit else statements 2011-08-05 15:32:18 -04:00
Danny Yoo
31d4be5b3f about to translate branches into real if statements 2011-08-05 15:20:14 -04:00
Danny Yoo
2d62faf794 trying to hold onto the list of entry points so we can more intelligently emit the blocks 2011-08-05 15:02: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
b7ebab1428 experiment 2011-07-30 21:09:07 -04:00
Danny Yoo
11f461886a turning off block inlining and the list library for the moment; need to analyze il and generate cleaner code 2011-07-30 18:41:15 -04:00
Danny Yoo
a8af8dc9b6 working on block optimization 2011-07-30 18:28:32 -04:00
Danny Yoo
f23c9773c0 trying to export out an unsafe set of primitives 2011-07-28 18:01:40 -04:00
Danny Yoo
ba2544653b fixing up application 2011-07-28 17:28:14 -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
7b33558d6d adding viewport directive 2011-07-27 16:55:08 -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
3134de4d87 Renaming TestAndBranch to TestAndJump, since I want to have a dedicated branch statement that reuses JavaScript's native if 2011-07-16 17:59:15 -04:00
Danny Yoo
dc14753a73 trivial optimziation 2011-07-16 14:28:29 -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
ed5894b92c optimization pass 2011-07-13 17:52:50 -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
70187d3b26 Merge commit 'origin/master' 2011-07-12 15:27:23 -04:00
Danny Yoo
6d70e2f5f0 functions to procedures; also working on image 2011-07-12 15:13:56 -04:00
Danny Yoo
c030b53333 adjusting the builder so that compression will work as an option 2011-07-11 22:40:16 -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
1e5690e0d5 restoring the image library 2011-07-08 13:58:07 -04:00
Danny Yoo
4aabe044fc fixed 2011-07-08 13:24:23 -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
e0429d565a fixing a few type errors 2011-07-07 19:03:46 -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
e2869e744e trying to trace why there's a second newline after color display 2011-07-06 20:55:22 -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