Source

jslex / jslex.py

Author Commit Message Labels Comments Date
Ned Batchelder
Fix a docstring
Ned Batchelder
C can't handle Unicode escapes in identifiers, scrub them.
Ned Batchelder
C can't do single-quoted strings, so we have to convert them to double-quoted.
Ned Batchelder
Add a bitbucket link
Ned Batchelder
Add a test case for utf-8 string contents.
Ned Batchelder
Split the main program into its own file.
Ned Batchelder
Keywords have to match entire words.
Ned Batchelder
OMG i can't believe this was the problem with the regex regex.
Ned Batchelder
Can now be run as a main program.
Ned Batchelder
Accept octal integer literals.
Ned Batchelder
A few simple tweaks.
Ned Batchelder
Add a module docstring, such as it is.
Ned Batchelder
A good weekend's work.