Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (37 sloc) 1.31 KB
* dom
- fill in more of API (HTML5 stuff)
- more examples
* lwt
- examples
* jslib
- fill in more of parser
- bug with locations
- check pattern quotations
- redo pretty-printing
- examples
* javascript
- go through JS spec and wrap all the standard objects
* jscomp
- cleanup
- cleaner heap rep (arrays, tag in last elem)
- can we do better interoperating with exceptions? would be nice to be
able to declare, catch, and match exceptions from JS libs.
- better checking in inline Javascript? easy to refer to unbound
vars. but sometimes useful or necessary.
- can we avoid wrapping a function around for-loops when there are no
closures in the body? any other places to avoid extra wrapping?
* stdlib
- implement String.concat natively
- other things to implement natively?
- steal heavily from js_of_ocaml
* all
- docs, wiki
* bad ideas:
- can we identify options to generate js val or null instead of
boxing? need to be careful about "if (val)" tests, where val could
be unboxed Javascript false value (0, "", etc.); must special case
tests to "if (val != null)". turns out no. we can do the above (see
null-options branch) but it breaks for nested options, since we
can't distinguish e.g. None and Some None. a scheme to use
different reps for different types must work with polymorphic
functions.