Danny Yoo
cd7b8904f5
lifting up closure constants
2012-03-02 00:58:29 -05:00
Danny Yoo
fc521f6f7b
still trying to optimizing module variable lookup
2012-02-28 23:33:03 -05:00
Danny Yoo
8d9c1100f7
about to change toplevel reference and setting again
2012-02-27 17:53:35 -05:00
Danny Yoo
5654cf7432
trying to normalize namespaces between js-implemented and Whalesong-implemented
2012-02-27 17:39:15 -05:00
Danny Yoo
cb745f18b7
micro-optimization: replaced undefined with void(0), and tried to keep environment array dense by using explicit stack push instead of assigning to the length argument
2012-02-27 13:25:41 -05:00
Danny Yoo
3ed2d19eab
adding expectations for what happens for module-scoping test.
...
fixing up the namespace stuff so it goes through getters and setters
trying to add the necessary to the il, but running into typed racket issues
corrected compilation of toplevelref so it works more correctly on module
variables.
2012-02-26 22:59:37 -05:00
Danny Yoo
d0bc25c83a
avoiding apply
2012-02-17 14:57:23 -05:00
Danny Yoo
dd01373ae5
correcting bug reported by Michael Murphy and Hoon Ik Chang: CheckToplevelUnbound
2011-11-22 02:13:02 -05:00
Danny Yoo
38a0a8544b
in the middle of re-enabling primitive application. I need to now statically determine whether an application is primitive or not.
2011-11-02 13:22:51 -04:00
Danny Yoo
f2c3dc3fe1
threading state about all the basic blocks throughout assembly, so we can do some tricks.
2011-09-16 16:09:46 -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
cb592460f0
removing spaces
2011-09-14 23:02:50 -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
13bdc38418
fixing the detection of function header names
2011-09-09 15:38:13 -04:00
Danny Yoo
420df4165c
continuing to shrink code
2011-09-09 15:08:39 -04:00
Danny Yoo
0de37fae86
continuing to shrink code down. Eliminating the use of simulator in test suite; I don't think we'll need the simulator any more.
2011-09-09 14:19:56 -04:00
Danny Yoo
b68eca9735
replacing for loops with push.apply where appropriate
2011-09-09 13:38:41 -04:00
Danny Yoo
9f978f5592
reducing code size by renaming MACHINE to M, RUNTIME to RT
2011-09-08 17:18:15 -04:00
Danny Yoo
11799d3a9c
renaming RUNTIME references to RT to see if that shortens code.
2011-09-08 17:10:16 -04:00
Danny Yoo
6774f2ae2b
contining to do some minor inlining, whitespace removal
2011-09-06 16:04:51 -04:00
Danny Yoo
468722ee28
continuing to do some constant folding
2011-09-06 15:54:44 -04:00
Danny Yoo
df20eb4ee5
working on reducing cost of assembly
2011-09-03 19:59:11 -04:00
Danny Yoo
302d046165
fixing the base (untraced) language
2011-08-30 02:10:03 -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
010ddf6288
renaming arity to racketArity
2011-08-03 16:09:09 -04:00
Danny Yoo
710fae7eab
fixing bug in printing errors
2011-06-08 14:05:02 -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
Danny Yoo
24e39ede45
modulevariables
2011-05-25 22:11:34 -04:00
Danny Yoo
608ffd2f34
whalesong command line builder starting to work
2011-05-25 15:01:03 -04:00
Danny Yoo
d9bb1dd631
trying to get the packager to build standalone xhtmls.
2011-05-24 16:12:16 -04:00
Danny Yoo
042f52f45c
Renamed ModuleName to ModuleLocator, since that's more accurate of a name.
2011-05-24 11:07:21 -04:00
Danny Yoo
3b61f88d27
in the middle of trying to compile racket/base and see how far I can get
2011-05-23 12:58:55 -04:00
Danny Yoo
9988201d06
modulerecords keep the path now.
2011-05-13 14:58:49 -04:00
Danny Yoo
75f37c661c
moved simulator and js-assembler into separate subdirectories
2011-05-13 14:09:59 -04:00