|
From: <pf...@ar...> - 2002-09-21 15:31:41
|
Hi, [...] > > - as there is probably none of above: do you think it is possible to > > port rST to php? more specifically: > > . is there any general experience in porting python to php? > > I'm sure there's some out there, you just need to find it :) Seriously, I've > never seen any conversion information between the two. I've seen some > skin-deep comparisons, and they look similar - on the surface, PHP is Python > with added punctuation ... "and bugs" according to our PHP developer :) [...] I've only heard of projects working on the opposite direction. For example at http://www.zope.org/Members/mjablonski/PHParser you can find a tool developed to port existing PHP scripts to Zope. Personally I have never used any PHP. But from everybody I've heard of and who knows the languages PHP or Perl and Python, they have started to port or rewrite their PHP or Perl stuff from PHP or Perl to Python. Most web servers nowawdays run on Linux and Linux systems usually come with Python preinstalled (the major distributor Red Hat uses Python for its installer 'anaconda' and the future Linux kernel configuration manager is also written in Python). Maybe it would be possible for you to embed the fine Python implementation of reST written by David Goodger into your PHP application with some glue code? Porting Davids implementation to another language looks like a lot of work. Regards, Peter -- Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany office: +49 421 20419-0 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen, Germany) |