FreeBSD.software
Home/textproc/p5-Makefile-DOM

p5-Makefile-DOM

0.008_1textproc

Simple DOM parser for Makefiles

This libary can serve as an advanced lexer for (GNU) makefiles. It parses makefiles as "documents" and the parsing is lossless. The results are data structures similar to DOM trees. The DOM trees hold every single bit of the information in the original input files, including white spaces, blank lines and makefile comments. That means it's possible to reproduce the original makefiles from the DOM trees. In addition, each node of the DOM trees is modifiable and so is the whole tree, just like the PPI module used for Perl source parsing and the HTML::TreeBuilder module used for parsing HTML source.

$pkg install p5-Makefile-DOM
metacpan.org/release/Makefile-DOM
Origin
textproc/p5-Makefile-DOM
Size
137KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
4 packages
Required by
1 packages

Dependencies (4)

Required By (1)