March 2012 Archives

Perl5 in the browser update

Perlito5 is an ongoing implementation of perl5, with a javascript backend. The compiler is written in perl5. It compiles itself to javascript, so it can run in a browser.

The test suite can be run with node.js. It now passes 288 tests. About a hundred of these tests are from the official perl5 test suite.

$ prove -r -e 'node perlito5.js -Bjs' t
t/base/cond.t ...................................... ok
t/base/if.t .......…

About Flávio S. Glock

user-pic I blog about Perl.