Parser of POSIX Shell Command Language
$ luarocks install --server=http://luarocks.org/dev sh-parser
This is a POSIX shell parser written in LPeg that generates AST of the parsed shell script without evaluating. It supports complete syntax of POSIX Shell Command Language plus few common extensions implemented e.g. by Busybox ash and dash. It does not support Bash/ZSH-specific features.