From Fedora Project Wiki
Line 20: Line 20:
== Current status ==
== Current status ==
* Targeted release: [[Releases/14 | Fedora 14 ]]  
* Targeted release: [[Releases/14 | Fedora 14 ]]  
* Last updated: 2010-08-17
* Last updated: 2010-09-08
* Percentage of completion: 80%
* Percentage of completion: 97%
<!-- CHANGE THE "FedoraVersion" TEMPLATES ABOVE TO PLAIN NUMBERS WHEN YOU COMPLETE YOUR PAGE. -->
<!-- CHANGE THE "FedoraVersion" TEMPLATES ABOVE TO PLAIN NUMBERS WHEN YOU COMPLETE YOUR PAGE. -->
** 2009-08-11: put a Rakudo package with stripped shared objects in Fedora 11 and 12
** 2009-08-11: put a Rakudo package with stripped shared objects in Fedora 11 and 12
Line 28: Line 28:
** 2010-06-19: Patrick Michaud announced ''Rakudo *'' for July 29
** 2010-06-19: Patrick Michaud announced ''Rakudo *'' for July 29
** 2010-07-20: [http://www.parrot.org/news/2010/Parrot-2.6.0 Parrot 2.6.0 "Red-rumped" released] (get necessary dependency)
** 2010-07-20: [http://www.parrot.org/news/2010/Parrot-2.6.0 Parrot 2.6.0 "Red-rumped" released] (get necessary dependency)
** 2010-07-23: [http://www.rakudo.org/node/74 Rakudo 2010.07 (#31 "Atlanta") released
** 2010-07-23: [http://www.rakudo.org/node/74 Rakudo 2010.07] (#31 "Atlanta") released
** 2010-07-23: new basic Parrot packages are in Fedora
** 2010-07-23: new basic Parrot packages are in Fedora
** 2010-07-29: the first verion of rakudo-star (2010.07) is released
** 2010-07-29: the first verion of rakudo-star (2010.07) is released
** 2010-08-15: build new rakudo packages with new source from rakudo-star release for Fedora 13, 14 and 15
** 2010-08-15: build new rakudo packages with new source from rakudo-star release for Fedora 13, 14 and 15
** 2010-08-17: open [https://bugzilla.redhat.com/show_bug.cgi?id=624660 review request for rakudo-star]; a [http://koji.fedoraproject.org/koji/taskinfo?taskID=2406663 successful scratch build] is done
** 2010-08-17: open [https://bugzilla.redhat.com/show_bug.cgi?id=624660 review request for rakudo-star]; a [http://koji.fedoraproject.org/koji/taskinfo?taskID=2406663 successful scratch build] is done
** 2010-08-18: [http://www.parrot.org/news/parrot-2.7.0-australian-king-released Parrot 2.7.0 "Australian King" released]
** 2010-08-26: [http://www.rakudo.org/announce/rakudo-star/2010.08 Rakudo Star 2010.08] released; this is the version that will go in Fedora 14 Beta
** 2010-09-08: parrot-2.7.0-1.fc14 pushed to stable; Rakudo Star is reviewed; SCM admin request is done


== Detailed Description ==
== Detailed Description ==

Revision as of 13:37, 8 September 2010


Rakudo *

Summary

Rakudo is an implementation of the Perl 6 specification for the Parrot virtual machine, in rapid development. Rakudo Star is the first production release of Rakudo.

Owners

  • email: <gerd@fedoraproject.org>, <cwickert@fedoraproject.org>, <mmaslano@fedoraproject.org>

Current status

Detailed Description

Perl 6 is a major revision to the Perl programming language, which introduces elements of many modern and historical languages. There are currently multiple implementation projects of Perl 6 underway, the most actively developed one is Rakudo, which is based on the Parrot virtual machine.

Rakudo Star holds a series of complete Perl 6 environments for example:

  • Some random libraries
  • Documentation

Changes and improvements that can already be tested with the Atlanta release:

  • Rakudo now properly constructs closures in most instances.
  • Undefined objects can now autovivify into arrays or hashes when subscripted with .[ ] or .{ } .
  • Arrays can now handle infinite ranges.
  • Generic, multi-level Whatever-currying now works, e.g. (1, 1, *+* ... *).
  • The REPL shell now remembers lexical declarations in susbsequent lines.
  • The open() subroutine now returns a Failure instead of throwing a fatal exception.
  • Rakudo now provides $*ARGFILES for reading from files specified on the command line.
  • Added $*PERL, moved %*VM to $*VM.
  • Simple binding operators := and ::= now work.
  • Simple feed operators <== and ==> now work.

Benefit to Fedora

Providing Perl 6 support makes Fedora an attractive platform for developers. Rakudo will enable developers to write new applications or port existing ones. By offering Perl 6 at the current state Fedora once again proves its foundations: Features and First.

Make Fedora fit for Perl 6 Modules.

Scope

  • Package reviews
  • Continuous updates each month

How To Test

  • Test that rakudo builds on the parrot RPMs provided in Fedora.
  • Use the test suite included in Rakudo to verify that it actually works:
    • make test will run a suite of tests, designed to make sure that the Rakudo compiler is basically working and that it's capable of running a simple test harness.
    • make spectest will import relevant portions of the official Perl 6 test suite from the Pugs repository and run all of the tests that are currently known to pass.

User Experience

Rakudo will enable developers to write new applications or port existing ones to Perl 6. Although Perl 6 is still in development and no official release date has been set, the specification is feature complete and mature. Rakudo has released 19 stable releases so far. Both parrot and rakudo do one stable release each month and developers will get them easily without hassle on a regular schedule.

Dependencies

  • Parrot >= 2.6: Parrot 2.6.0 will be released on July 20, will be in Fedora >= 12)
  • Rakudo: Review

(Note that the base parrot rpm is required at runtime.)

Contingency Plan

None necessary, revert to previous release behaviour.

Documentation

Release Notes

Fedora comes with Rakudo Perl, an implementation of the Perl 6 specification based on the Parrot virtual machine, which enables developers to write new applications or port existing ones to Perl 6. To install rakudo, use the Add/Remove Software tool or run:

su -c 'yum install rakudo'

For information of command line options run:

man perl6
man rakudo

Comments and Discussion