Tonight at the Toronto Perlmongers monthly meeting we heard from Richard Dice about the current state of Perl6, as seen through the lens of Pugs. Just thought I'd post my notes of the evening, in case anyone has any further comments or clarifications.

Pugs is an implementation of Perl6, initiated by Audrey Tang, with Perl6 language ideas that come from Larry Wall and Damian Conway. It's a way of testing out the language before it's written, or even while it's being developed, which I think is simultaneously a huge challenge and a very cool piece of code.

Pugs is available via Subversion and is written in Haskell .. just check out a copy of the source from the Pugs web site, do the usual ./configure, make, make test and make install as root, as you're ready to go. (Oh, and don't worry about any tests that fail -- Richard says Audrey has encouraged folks to write tests that test Pugs, and she'll get to implementing the missing bits as time permits.

We only touched on a few parts of perl6 (or rather, Pugs -- well, OK, Perl6) in the meeting, but we did spend some time going over a concept called captures. It seems that these contructs are used as a collection of scalars, arrays and hashes, and one use is to 'partially construct' the parameters to an object. Later on, this construct can be re-used to fully specify the object. This construct was also referred to as 'currying', something that I hear about every now and then, but -- having an Engineering degree and not a Computer Science Degree -- I don't usually remember what 'currying' is all about (no food jokes please).

This strikes me as odd, but I will admit that I'm coming into this knowing almost nothing about Perl6, so I don't know what problem this is trying to solve, whether it's a work in progress, or whether I just Don't Understand It All Yet.

Anyway, I will install svn and Haskell on my FC6 machine, get Pugs, build it and try a few things out .. you just never know when Perl6 will be just around the corner ..

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Update: For FC6 users, yum install subversion to get Subversion, and yum install ghc for the Haskell compiler (all 32M of it).


In reply to Perl6, Pugs and captures by talexb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.