Danny Yoo
cd7b8904f5
lifting up closure constants
2012-03-02 00:58:29 -05:00
Danny Yoo
0ad456d380
singleton pause object to reduce allocation
2012-03-01 23:18:05 -05:00
Danny Yoo
b788e1bb57
renaming variables for clarity
2012-03-01 21:52:27 -05:00
Danny Yoo
1cd5e9b7cc
expanding the set of simple expressions to include primitive references
2012-03-01 17:40:24 -05:00
Danny Yoo
c54583dde4
reducing juggling by a little more
2012-03-01 17:22:18 -05:00
Danny Yoo
05b1d9de86
symbol table to reduce allocation of symbols
2012-02-29 15:30:48 -05:00
Danny Yoo
926ef2fb90
removing level of indirection
2012-02-29 14:42:12 -05:00
Danny Yoo
aed845f3f5
eliminating unnecessary argcount assignment when primitives are used
2012-02-29 14:20:14 -05:00
Danny Yoo
2ade0f2db6
trying to reduce cost of primitive application
2012-02-29 14:04:17 -05:00
Danny Yoo
8c3cf9c5f2
trying to reduce cost of primitive application
2012-02-29 13:55:04 -05:00
Danny Yoo
e9d3c207f7
fixing indentation, enabling comments in emitted source
2012-02-29 12:37:09 -05:00
Danny Yoo
fc521f6f7b
still trying to optimizing module variable lookup
2012-02-28 23:33:03 -05:00
Danny Yoo
d3ab24d6c8
adding while loops if we can trivially detect them.
2012-02-28 20:08:20 -05:00
Danny Yoo
e62b7e9977
Statically determining more jumps, so we should be able to do while loops.
2012-02-28 19:55:15 -05:00
Danny Yoo
32ff42bebe
adding a simple looping example
2012-02-28 19:23:46 -05:00
Danny Yoo
1e152258f7
adding print-il target to make it easier for me to debug and see how things are being translated
2012-02-28 18:58:14 -05:00
Danny Yoo
83f6db4211
back-porting the corrections I needed to make to take advantage of load-script, as well as correctly sending string rather than naked id to the call to the Raphael JS library
2012-02-28 18:26:21 -05:00
Danny Yoo
2abca33a81
updating raphael-demo with new version from Jens
2012-02-28 18:24:58 -05:00
Danny Yoo
f7917d378c
fixing compilation on 5.1.3
2012-02-28 15:26:40 -05:00
Danny Yoo
862fa431fe
correcting example so it works under firefox too
2012-02-28 00:29:44 -05:00
Danny Yoo
7dc42c34c6
correcting the typechecks on the fast-path math
2012-02-27 23:10:40 -05:00
Danny Yoo
8df8168d1c
making the construction of the mockview lazy
2012-02-27 23:02:36 -05:00
Danny Yoo
a933a419dd
just in case
2012-02-27 21:45:47 -05:00
Danny Yoo
d41aa187e3
adding load-script to the FFI; modified examples/raphael-demo.rkt so that it loads the raphael library dynamically
2012-02-27 21:39:32 -05:00
Danny Yoo
7b2618bf14
Merge pull request #89 from soegaard/js-eval
...
Add js-eval for evaluating Javascript from Whalesong
2012-02-27 16:20:25 -08:00
Danny Yoo
ca444e49ee
some cleanup
2012-02-27 18:46:41 -05:00
Danny Yoo
9aa1ac12d8
toplevel lookup should be cheaper
2012-02-27 18:34:44 -05:00
Danny Yoo
8dae95902c
fixed some typos
2012-02-27 18:31:13 -05:00
Danny Yoo
95e8a08079
still debugging
2012-02-27 18:21:43 -05:00
Danny Yoo
1d6d1d481a
debuggin
2012-02-27 18:09:19 -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
Jens Axel Søgaard
9bce797f13
Added command line for compiling the example.
2012-02-27 23:23:59 +01:00
Jens Axel Søgaard
2def5b99a8
Adds js-eval for evaluting JavaScript from Whalesong.
2012-02-27 23:11:36 +01:00
Danny Yoo
c7a5bf9658
refactoring modprovide
2012-02-27 16:26:22 -05:00
Danny Yoo
73f62ef36c
trying to reduce cost of namespace.get
2012-02-27 14:45:01 -05:00
Danny Yoo
40b616e9ea
minor: optimizing the splice a little more for code generation
2012-02-27 14:39:40 -05:00
Danny Yoo
b1a09f3e9d
fixing application of statically known lambda so they don't need to juggle
2012-02-27 14:27:29 -05:00
Danny Yoo
afaae1dd13
Merge commit 'origin/master'
2012-02-27 13:59:00 -05:00
Danny Yoo
a4c94fe8d6
Merge pull request #88 from soegaard/script-header
...
Adding the flag --include-script to build.
2012-02-27 10:58:31 -08:00
Jens Axel Søgaard
2d7baca4c5
Adding the flag --include-script to build. Used to textual include Javascript files in the header.
2012-02-27 19:26:13 +01: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
e253084850
modifying test Make target so it does a build too
2012-02-27 12:50:27 -05:00
Danny Yoo
ca2e773d36
fix for issue 86: pruning dead test targets away for now
2012-02-27 12:40:07 -05:00
Danny Yoo
a19c7c1808
fix for issue 86: pruning dead test targets away for now
2012-02-27 12:39:36 -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
8851726a92
copmile-toplevel-ref and compile-toplevel-set know enough to see if we're mutating a module variable or not.
2012-02-26 19:16:34 -05:00
Danny Yoo
fe10bcb18c
adding test files for tracing the module scoping bug
2012-02-26 19:03:26 -05:00
Danny Yoo
b0af169275
trying to let whalesong work without gui libraries. Also trying to trace the module variable bug
2012-02-26 18:59:42 -05:00
Danny Yoo
8aa50dacc7
keep the numBouncesBeforeYield as an integer
2012-02-22 01:25:57 -05:00