slackbuilds_ponce/python/phply/README.Slackware
Brenton Earl b5b0b0e595 python/phply: Updated for version 1.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2018-03-24 06:50:29 +07:00

20 lines
402 B
Text

How to use phply?
-----------------
For the lexer test execute in a shell:
$ 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