diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2008-04-18 06:04:08 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2008-04-18 06:04:08 +0000 |
commit | fa976d2aedf971e14b65c350b415a5a66fbe4aca (patch) | |
tree | 495d0a00705d600082c2b191263c81a6de591aaa /textproc/Makefile | |
parent | 61c774574d570abd782492c4001bee606a85bf40 (diff) | |
download | ports-fa976d2aedf971e14b65c350b415a5a66fbe4aca.tar.gz ports-fa976d2aedf971e14b65c350b415a5a66fbe4aca.zip |
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.
WWW: http://search.cpan.org/dist/Makefile-DOM/
PR: ports/122843
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes:
svn path=/head/; revision=211498
Diffstat (limited to 'textproc/Makefile')
-rw-r--r-- | textproc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index b050b011ffbb..bdf150197ad0 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -435,6 +435,7 @@ SUBDIR += p5-MARC-Lint SUBDIR += p5-MARC-Record SUBDIR += p5-MKDoc-XML + SUBDIR += p5-Makefile-DOM SUBDIR += p5-Makefile-Parser SUBDIR += p5-MathML-Entities SUBDIR += p5-Net-YASA |