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.18.tar.gz (68.7 kB view hashes)

Uploaded Source

Built Distribution

bashlex-0.18-py2.py3-none-any.whl (69.5 kB view hashes)

Uploaded Python 2 Python 3

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