slackbuilds/python/phply
Robby Workman 065bbe93dc Multiple: Fixed .info file (removed pysetuptools)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2016-01-17 09:40:16 +07:00
..
README python/phply: Added (PHP lexer and parser in Python). 2015-11-18 23:23:00 +07:00
phply-setup.py.diff python/phply: Added (PHP lexer and parser in Python). 2015-11-18 23:23:00 +07:00
phply.SlackBuild python/phply: Added (PHP lexer and parser in Python). 2015-11-18 23:23:00 +07:00
phply.info Multiple: Fixed .info file (removed pysetuptools) 2016-01-17 09:40:16 +07:00
slack-desc python/phply: Added (PHP lexer and parser in Python). 2015-11-18 23:23:00 +07:00

README

phply is a lexer and parser for the PHP programming language written in
Python.

Included tools installed to /usr/bin:

phpshell.py - PHP interactive interpreter written in Python

php2json.py - Converts PHP to a JSON-based abstract syntax tree
Usage: php2json.py < input.php > output.json

php2python.py - Converts PHP to Python using unparse.py
Usage: php2python.py < input.php > output.py

php2jinja.py - Converts PHP to Jinja2 templates (experimental)
Usage: php2jinja.py < input.php > output.html