man pugscc (Commandes) - Pugs Compiler Compiler

NAME

pugscc - Pugs Compiler Compiler

SYNOPSIS

    % pugscc --runpir -e "'Hello, Parrot'.say"
    % pugscc --runpugs -e "'Hello, Pugs'.say"
    % pugscc --runhaskell -e "'Hello, Haskell'.say"

DESCRIPTION

The 'pugscc' script allows you to create an exectuable image from a Perl6 script, much like 'perlcc' does for Perl5. 'pugscc' is currently in the very early stages (proof-of-concept), and all interested hackers are welcome to come join in the fun.

BACKENDS

'pugscc' is currently in a very early stage, but will eventually support a number of different backends. Currently the default (and only fully working) backend is the 'Pugs' backend which will create an executable with an embedded pugs interpreter. Experimental support also currently exists for a 'Haskell' and 'Parrot' backend, with plans for a 'Ponie' and 'Perl5' backend as well (yes, this means you can run perl5 code with Pugs too).

HOW CAN YOU HELP

The main engine for 'pugscc' is found in the src/Compile.hs file, and the backends are located within src/Compile/.

** Autrijus can you write something here? **

DEPENDENCIES

Here is a list of the various dependencies for each backend, and links to where they can be downloaded.

Pugs - requires Pugs ;-)
PIR - requires Parrot
<http://search.cpan.org/~ltoetsch/parrot/> <http://www.parrotcode.org/>
Haskell - GHC (which is needed for Pugs)
Perl5 - requires perl5
<http://www.perl.org>
Ponie - requires Ponie
<http://opensource.fotango.com/software/ponie/downloads> <http://search.cpan.org/~abergman/ponie/> <http://www.poniecode.org/>

AUTHORS

Autrijus Tang <autrijus@autrijus.org>.

COPYRIGHT

Copyright 2005 by Autrijus Tang <autrijus@autrijus.org>.

This code is free software; you can redistribute it and/or modify it under the terms of either:

    a) the GNU General Public License, version 2, or
    b) the Artistic License, version 2.0beta5.

For the full license text, please see the GPL-2 and Artistic-2 files under the LICENSE directory in the Pugs distribution.