aboutsummaryrefslogtreecommitdiff
path: root/python/phply/README.Slackware
diff options
context:
space:
mode:
Diffstat (limited to 'python/phply/README.Slackware')
-rw-r--r--python/phply/README.Slackware10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/phply/README.Slackware b/python/phply/README.Slackware
index 16d2e14bea10..d2b5afec7212 100644
--- a/python/phply/README.Slackware
+++ b/python/phply/README.Slackware
@@ -8,3 +8,13 @@ $ phplex /path/to/file_name.php
For the parser test execute in a shell:
$ phpparse /path/to/file_name.php
+
+For the JSON dump:
+
+$ cd /usr/doc/phply-$VERSION/tools
+$ python ./php2json.py < input.php > output.json
+
+For the Jinja2 converter:
+
+$ cd /usr/doc/phply-$VERSION/tools
+$ python ./php2jinja.py <input.php > output.html