Python parser for bash
Project Links
Meta
Author: Idan Kamara
Requires Python: >=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4
Classifiers
Development Status
- 4 - Beta
Environment
- Console
Intended Audience
- Developers
License
- OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Operating System
- OS Independent
Programming Language
- Python
Topic
- Software Development :: Libraries :: Python Modules
- System :: System Shells
- Text Processing
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.
0.18
Jan 18, 2023
0.17
Dec 30, 2022
0.16
Sep 23, 2021
0.15
May 30, 2020
0.14
Mar 10, 2019
0.13
Mar 01, 2019
0.12
Nov 25, 2016
0.10
Nov 18, 2016
0.9
Nov 17, 2016
0.8
Jan 31, 2016
0.6
Oct 01, 2014
0.5
Sep 29, 2014
0.4
Sep 28, 2014
0.3
Sep 28, 2014
0.2
Sep 27, 2014
0.1
Sep 25, 2014
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
enum34