Category:Perl 6: Difference between revisions

Expanded.
(Has both kinds of type checking according to WP)
(Expanded.)
Line 1:
{{stub}}{{language|Perl 6
|site=http://perl6.org/
|checking=both}}
|checking=both}}Perl 6 is a successor to Perl currently under development. This language is distinct from earlier versions of [[Perl]].
 
Perl 6 is the successor to Perl 5. Though it resembles previous versions of [[Perl]] to no small degree, Perl 6 is substantially a new language. In particular, it isn't backwards-compatible with Perl 5. In development since 2000, Perl 6 still lacks a reasonably complete implementation of its specification, the [http://perlcabal.org/syn/ Synopses].
 
Damian Conway described the basic philosophy of Perl 6 as follows:
 
<blockquote>The Perl 6 design process is about keeping what works in Perl 5, fixing what doesn't, and adding what's missing. That means there will be a few fundamental changes to the language, a large number of extensions to existing features, and a handful of completely new ideas. These modifications, enhancements, and innovations will work together to make the future Perl even more insanely great -- without, we hope, making it even more greatly insane.</blockquote>
 
Major new features include multiple dispatch, declarative classes, grammars, formal parameters to subroutines, type constraints on variables, lazy evaluation, junctions, meta-operators, and the ability to change Perl's syntax at will with macros and user-defined operators.
 
There are several different implementations of Perl 6. They vary widely in design goals, degree of completeness, and current development activity. At present, the implementations closest to matching the specification are [http://www.pugscode.org/ Pugs], written in [[Haskell]], and [http://rakudo.org/ Rakudo], built on the [http://www.parrot.org Parrot] virtual machine; of these, only the latter is actively developed.
 
<br clear=right><!-- Stop the category list and infobox from overlapping -->
845

edits