Category:Perl 6: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Added link for Mono)
(Edited to reflect current reality)
Line 15: Line 15:
{{language programming paradigm|object-oriented}}
{{language programming paradigm|object-oriented}}
{{language programming paradigm|generic}}
{{language programming paradigm|generic}}
Perl 6 is the up-and-coming little sister to Perl 5. Though it resembles previous versions of [[Perl]] to no small degree, Perl 6 is substantially a new language; by design, it isn't backwards-compatible with Perl 5. In development since 2000, Perl 6 still lacks a complete implementation of its specification, the [http://perlcabal.org/syn/ Synopses]. However, more than one implementation is getting close to that goal.
Perl 6 is the up-and-coming little sister to Perl 5. Though it resembles previous versions of [[Perl]] to no small degree, Perl 6 is substantially a new language; by design, it isn't backwards-compatible with Perl 5. In development since 2000, Perl 6 still lacks a complete implementation of its specification, the [http://perlcabal.org/syn/ Synopses].


Damian Conway described the basic philosophy of Perl 6 as follows:
Damian Conway described the basic philosophy of Perl 6 as follows:
Line 23: Line 23:
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 hygienic macros and user-defined operators.
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 hygienic 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 [[Pugs]], written in [[Haskell]] and primarily of historical interest, [[Rakudo]], built on the [http://www.parrot.org Parrot] virtual machine, and [[Niecza]], built on the .NET/[http://mono-project.com/ Mono] platform.
There are several different partial implementations of Perl 6. They vary widely in design goals, degree of completeness, and current development activity. At present, the implementation closest to matching the specification is [[Rakudo]].


<br clear=right><!-- Stop the category list and infobox from overlapping -->
<br clear=right><!-- Stop the category list and infobox from overlapping -->

Revision as of 06:34, 2 January 2014

Language
Perl 6
This programming language may be used to instruct a computer to perform a task.
Official website
Garbage collected: Yes
Parameter passing methods: By reference, By value
Type safety: Safe, Unsafe
Type strength: Gradual
Type compatibility: Nominative, Duck
Type checking: Dynamic, Static
Lang tag(s): perl6
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Perl 6.

Perl 6 is the up-and-coming little sister to Perl 5. Though it resembles previous versions of Perl to no small degree, Perl 6 is substantially a new language; by design, it isn't backwards-compatible with Perl 5. In development since 2000, Perl 6 still lacks a complete implementation of its specification, the Synopses.

Damian Conway described the basic philosophy of Perl 6 as follows:

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.

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 hygienic macros and user-defined operators.

There are several different partial implementations of Perl 6. They vary widely in design goals, degree of completeness, and current development activity. At present, the implementation closest to matching the specification is Rakudo.


Subcategories

This category has the following 4 subcategories, out of 4 total.