summaryrefslogtreecommitdiff
path: root/python/phply/README
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2015-11-18 22:40:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-18 23:23:00 +0700
commite5c1a597fb7cf0bdd7a192407ab648a934849dc0 (patch)
tree3c435003812dba31956187e41233fba9d43920d4 /python/phply/README
parentfd388fe1e00a126cd7e4a2892bcb948e338b772d (diff)
downloadslackbuilds-e5c1a597fb7cf0bdd7a192407ab648a934849dc0.tar.gz
python/phply: Added (PHP lexer and parser in Python).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/phply/README')
-rw-r--r--python/phply/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/python/phply/README b/python/phply/README
new file mode 100644
index 0000000000..c966d94bc9
--- /dev/null
+++ b/python/phply/README
@@ -0,0 +1,15 @@
+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