Skip to content
Perl 5 and Perl 6 compilers http://fglock.github.io/Perlito/
Perl Prolog Perl6 JavaScript Go Java Other
Find file
Latest commit 716f1e4 @fglock Perlito5 - java - docs
Failed to load latest commit information.
cpan-Perlito5 Perlito5 - CPAN - v9.017
cpan-v6 Remove executable bit from non-executables.
html Perlito5 - webpage - point to github.io (perlito.org has DNS problems)
lib5/Perlito6 Remove executable bit from non-executables.
misc Basic method dispatching (no resolution of inheritance yet)
src5 Perlito5 - java - regex character class fixup - avoid double escape
src6 Perlito backend - stub code for Perlito6::X64::Assembler, Perlito5::X…
t Perlito5 - add test: t/op/lex.t
t5 Fix undef($obj->slot->[$idx]) in JS2.
t6 Perlito6 - method hyper syntax use >>. instead of .>>
.gitignore Perlito5 - Java - Explicit casting to native Java
.travis.yml call the just the necessary make steps
ChangeLog Perlito5 - CPAN - v9.017
LICENSE.md Perlito5 - add LICENSE file
Makefile Perlito5 - Makefile - make clean
README-perlito5-Java.md Perlito5 - java - docs
README-perlito5-JavaScript.md Fix the capitalisation of "JavaScript".
README-perlito5.md Perlito5 - docs - merge documentation and TODO in a single file
README-perlito6.md Perlito5 - docs - merge documentation and TODO in a single file
README.md Fix the capitalisation of "JavaScript".
jrun Perlito5 - java - tweak "jrun"
perlito5.pl Perlito5 - java - regex character class fixup - avoid double escape
perlito6.pl Perlito - update for version 9.0 and rerun bootstrap
run_java_test.pl Perlito5 - docs

README.md

"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. Check the Changelog file for details:

  • Perl 5 to Perl 6
  • Perl 5 to Java 6
  • Perl 6 to Ruby 1.9
  • 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://fglock.github.io/Perlito

Run Perlito online, in the browser:

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

Build Status

Build Status

Something went wrong with that request. Please try again.