Perl6の内部表現

Takahiro Shimizu

このセッションの内容

Perl6とは

Perl6のソースコード概要

my $str_value = 'hello world!';
$str_value.say; # hello world!
my $sample_value = 'hello world!';
$sample_value.say; # hello world!

$sample_value = '31';
$sample_value.say; # 31

say($sample_value * 3);

Perl6の言語的な特徴

my Int $int_value  = 31;
$int_value = "hello"; # Compile error!

Perl6の処理系の構成

Perl6とNQP

バイトコード