]> git.ipfire.org Git - thirdparty/git.git/commit
chainlint.pl: add POSIX shell parser
authorEric Sunshine <sunshine@sunshineco.com>
Thu, 1 Sep 2022 00:29:41 +0000 (00:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Sep 2022 17:07:40 +0000 (10:07 -0700)
commit6594554119811a01888b44112a7daec6fa0312b2
tree8e8cc81dd951dca7a449c82aa954af681ae2b353
parent7d4804731ed642b92b516908fb93397b08e986bf
chainlint.pl: add POSIX shell parser

Continue fleshing out chainlint.pl by adding a general purpose recursive
descent parser for the POSIX shell command language. Although never
invoked directly, upcoming parser subclasses will extend its
functionality for specific purposes, such as plucking test definitions
from input scripts and applying domain-specific knowledge to perform
test validation.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/chainlint.pl