Skip to content

o-fun/Perlito

 
 

Repository files navigation

"Perlito" Perl compiler

    This is Perlito, a compiler collection that implements a subset of Perl 5 and Perl 6.

Backends

    Perlito can compile Perl 5 or Perl 6 programs into one of the 'backend'
    languages:

        Perl 5 to Perl 5
        Perl 5 to Javascript

        Perl 6 to Perl 5
        Perl 6 to Javascript
        Perl 6 to Python 2.6

    The following compilers are work in progress - some tests pass, some tests fail:

        Perl 5 to Perl 6
        Perl 6 to Ruby 1.9

    Perlito 6.0 (2010-07-27) also compile to additional backends.
    Check the Changelog file for details:

        Perl 6 to Go
        Perl 6 to Common Lisp (SBCL)
        Perl 6 to Ruby 1.9

Web

    Main Perlito repository: http://github.com/fglock/Perlito

    Main Project web page: http://www.perlito.org

    Run Perlito online, in the browser:

        http://perlcabal.org/~fglock/perlito5.html

        http://perlcabal.org/~fglock/perlito6.html

Source code

    The source code for Perlito5 can be found in the 'src5' directory.
    Perlito5 is written mostly in Perl 5 (the grammar uses its own mini-language.)

    The source code for Perlito6 can be found in the 'src6' directory.
    Perlito6 is written in Perl 6.

SEE ALSO

    README-perlito6

    README-perlito5

Packages

No packages published

Languages

  • Perl 62.3%
  • JavaScript 33.9%
  • Go 1.0%
  • Python 0.9%
  • Common Lisp 0.7%
  • Prolog 0.5%
  • Other 0.7%