Source

jslex /

Filename Size Date modified Message
25 B
Ignore the usual stuff
269 B
Add README.txt
450 B
Split the main program into its own file.
7.8 KB
Remove semicolons (!) and trailing space.
9.8 KB
C can't handle Unicode escapes in identifiers, scrub them.
784 B
A utility to create Unicode ranges for classes of characters needed for full Javascript lexing. Not used yet.
JsLex: A Javascript lexer in Python
Ned Batchelder, http://nedbatchelder.com

JsLex is part of an effort to improve Django's support of localized strings in
Javascript code.  It splits Javascript source into a list of tokens.

To run the tests, run "python tests.py".