Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (16 sloc) 0.774 kb
Things to do
1. Work in unicode support.
Use the utf8 branch of the following project
http://www.mail-archive.com/haskell-cafe@haskell.org/msg62848.html
https://github.com/jyp/Alex
2. Separate out the different versions of JavaScript.
Necessary? Depends what this tool is used for. Current assumption is
that it is fed well-formed JS, and generates an AST for further
manipulation.
3. Simplify the AST. JSElement at the very least is redundant.
4. Clarify the external interfaces required.
5. Process comments. Some kinds of hooks exist, but they are essentially discarded.
6. Work in the future reserved words, ECMAScript edition 3, 7.5.3
7. Make BOM parse as whitespace, as required by edition 5.
8. String literals for ed 5 - continuation chars etc.
EOF
Jump to Line
Something went wrong with that request. Please try again.