Python parser for bash
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:
it does not execute anything
it is reentrant
it generates a complete AST
See https://github.com/idank/bashlex/blob/master/README.md for more info.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
bashlex-0.18.tar.gz (68.7 kB view hashes)
bashlex-0.18-py2.py3-none-any.whl (69.5 kB view hashes)
Hashes for bashlex-0.18-py2.py3-none-any.whl