News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
J4P5 - Javascript For PHP5
January 20, 2006 @ 07:12:54

On the SitePoint PHP Blog today, there's a new post from Harry Fuecks talking about J4P5, a native PHP5 Javascript interpreter.

I kid you not. In fact this looks like a pretty serious attempt. You'll need to download and run yourself. There's grammar rules for Javascript in there and a Javascript runtime written in PHP. It passes the "it works" test'"the examples run straight out of $ unzip. Looking at what it does and the TODO list, aside from the Unicode issue strikes me J4P5 is already more than 50% of the way there.

Aside from novelty, one real world use might be an extension to SimpleTest's web testing capabilities. With a little work there's also potential to create an awesome Javascript source compressor'"the lexing patterns are all there.

He also mentions another project, metaphp, that builds a "higher level langauge" on top of PHP. The parser for it was used in the J4P5 project mentioned above...

0 comments voice your opinion now!
javascript for php5 j4p5 metaphp parser native interpreter javascript for php5 j4p5 metaphp parser native interpreter


blog comments powered by Disqus

Similar Posts

Sebastian Bergmann's Blog: Flickr: The Real World PHP 5 Benchmark

Nexen.net: PHP Statistics for October 2008

DevShed: An Introduction to Building Proxy Classes with PHP 5

Dagfinn Reiersol's Blog: Real programming with PHP 5.3 (part 2): JavaScript-style classes

PHPBuilder.com: What\'s new in PHP 5 and PHP 6


Community Events

Don't see your event here?
Let us know!


introduction programming language community laravel list project symfony interview example composer part2 application podcast api yii2 opinion series php7 framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework