Hi is there any tool / utility which can convert code from php to ruby ? thanks --------------------------------- Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/6f5e6c25/attachment.html
rohit mehra wrote:> Hi > is there any tool / utility which can convert code from php to ruby ? > thanksIf such a tool existed, it could at best convert small snippets, and it wouldn''t be real Ruby code, it wold be PHP with Ruby syntax. -- Posted via http://www.ruby-forum.com/.
Andreas S. wrote:> rohit mehra wrote: >> Hi >> is there any tool / utility which can convert code from php to ruby ? >> thanks > > If such a tool existed, it could at best convert small snippets, and it > wouldn''t be real Ruby code, it wold be PHP with Ruby syntax.in Theory this tool can be exist. -- Posted via http://www.ruby-forum.com/.
What would be the point if it didn''t generate real Ruby code? On 3/10/06, basio <m.elbasiouny@gmail.com> wrote:> Andreas S. wrote: > > rohit mehra wrote: > >> Hi > >> is there any tool / utility which can convert code from php to ruby ? > >> thanks > > > > If such a tool existed, it could at best convert small snippets, and it > > wouldn''t be real Ruby code, it wold be PHP with Ruby syntax. > > in Theory this tool can be exist. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Tristan Havelick wrote:> What would be the point if it didn''t generate real Ruby code?I think the point is that it would be code that would happily run in the Ruby interpreter, but would be written with all PHP''s idioms, not taking advantage of any of Ruby''s niceness. -- Alex> > On 3/10/06, basio <m.elbasiouny@gmail.com> wrote: >> Andreas S. wrote: >>> rohit mehra wrote: >>>> Hi >>>> is there any tool / utility which can convert code from php to ruby ? >>>> thanks >>> If such a tool existed, it could at best convert small snippets, and it >>> wouldn''t be real Ruby code, it wold be PHP with Ruby syntax. >> in Theory this tool can be exist. >> >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails