V6 (Perl)

V6 (Perl)

v6 is a Perl module which runs under Perl version 5, and transforms Perl 6 code into Perl 5 code on the fly. To quote the release notes::"In summary: Perl 5 is now a first-class virtual machine for Pugs, and in this journey toward self-hosting, we will share as much common structure as possible between the Perl 5, Haskell, and the Parrot runtimes." cite web | url=http://use.perl.org/article.pl?sid=06/07/07/1532235&from=rss | title=Pugs 6.2.12 and v6.pm released! | author=audreyt | publisher=use Perl ]

Components

v6 is comprised of many parts, divided into a stack of services which can be used to write Perl 6 code directly, or to implement Perl 6 features in Perl 5 programs.

Moose

Moose and other modules such as Class::MOP provide a low-level emulation of Perl 6's object model and meta-object protocol. This object model can be used directly or through v6.

Pugs::Grammar::Rule

Pugs::Grammar::Rule provides access to Perl 6's "rules", which are a superset of classic regex functionality which allow the development of entire grammars.

Data::Bind

Data::Bind provides the parameter binding features of Perl 6, including named parameters.

Module::Compile

Module::Compile is like a source-filter, but is safer for real-world code development. It is this module which allows v6 to parse Perl 6 code and directly translate it into Perl 5 code which is then executed.

Notes

External links

* [http://search.cpan.org/dist/v6-pugs/ v6 on CPAN]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • PERL — Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle  …   Deutsch Wikipedia

  • Perl (Programmiersprache) — Perl Paradigmen: prozedural, modular, teilweise objektorientiert Erscheinungsjahr: 1987 Entwickler: Larry Wall, Perl Porter Aktuelle Version …   Deutsch Wikipedia

  • Perl — Desarrollador(es) Larry Wall www.perl.org Información general Paradigma multiparadigma, funcional, im …   Wikipedia Español

  • Perl 6 — Apparu en Spécification : 2001 2011, mise en œuvre partielle par Rakudo Star Auteur …   Wikipédia en Français

  • Perl 6 — Saltar a navegación, búsqueda Perl 6 Paradigma: multiparadigma Apareció en: 2000 Diseñado por: Larry Wall y la comunidad Perl Tipo de dato: Dinámico y estático Implementaciones …   Wikipedia Español

  • Perl — Семантика: мультипарадигменный: императивный, объектно ориентированный, функциональный Тип исполнения: интерпретатор Появился в: 1987 Автор(ы) …   Википедия

  • Perl 5 — Perl (langage) Pour les articles homonymes, voir Perl. Apparu en 1987 …   Wikipédia en Français

  • Perl Compatible Regular Expressions — Original author(s) Philip Hazel Stable release 8.20 / 2011 10 21; 25 days ago (2011 10 21) Written in C …   Wikipedia

  • Perl Mongers — is part of The Perl Foundation and provides services to Perl user groups. Perl Mongers was created in 1998 as a stand alone organization by Brian D Foy who formed the first Perl users group, the New York Perl Mongers, or NY.pm, in 1997 at the… …   Wikipedia

  • Perl 6 — Класс языка: Мультипарадигмальный Появился в: 2000 …   Википедия

  • PERL, JOSEPH — (1773–1839), author of significant satirical works and leading figure in the Galician haskalah . Perl was born in Tarnopol, where he spent most of his life. In his youth he was attracted to Ḥasidism and acquired knowledge of the movement s way of …   Encyclopedia of Judaism

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”