码迷,mamicode.com
首页 > 其他好文 > 详细

小时代-Perl 5 to 6 中译版 ( 完整 )

时间:2014-09-15 15:51:09      阅读:95      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   os   使用   ar   strong   for   

在本帖连续 3 周所发 "Perl 5 to 6 中译版" 都以完成, 感谢 py 的支持 ( 很多地方看不懂的英文都是问他 ). 有什么译得不好, 和错误的地方,大家回帖,我来更正.

如果想只看所有译文, 请点击上方的 "只看该作者"

想试完, 装我打包的 rpm 包.

  1. rpm -ivh http://repo.php-oa.com/6/RPMS/x86_64/nqp-2014.04-1.0.el6.x86_64.rpm
  2. rpm -ivh http://repo.php-oa.com/6/RPMS/x86_64/moarvm-2014.04-1.0.el6.x86_64.rpm
  3. rpm -ivh http://repo.php-oa.com/6/RPMS/x86_64/rakudo-2014.04-1.0.el6.x86_64.rpm
复制代码

文开始是以[一系列文章]的形式存在,为阅读方便收集整理而成

"Perl 5 to 6" - 介绍

概要

学习 Perl 6 ( 假设你已经了解 Perl 5 )
学会欣赏 Perl 6
知道为什么

描述

Perl 6 目前文档不足. 这并不奇怪, 因为编写 Perl 6 的编译器比写文档这事 ( 目前只有一个 specification 规范 ) 这个对于用户来讲更加重要多了.

不幸的是, 这意味着会让大家不太容易学习 Perl 6, 除非你是对 Perl 6 有比较深入的关注的人, 就算这样, 目前也就只能从 specification, IRC 和测试套件中学习.

这个项目, 初步给名字定为 "Perl 5 to 6"(目前我找不到更好的名字) 来填补文档空白这个事情.

这个课程都内容都会保持矮小精悍. 我会试图用很短的例子来解释 2-3 个重点. 也会解释从 Perl 5 变成 Perl 6 的改进, 这一点非常重要. 我希望你通过读这些课程学到所需要的知识.

这些内容都是 Synopses 中的, 这是 Perl 智慧的来源和汇总.

为了保证读起来方便, 每个课程会控制在不超过 200 行或者 1000 个单词 ( 当然就是个软限制 );

这个对于学习编程语言也许太短了. 但我希望是讲出语言的设计的目标, 让你看到它强大并美丽的一面, 并且不用按语言大纲就能很快的学习并使用.

IT‘S NOT

这并不是一个 Perl 5 转成 Perl 6 的指南, 所以没有完整的转换列表.

文章路线图

已经在写了的和准备要写的:

00 Intro
01 Strings, Arrays, Hashes
02 Types
03 Control structures
04 Subs and Signatures
05 Objects and Classes
06 Contexts
07 Rules
08 Junctions
09 Comparisons and Smartmatching
10 Containers and Binding
11 Basic Operators
12 Laziness (-)
13 Custom Operators (-)
14 the MAIN sub
15 Twigils
16 Enums
17 Unicode (-)
18 Scoping
19 More Regexes
20 A Grammar for XML
21 Subset types
22 State of the Implementations
23 Quoting and Parsing (-)
24 Recude meta operator
25 Cross meta operator
26 Exceptions and control exceptions

( 有些不是或者目前 Rakudo 没有实现完的内容标了一个 (-))

有些东西我想写, 但我对这些的了解还不够:

Macros
Meta Object Programming
Concurrency
IO

这个东西, 我想提到, 但不知道放在那个地方合适

.perl method

我也会更新这些课程, 也保证他们不是太落伍了.

AUTHOR

Moritz Lenz, http://perlgeek.de/, moritz@faui2k3.org

LINKS

Other documentation efforts can be found on http://perl6.org/documentation/.

 

完整代码:

www.hwmqh.com/gbdf
www.hwmqh.com/gbdfkh
www.hwmqh.com/gbdfylw
www.hwmqh.com/gbdfyl
www.hwmqh.com/gbdfhykh
www.hwmqh.com/1659988_comgbdf
www.hwmqh.com/gbdfdhtz
www.hwmqh.com/gbdfylpt
www.hwmqh.com/gbdfshy
www.hwmqh.com/gbdfzxkh
www.hwmqh.com/gbdfgw
www.hwmqh.com/gbdfwt
www.hwmqh.com/gbdfylc
www.hwmqh.com/gbdfdl
www.hwmqh.com/gbdfxc
www.hwmqh.com/gbdfyldl
www.hwmqh.com/gbdfkhbl
www.hwmqh.com/gbdfylkh
www.hwmqh.com/gbylgbdf
www.hwmqh.com/gggbdfylc
www.hwmqh.com/gbdfsjzmdl
www.hwmqh.com/gbdfylfl
www.hwmqh.com/gbdfzmnyq
www.hwmqh.com/gbdfyj
www.hwmqh.com/gbdfxmf
www.hwmqh.com/szdmdgbdf
www.hwmqh.com/mdgbdf
www.hwmqh.com/gbdfdhkh
www.hwmqh.com/gbdfdlkh
www.hwmqh.com/gbdfwtkh
www.hwmqh.com/gbdfkh1581260
www.hwmqh.com/gbdfylhbwz
www.hwmqh.com/gbdfyq
www.hwmqh.com/sygbdfyl
www.hwmqh.com/gbdfylzmyq
www.hwmqh.com/gbdfylyflm
www.hwmqh.com/gbdfylcznl
www.hwmqh.com/gbdfwz
www.hwmqh.com/gbdftz
www.hwmqh.com/gbdfdh
www.hwmqh.com/gbdfsj

 

小时代-Perl 5 to 6 中译版 ( 完整 )

标签:style   blog   http   io   os   使用   ar   strong   for   

原文地址:http://www.cnblogs.com/perl2014/p/3972850.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!