Skip to content

taichino/php2py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

[ php2py - converter from php to python using phc ]
----------------------------------------------------------------------
php2py is a php script to convert php to python.
As input, this script accept syntax tree XML file generated by phc
instead of php code.

[ Requirements ]
----------------------------------------------------------------------
php2py.php requires "phc" (php compiler) installed.
you can download it at the following link:

http://www.phpcompiler.org/

[ Example Use ]
----------------------------------------------------------------------
$ phc --dump-xml=ast somecode.php > out.xml
$ ./php2py.php out.xml > somecode.py

About

converter from php to python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages