JsLex makes JavaScript more edible by xgettext (in C mode).
Project description
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.
This makes it more palatable by xgettext in C mode.
This is a release to PyPI created by Martijn Faassen to make it usable outside of Django as well.
To run the tests, run “python tests.py”.
CHANGES
0.2.1 (2012-01-13)
Added a MANIFEST.in, as otherwise CHANGES.txt isn’t picked up.
0.2 (2012-01-13)
Added a jslex_prepare script (using setuptools entry points) that can be used to run this code from the command line.
0.1 (2012-01-13)
make it work with setuptools and zest.releaser.
Initial release to PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jslex-0.2.1.tar.gz
.
File metadata
- Download URL: jslex-0.2.1.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12f1e327420b8d227729d68e0e98018fef9ddbb2144a5792511da7e8a449d5c |
|
MD5 | f7d6a47e0be71d2fd81f26d171c0d5ab |
|
BLAKE2b-256 | 3af73c7c8b48083e866805051aed457a1d876eddaf995de693a371c8f453f56a |