1 $NetBSD: README,v 1.4 2006/02/28 23:32:47 rillig Exp $
5 There are finally some automated tests that document a few intended
6 and actual behaviors. There is still plenty of poorly expressed
7 code not yet under test and therefore not yet safe to refactor.
9 The current pkglint architecture will not scale much further. What is
10 needed next are parsers for nested, non-context-free languages (make(1),
11 sh(1), sed(1)). The parsers should be able to recognize partial
12 structures, as well as structures containing foreign parts. This is
13 because most of pkgsrc is heavily based on preprocessors:
15 - The .if and .for directives in Makefiles are preprocessed by make(1)
16 before building dependencies and shell commands out of the remaining
19 - make(1) assembles shell commands from literal text and variables like
22 - Shell commands often use dynamic evaluation of variables.
24 All this makes enhancing pkglint non-trivial. If you know of any
25 academic papers that might be of help in this case, please tell me.
27 The pkglint source code is much too big for a single file.