Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

python-bashlex 0.14 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