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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page