NAME
Perl6::Pugs - A Perl 6 Implementation
VERSION
This document describes version 6.2.11 of Pugs, released February 1, 2005.
SYNOPSIS
% pugs -e "{ 'Hello, ', @^x }.('World!').say"
Hello, World!
With Perl 5 embedding support (also note the --
in the #!
line):
#!/usr/bin/pugs --
use v6;
use perl5:DBI;
my $dbh = DBI.connect('dbi:SQLite:dbname=test.db');
$dbh.do("CREATE TABLE Test (Project, Pumpking)");
DESCRIPTION
Pugs is an implementation of Perl 6, written in Haskell. It aims to support the full Perl 6 specification, as detailed in the Synopses.
The Pugs project was started on February 1st 2005. It is under active development on IRC (irc.freenode.net
, #perl6
).
Please read the Pugs Apocrypha in the docs/ directory for more details.
DOCUMENTATION
Pugs Apocrypha
The Pugs Apocrypha in the docs/ directory are a series of documents, written in question/answer format, to explain the design and implementation of Pugs.
Quick reference of Perl 6
Quick reference documents of Perl 6 can be found in the docs/quickref/ directory, similar to perlcheat. The table of contents can be found at docs/quickref/README.
Talks
There're various talks about Perl 6 and/or Pugs in docs/talks/. Look into docs/talks/README for links to rendered versions (HTML, PDF).
Examples
In the examples/ directory there're examples of working Perl 6 code. In examples/cookbook/ you can find the Perl 6 version of the Perl 5 cookbook. If you want to see how Perl 6 modules look like, you can have a look at the modules in ext/. Another good source of working Perl 6 code is the comprehensive test suite in the t/ directory.
Apocalypses, Exegeses, and Synopses (AES)
Additionally to the official AES, Pugs hosts a number of unofficial AES at docs/AES/. You might also want to checkout the Perl 6 module Perl6::Bible, hosted at FreePAN (http://tpe.freepan.org/repos/iblech/Perl6-Bible/), if you want to read the AES by using the p6bible
command line utility.
SEE ALSO
The Pugs homepage is at http://pugscode.org/.
The mailing list for Pugs is perl6-compiler
. Subscribe by sending mail to <perl6-compiler-subscribe@perl.org>
. It is archived at http://www.nntp.perl.org/group/perl.perl6.compiler and available via NNTP at nntp://nntp.perl.org/perl.perl6.compiler.
You can also read the list via Google Groups at http://groups-beta.google.com/group/perl.perl6.compiler or GMane at http://news.gmane.org/gmane.comp.lang.perl.perl6.compiler.
Please submit bug reports to <pugsbugs@perl.org>
.
COPYRIGHT
Copyright 2005, 2006 by Audrey 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.