Day 5: Raku & Pakku

A hobby One day I woke and decided I want to learn programming as a hobby. For someone who doesn’t know much about the subject other than writing a few Bash scripts, words like Functional Programming, Object Oriented or even the word class by itself were mysterious. Lost Doing my research to find out whereContinue reading “Day 5: Raku & Pakku”

Day 4: Parsing Clojure namespace forms using Raku grammars

One day, I started wondering if it would be possible to parse Clojure namespace forms and generate a dependency graph of the various namespaces used in a real-world Clojure project. While that was the original motivation, I ended up down the Raku grammar rabbit hole, and had an enjoyable time learning how to use them.Continue reading “Day 4: Parsing Clojure namespace forms using Raku grammars”

Day 3: Literate Programming with Raku

Literate Programming with Raku Different programming language communities have differing cultures. Some are more pragmatic, others more idealistic. Some place great emphasis on having code be thoroughly readable and understandable for anyone who joins an existing project, and some prefer writing out clear and in-depth documentation. Raku, inheriting one of the best parts of Perl,Continue reading “Day 3: Literate Programming with Raku”

Day 2: Perl is dead. Long live Perl and Raku.

‘Perl is dead’, is a meme that’s just plain wrong. Perl isn’t dead. It’s just dead to some programmers. Complicated regexes? Sigils? There’s more than one way to do it (TMTOWTDI)? Sometimes when programmers encounter Perl in the wild they react with fear. “WTF!?”, they cry! But fear needn’t be a Perl killer. If youContinue reading “Day 2: Perl is dead. Long live Perl and Raku.”

Day 1: Why Raku is the ideal language for Advent of Code

Now that it’s December, it’s time for two of my favorite traditions from the tech world: the Raku Advent Calendar and Advent of Code. These two holiday traditions have a fair amount in common – they both run from December 1 through Christmas, and both involve releasing something new every day during the event. Specifically,Continue reading “Day 1: Why Raku is the ideal language for Advent of Code”

It’s that time of the year

When we start all over again with advent calendars, publishing one article a day until Christmas. This is going to be the first full year with Raku being called Raku, and the second year we have moved to this new site. However, it’s going to be the 12th year (after this first article) in aContinue reading “It’s that time of the year”

RFC 265: Interface polymorphism considered lovely

A little preface with an off-topic first. In the process of writing this post I was struck by the worst sysadmin’s nightmare: loss of servers followed by a bad backup. Until the very last moment I have had well-grounded fears of not finishing the post whatsoever. Luckily, I made a truce with life to getContinue reading “RFC 265: Interface polymorphism considered lovely”

RFC 84 by Damian Conway: => => =>

RFC 84 by Damian Conway: Replace => (stringifying comma) with => (pair constructor) Yet another nice goodie from Damian, truly what you might expect from the interlocutor and explicator! The fat comma operator, =>, was originally used to separate values – with a twist. It behave just like , operator did, but modified parsing toContinue reading “RFC 84 by Damian Conway: => => =>”

RFC 200, by Nathan Wiger: Revamp tie to support extensibility

Proposed on 7 September 2000, frozen on 20 September 2000, depends on RFC 159: True Polymorphic Objects proposed on 25 August 2000, frozen on 16 September 2000, also by Nathan Wiger and already blogged about earlier. What is tie anyway? RFC 200 was about extending the tie functionality as offered by Perl. This functionality in Perl allows one to inject program logic into the system’s handling ofContinue reading “RFC 200, by Nathan Wiger: Revamp tie to support extensibility”