SlideShare une entreprise Scribd logo
1  sur  63
Télécharger pour lire hors ligne
Откуда узнать
  про Perl 6
Про Perl 6 говорят с


      2000
Сейчас


2009
Готов ли Perl 6?
Готов ли Perl 6?


 Ну почти
Как изучать?
Как изучать?

Как обучать?
Как изучать

Знать Perl 5
Как изучать

Знать Perl 5

 изучить
 отличия
Как изучать

Знать Perl 5   Не знать Perl 5

 изучить
 отличия
Как изучать

Знать Perl 5   Не знать Perl 5

 изучить          изучить
 отличия       документацию
Предыстория
Parrot 0.1.0

languages/perl6
Parrot 0.1.0

Для компиляции файла
  грамматики Perl 6
  нужен 1 ГБ памяти
Parrot 0.1.0

Настоящий байткод
PUGS
PUGS

Perl User’s Golfing System
PUGS

Perl User’s Golfing System

  Написан на Haskell
PUGS

Perl User’s Golfing System

 Вместе с GHC собирается
      часа четыре
PUGS

Perl User’s Golfing System

    Самое большое
  подмножество языка
     на тот момент
use v6;
use v6;


Модули на CPAN для Perl 5
use v6;


Moose?
use v6;


 5.10?
Perl 6 не один

Pugs         Elf
Rakudo
          KindaPerl6
   SMOP
Rakudo
Rakudo

   Rakudo-do —
путь верблюда (яп.)
Rakudo

Компилятор в PIR-код
Компилятор Rakudo



    rakudo.org
Виртуальная машина
       Parrot


     parrot.org
Документация, тесты
   и грамматика


    pugscode.org
Что почитать
Июнь 2003
Июнь 2004
Июнь 2004   2005
2005
2007?
Это все уже история
Написано много и давно
Документация
RFCs,
Apocalypses,
Exegeses
Все это уже история
RFCs,
Apocalypses,
Exegeses,
Synopses
Synopses

perlcabal.org/syn
Synopses

perlcabal.org/syn

   S1 . . . S33
S = Synopses
S = Spec
svn.pugscode.org
Спецификация
pugs/docs/Perl6/Spec
Набор тестов
pugs/t/spec
S02‐builtin_data_types      S05‐substitution             S12‐traits
S02‐lexical‐conventions     S05‐syntactic‐categories     S13‐overloading
S02‐literals                S05‐transliteration          S13‐syntax
S02‐magicals                S06‐                         S13‐type‐casting
S02‐names                   advanced_subroutine_featur   S14‐roles
S02‐names_and_variables     es                           S14‐traits
S02‐one‐pass‐parsing        S06‐currying                 S16‐filehandles
S02‐polymorphic_types       S06‐macros                   S16‐io
S02‐                        S06‐multi                    S16‐unfiled
whitespace_and_comments     S06‐operator‐overloading     S17‐async
S03‐junctions               S06‐other                    S28‐named‐variables
S03‐operators               S06‐routine‐modifiers        S29‐any
S04‐blocks‐and‐statements   S06‐signature                S29‐context
S04‐closure‐traits          S06‐traits                   S29‐conversions
S04‐declarations            S09‐autovivification         S29‐os
S04‐exceptions              S09‐subscript_slice          S29‐range
S04‐statement‐modifiers     S09‐typed‐arrays             S29‐type
S04‐statements              S10‐packages                 S32‐array
S05‐capture                 S11‐modules                  S32‐container
S05‐grammar                 S12‐attributes               S32‐hash
S05‐interpolation           S12‐class                    S32‐io
S05‐mass                    S12‐construction             S32‐list
S05‐match                   S12‐enums                    S32‐num
S05‐metachars               S12‐introspection            S32‐scalar
S05‐metasyntax              S12‐methods                  S32‐str
S05‐modifier                S12‐role                     S32‐temporal
S05‐nonstrings              S12‐subset                   S32‐trig
Грамматика
pugs/src/perl6/STD.pm
STD.pm
150 КБ
STD.pm
5375 строк
Кого почитать
Мориц Ленц

 perlgeek.de
Габор Сабо

 szabgab.com
Джонатан
 Вортингтон
   use.perl.org/
~JonathanWorthington
Карл Мэсак

use.perl.org/~masak
Патрик Мишо

use.perl.org/~pmichaud
Илья Беликин

ihrd.livejournal.com
perl6.ru
__END__


Андрей Шитов

http://shitov.ru   |   andy@shitov.ru

Contenu connexe

En vedette (20)

55ph
55ph55ph
55ph
 
Etapas de la historia
Etapas de la historiaEtapas de la historia
Etapas de la historia
 
Química orgánica
Química orgánicaQuímica orgánica
Química orgánica
 
2015 002-7c
2015 002-7c2015 002-7c
2015 002-7c
 
A_TITULO PROFESIONAL.PDF
A_TITULO PROFESIONAL.PDFA_TITULO PROFESIONAL.PDF
A_TITULO PROFESIONAL.PDF
 
resume2
resume2resume2
resume2
 
Fuego
FuegoFuego
Fuego
 
Cómo escribir para la web
Cómo escribir para la webCómo escribir para la web
Cómo escribir para la web
 
Test2
Test2Test2
Test2
 
Aporte individual
Aporte individualAporte individual
Aporte individual
 
3
33
3
 
LinuxONE + Cloud, IBM SolutionsConnect 2015
LinuxONE + Cloud, IBM SolutionsConnect 2015LinuxONE + Cloud, IBM SolutionsConnect 2015
LinuxONE + Cloud, IBM SolutionsConnect 2015
 
Ltr RecCDA
Ltr RecCDALtr RecCDA
Ltr RecCDA
 
13908241 almanaque-de-brincadeiras-eliseu-de-oliveira
13908241 almanaque-de-brincadeiras-eliseu-de-oliveira13908241 almanaque-de-brincadeiras-eliseu-de-oliveira
13908241 almanaque-de-brincadeiras-eliseu-de-oliveira
 
university certificate
university certificateuniversity certificate
university certificate
 
Rai Lakshmi spl (2)
Rai Lakshmi spl  (2)Rai Lakshmi spl  (2)
Rai Lakshmi spl (2)
 
HSC Certrificate
HSC CertrificateHSC Certrificate
HSC Certrificate
 
Hans-2 copy
Hans-2 copyHans-2 copy
Hans-2 copy
 
17. ii feria empresarial 2013
17. ii feria empresarial 2013 17. ii feria empresarial 2013
17. ii feria empresarial 2013
 
producto final
producto finalproducto final
producto final
 

Plus de Andrew Shitov

The Joy of Smartmatch
The Joy of SmartmatchThe Joy of Smartmatch
The Joy of Smartmatch
Andrew Shitov
 

Plus de Andrew Shitov (20)

Perl6 one-liners
Perl6 one-linersPerl6 one-liners
Perl6 one-liners
 
Creating a compiler in Perl 6
Creating a compiler in Perl 6Creating a compiler in Perl 6
Creating a compiler in Perl 6
 
Fun with Raspberry PI (and Perl)
Fun with Raspberry PI (and Perl)Fun with Raspberry PI (and Perl)
Fun with Raspberry PI (and Perl)
 
Perl6 in-production
Perl6 in-productionPerl6 in-production
Perl6 in-production
 
Параллельные вычисления в Perl 6
Параллельные вычисления в Perl 6Параллельные вычисления в Perl 6
Параллельные вычисления в Perl 6
 
AllPerlBooks.com
AllPerlBooks.comAllPerlBooks.com
AllPerlBooks.com
 
Perl 6 for Concurrency and Parallel Computing
Perl 6 for Concurrency and Parallel ComputingPerl 6 for Concurrency and Parallel Computing
Perl 6 for Concurrency and Parallel Computing
 
The Joy of Smartmatch
The Joy of SmartmatchThe Joy of Smartmatch
The Joy of Smartmatch
 
YAPC::Europe 2013
YAPC::Europe 2013YAPC::Europe 2013
YAPC::Europe 2013
 
Perl 7, the story of
Perl 7, the story ofPerl 7, the story of
Perl 7, the story of
 
Язык программирования Go для Perl-программистов
Язык программирования Go для Perl-программистовЯзык программирования Go для Perl-программистов
Язык программирования Go для Perl-программистов
 
Как очистить массив
Как очистить массивКак очистить массив
Как очистить массив
 
What's new in Perl 5.14
What's new in Perl 5.14What's new in Perl 5.14
What's new in Perl 5.14
 
Что нового в Perl 5.14
Что нового в Perl 5.14Что нового в Perl 5.14
Что нового в Perl 5.14
 
Perl6 grammars
Perl6 grammarsPerl6 grammars
Perl6 grammars
 
Text in search queries with examples in Perl 6
Text in search queries with examples in Perl 6Text in search queries with examples in Perl 6
Text in search queries with examples in Perl 6
 
There's more than one way to empty it
There's more than one way to empty itThere's more than one way to empty it
There's more than one way to empty it
 
Perl 6 by example
Perl 6 by examplePerl 6 by example
Perl 6 by example
 
How to clean an array
How to clean an arrayHow to clean an array
How to clean an array
 
Perl 5.10 и 5.12
Perl 5.10 и 5.12Perl 5.10 и 5.12
Perl 5.10 и 5.12
 

‎Откуда узнать про Perl 6‎