Skip to main content

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.1 (2012-01-13)

  • make it work with setuptools and zest.releaser.

  • Initial release to PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jslex-0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page