This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I <b class="honky">like</b> pie! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
block map: | |
foo: bar | |
flow map: { foo: bar, | |
baz: [boom, boom] } | |
block sequence: | |
- yes | |
- we | |
- can | |
flow sequence: [no, you, can't] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class('Foo.Bar', [jQuery], function($) { | |
this.isa('Foo'); | |
this.extend({ | |
method1: function() { | |
}, | |
method2: function() { | |
} | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo; | |
method xyz($name) { | |
say ">> $name"; | |
} | |
[perl][utf-8:unix]~/Foo.pm 1:1 20% | |
my $class_name = 'Foo'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$value = "x y z"; | |
say "> $value"; | |
say ">> " ~ $value.WHAT; | |
$context.value = $value; | |
say ">>> " ~ $context.value; | |
---- | |
> x y z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> cat test.pl | |
use TestML::Parser; | |
use YAML; | |
my $testml = ' | |
# A comment | |
%TestML: 1.0 #A line comment | |
%Plan: 2 | |
%Title: O HAI TEST |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Rakudo *'s Really Really Release Ready | |
How do you know when a new programming language is ready to be released? You try porting a real software framework to it. I recently completed a port of a Perl 5 framework to the Rakudo implementation of Perl 6, and guess what? It just works! This is my story... | |
After only a short ten year wait, a Perl 6 implementation is scheduled for release this month. Rakudo * (aka Rakudo Star) 1.0 will be inaugurated on July 29th, 2010. Is it ready? That certainly depends on your expectations, but I am here to make the case that it is a usable programming language with at least one killer feature that will interest programming language addicts (like me). | |
I am an <a href="http://acmeism.org">Acmeist Hacker</a>, which is to say that I only like to work on projects that serve many programming languages. I have lots of these projects: <a href="http://yaml.org">YAML</a>, <a href="http://testml.org">TestML</a> and <a href="http://jsync.org">JSYNC</a> are three that I have been activ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Rakudo *'s Really Really Release Ready | |
How do you know when a new programming language is ready to be released? | |
You try porting a real software framework to it. I recently completed a | |
port of a Perl 5 framework to the Rakudo implementation of Perl 6, and | |
guess what? It just works! This is my story... | |
After only a short ten year wait, a Perl 6 implementation is scheduled | |
for release this month. Rakudo * (aka Rakudo Star) 1.0 will be | |
inaugurated on July 29th, 2010. Is it ready? That certainly depends on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
servers = ( | |
{ | |
address = "irc.freenode.net"; | |
chatnet = "freenode"; | |
port = "6667"; | |
use_ssl = "no"; | |
ssl_verify = "no"; | |
autoconnect = "yes"; | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use TestML -run; | |
sub upper { uc $_[0]->value } | |
__END__ | |
%TestML: 1.0 | |
*in.upper() == *out; | |
=== Uppercase a string works | |
--- in: o Hai Frend | |
--- out: O HAI FREND |
OlderNewer