Commit Graph

406 Commits

Author SHA1 Message Date
Danny Yoo
28dbb9a74a continuing to optimize 2011-09-03 20:05:22 -04:00
Danny Yoo
df20eb4ee5 working on reducing cost of assembly 2011-09-03 19:59:11 -04:00
Danny Yoo
27e3a444b1 reducing cost of fracture by using hashtable 2011-09-03 19:29:32 -04:00
Danny Yoo
086f6c283f tracing the time down to assembly 2011-09-03 18:54:20 -04:00
Danny Yoo
794b3a5cd7 still annotating and trying to figure out where the time is going 2011-09-03 17:38:53 -04:00
Danny Yoo
355d477b90 Merge branch 'master' into compile-speed 2011-09-03 17:24:12 -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
4b5e2b98e1 ripping out the xhtmlness out of the get-html-template 2011-09-03 15:29:30 -04:00
Danny Yoo
534bb2ad89 typos 2011-09-03 15:14:50 -04:00
Danny Yoo
e36dddf430 changing build to write html and js separately 2011-09-03 15:11:47 -04:00
Danny Yoo
5de0164064 correcting cyclical printing 2011-09-02 15:49:37 -04:00
Danny Yoo
eb2c71232c trying to trace where the time is going 2011-09-02 10:54:51 -04:00
Danny Yoo
97681d43ec tracing one place where we might be writing modules twice 2011-09-02 10:29:22 -04:00
Danny Yoo
bb08cf1140 adding comment to see what modules are being included 2011-09-02 10:24:20 -04:00
Danny Yoo
ff796e9ff0 separating the command line from its functions 2011-09-02 10:12:50 -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
5020563e34 window console 2011-08-30 14:53:37 -04:00
Danny Yoo
84d404af0c stack traces are starting to work 2011-08-30 13:04:40 -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
ce48679f73 doing the typechecking on consts up front, to avoid the weirdness in dealing with Any later on. 2011-08-30 01:42:18 -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
e0a55875fe need to reduce time to compile 2011-08-29 12:17:26 -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
f1ed02095c fixing compile-time error on using kernel primitives: turned into runtime errors as appropriate 2011-08-19 18:24:18 -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
Danny Yoo
9ef4e5ef45 adding some more primitives 2011-08-19 15:05:07 -04:00
Danny Yoo
47d2708f23 looking at error report 2011-08-19 14:55:19 -04:00
Danny Yoo
8ec8f3043c adding some tests 2011-08-19 14:41:33 -04:00
Danny Yoo
c0917801d7 adding number? 2011-08-17 16:53:13 -04:00
Danny Yoo
16eab25f16 quick and dirty implementations of some string functions 2011-08-16 18:21:06 -04:00
Danny Yoo
e6547a9aa2 kludge: copying the resource structure, because for some reason, something bad is happening with regards to dynamic-require-for-syntax. 2011-08-14 19:37:20 -04:00
Danny Yoo
d5c842c7fe temporarily turnning of resource-query: something broke badly 2011-08-14 19:29:46 -04:00
Danny Yoo
4e614d2f5f working on resource loading 2011-08-12 16:54:55 -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
8d54e85f14 correcting spelling mistake in test case 2011-08-08 11:34:49 -04:00
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
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
f813f22f20 oops, typo with path 2011-06-15 17:56:17 -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