1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

PHP_Parser is a source code analysis tool based around a real Parser

generated by PHP_ParserGenerator. The parser uses the same EBNF source
that PHP uses to parse itself, modified for Lemon parser format,
and it therefore as robust as PHP itself.

WWW: http://pear.php.net/package/PHP_Parser/
This commit is contained in:
Martin Wilke 2007-08-05 21:02:28 +00:00
parent 3a16435e44
commit 0fe631cc4b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197145
4 changed files with 39 additions and 0 deletions

View File

@ -1723,6 +1723,7 @@
SUBDIR += pear-PHP_Beautifier
SUBDIR += pear-PHP_Compat
SUBDIR += pear-PHP_CompatInfo
SUBDIR += pear-PHP_Parser
SUBDIR += pear-PHP_ParserGenerator
SUBDIR += pear-Pager
SUBDIR += pear-PhpDocumentor

View File

@ -0,0 +1,29 @@
# Ports collection makefile for: pear-PHP_Parser
# Date created: 05 August 2007
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= PHP_Parser
PORTVERSION= 0.2.1
CATEGORIES= devel www pear
MAINTAINER= miwi@FreeBSD.org
COMMENT= A PHP Grammar Parser
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
CATEGORY= PHP
FILES= Parser.php Parser/Core.php Parser/Core.y \
Parser/Tokenizer.php
TESTS= basic.phpt unticked_statement1.phpt \
files/basic.inc files/unticked_statement1.inc
DOCS= PHP_Parser_MsgServer.cls
_DOCSDIR= docs/tutorials/PHP_Parser
EXAMPLES= test.php
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (PEAR/PHP_Parser-0.2.1.tgz) = 53f1d8d7cdc8949ad55ea0d094342aa1
SHA256 (PEAR/PHP_Parser-0.2.1.tgz) = 335ec6ba71e63e438c709e9fc5040fc9ee134585b705a1757b426a15005dfc44
SIZE (PEAR/PHP_Parser-0.2.1.tgz) = 70782

View File

@ -0,0 +1,6 @@
PHP_Parser is a source code analysis tool based around a real Parser
generated by PHP_ParserGenerator. The parser uses the same EBNF source
that PHP uses to parse itself, modified for Lemon parser format,
and it therefore as robust as PHP itself.
WWW: http://pear.php.net/package/PHP_Parser/