Skip to content

Instantly share code, notes, and snippets.

View ingydotnet's full-sized avatar

Ingy döt Net ingydotnet

View GitHub Profile
I <b class="honky">like</b> pie!
---
block map:
foo: bar
flow map: { foo: bar,
baz: [boom, boom] }
block sequence:
- yes
- we
- can
flow sequence: [no, you, can't]
Class('Foo.Bar', [jQuery], function($) {
this.isa('Foo');
this.extend({
method1: function() {
},
method2: function() {
}
});
class Foo;
method xyz($name) {
say ">> $name";
}
[perl][utf-8:unix]~/Foo.pm 1:1 20%
my $class_name = 'Foo';
$value = "x y z";
say "> $value";
say ">> " ~ $value.WHAT;
$context.value = $value;
say ">>> " ~ $context.value;
----
> x y z
> cat test.pl
use TestML::Parser;
use YAML;
my $testml = '
# A comment
%TestML: 1.0 #A line comment
%Plan: 2
%Title: O HAI TEST
== 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
== 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
servers = (
{
address = "irc.freenode.net";
chatnet = "freenode";
port = "6667";
use_ssl = "no";
ssl_verify = "no";
autoconnect = "yes";
},
{
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