. .

YAPC::EU 2010 - The Renaissance of Perl

 

Follow


Perl 6: Prince of Parsea

Perl 6: Prince of Parsea

By Carl Mäsak (‎masak‎)
Date: Friday, 6 August 2010 12:00
Duration: 50 minutes
Target audience: Intermediate
Language: English
Tags: backtracking debugger dsl evil game metaphor parsing regex time travel ultimate vizier


Whether you're 'old skool' and think that Prince of Persia is about climbing your way up from the dungeons, duelling guards, drinking magic potions, and meeting the old vizier Jaffar in an epic battle; or you belong to the newer crowds who think that Prince of Persia is about battling all kinds of monsters using a dagger which can turn back time in moments of danger -- the fact is that both of these stories share an uncanny number of aspects with regexes, grammars and parsing in Perl 6. Watch as we parse ourselves out of the dungeons, battle ever more dangerous grammars, and even make use of the powerful but treacherous capability of jumping back through... time itself.

Some highlights of the talk: why GOSUB isn't enough for backtracking, how to debug your grammar, and an introduction to the amazing Thompson engine.

Carl Mäsak constantly tries (and fails) to be an evil vizier. He has travelled far and wide in search of a time-bending dagger, but so far only found a supersonic sewing needle, a collapsible neutron star, and a blowfish with an oedipus complex. Pending world domination, his vices include submitting Rakudo bugs, writing Perl 6 code, and being loud in mostly productive ways.


Attended by: Markus Pinkert (‎Bedivere‎), Steffen Schwigon (‎renormalist‎), Clinton Gormley (‎DrTech‎), Andrey Shitov (‎ash‎), Karl Rune Nilsen (‎krunen‎), Aaron Crane (‎arc‎), Damian Conway (‎damian‎), David Faux, Leon Timmermans (‎leont‎), Martin Berends (‎mberends‎), Patrick Michaud (‎Pm‎), lorenzo, Aldo Calpini (‎dada‎), Heinz Knutzen, Francesco Rivetti (‎oha‎), Jonathan Worthington (‎jnthn‎), Nelson Ferraz, Bálint Szilakszi (‎szbalint‎), Gabor Szabo (‎szabgab‎), Mark Morgan, Nuno Carvalho (‎smash‎), Bernhard Schmalhofer (‎bernhard‎), Stefano Rodighiero (‎larsen‎), Adde Nilsson, valerio crini, Erik Johansen (‎uniejo‎), Olivier Mengué (‎dolmen‎),

Our sponsors

Platinum

  • Booking.Com
  • YAPC::Europe 2009
  • cPanel

Gold

  • Shadowcat
  • 123 people
  • Venda
  • Dada

Silver

  • YAPC::Europe Foundation
  • Smart Open Software
  • MySQL
  • Exonetric
  • pair Networks

Supporters

  • GitHub
  • Italpro
  • Geoesse
  • $foo Perl Magazin
  • Lokku
  • Apress
  • No Starch Press
  • O'Reilly Media
  • NET-A-PORTER

Media Partners

  • Linux Magazine

Patronage

  • Regione Toscana
  • Comune di Pisa