Skip to main content

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.

Source Distribution

bashlex-0.16.tar.gz (70.8 kB view hashes)

Uploaded source

Built Distribution

bashlex-0.16-py2.py3-none-any.whl (71.5 kB view hashes)

Uploaded py2 py3

Supported by

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