© 2017 RuntimeConverter

February 1, 2019

January 23, 2019

Please reload

Recent Posts

About 2 weeks ago, we published that we had successfully converted a PHPUnit example project and it ran just the same as if it had been run with PHP....

PHPUnit [Beta] Full-Native Java Test Results

June 11, 2018

1/3
Please reload

Featured Posts

Laravel Conversion Example Completed!

December 21, 2018

While no conversion of a project as large as laravel will ever be "completed", we have successfully rendered the welcome screen for the laravel project. Even though the welcome screen is only a small page, rendering it requires exactly 11,028 function calls. The input took 5,140 PHP files and resulted in 11,095 Java source files.

 

Converting a project with 11,028 function calls is no small task, and the the laravel project used just about every feature of the PHP language - features that your average developer would never dream of using. We just barely got away without needing to develop "eval" and "goto".

 

The "welcome screen" view itself is rendered with code-generation and we were able to put laravel's code generation cache into the converter to avoid having to evaluate php code at runtime. Nevertheless, developing support for PHP's "eval" feature is a real possibility for the future.

 

 

The page rendered using the code converter is indistinguishable from the one generated by PHP.  You can browse the converted code at https://github.com/RuntimeConverter/RuntimeConverterLaravelJava.

 

Share on Facebook
Share on Twitter
Please reload

Follow Us
Please reload

Search By Tags
Please reload

Archive
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square