Commit Graph

38 Commits

Author SHA1 Message Date
Danny Yoo
f0829cdc57 switching out the baby parser in the bootstrapped primitives with the real one. Also removing implicit begin in the example 2011-08-31 14:05:13 -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
a29188582f jslinting before going forward 2011-08-23 13:21:55 -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
40644854ce adding name to kernel primitives to avoid error 2011-08-22 13:19:52 -04:00
Danny Yoo
24ad16ac9c adding static check to make sure I didn't screw up the type subset definition 2011-08-19 19:17:33 -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
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
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
193c526e04 removing more superfluous labels 2011-08-07 17:56:38 -04:00
Danny Yoo
3c06d9a38d trying to rearrange code to be cleaner 2011-08-07 17:44:54 -04:00
Danny Yoo
ea7b298314 re-indentation 2011-08-07 17:32:23 -04:00
Danny Yoo
0757040ec2 continuing to remove explicit calls to make-instruction-sequence 2011-08-07 17:24:53 -04:00
Danny Yoo
356901cf7e trying to reduce number of explicit make-instruction-sequence calls 2011-08-07 17:16:08 -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
665c3e1897 fixing the logs so we don't run into format errors 2011-08-01 11:46:40 -04:00
Danny Yoo
b573d0b762 toplevelref remembers if it's a constant or not 2011-07-30 20:12:11 -04:00
Danny Yoo
875f270aa6 squashing labels 2011-07-30 19:55:52 -04:00
Danny Yoo
72392a7a4c in the middle of squashing labels 2011-07-30 19:24:32 -04:00
Danny Yoo
3add8633e3 modifying data structures a little: I want to distinguish straight-line statements from branches.
modifying data structures a little: I want to distinguish straight-line statements from branches.
2011-07-27 17:35:01 -04:00
Danny Yoo
e445c61ed2 toplevel refs remember if they need to be checked 2011-07-22 11:06:25 -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
d29410b738 not quite done yet 2011-07-13 18:08:30 -04:00
Danny Yoo
ed5894b92c optimization pass 2011-07-13 17:52:50 -04:00
Danny Yoo
9b3951adb6 trying to fix let-void 2011-07-01 11:17:36 -04:00
Danny Yoo
0a4b6da39e trying to fix the code with let-void 2011-07-01 10:00:18 -04:00
Danny Yoo
49a7be479d may have tracked a very ugly bug with multiple-values again... 2011-06-30 19:07:58 -04:00
Danny Yoo
7117320b1b continuing to work on structures 2011-06-30 18:00:11 -04:00
Danny Yoo
dbfe7c3d2c starting to get the javascript-implemented module stuff working 2011-06-09 16:13:21 -04:00
Danny Yoo
710fae7eab fixing bug in printing errors 2011-06-08 14:05:02 -04:00
Danny Yoo
6bdab5a83a trying to clean up requires in prepwork 2011-06-01 11:43:36 -04:00
Danny Yoo
e6ebaa1d3d re-enabling some optimizations 2011-05-31 15:18:22 -04:00
Danny Yoo
5a04541fe3 Working on making it easy to run whalesong from the shell.
whalesong.rkt now provides two additional commands:

    get-runtime: prints the runtime into standard output

    get-javascript: compiles the given program and writes to standard output
2011-05-30 17:20:31 -04:00
Danny Yoo
ad04fd4425 Systematizing exception throwing so they all go through plt.runtime.raiseX 2011-05-30 17:20:05 -04:00
Danny Yoo
702337f6f9 trying to trace issue with arity matching 2011-05-27 11:08:33 -04:00
Danny Yoo
667318e895 Moved compiler-related stuff to compiler subdirectory 2011-05-26 19:46:49 -04:00