Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Python parser for bash

Project description

bashlex is a Python port of the parser used internally by GNU bash.

For the most part it’s transliterated from C, the major differences are:

  1. it does not execute anything
  2. it is reentrant
  3. it generates a complete AST

See https://github.com/idank/bashlex/blob/master/README.md for more info.

Project details


Download files

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

Files for bashlex, version 0.15
Filename, size File type Python version Upload date Hashes
Filename, size bashlex-0.15-py2.7.egg (104.2 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size bashlex-0.15.tar.gz (60.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page