Sign In/My Account | View Cart  
advertisement


Listen Print

This Week in Perl 6, August 2-9, 2005
by Matt Fowles | Pages: 1, 2, 3

MinGW Meets m4

François Perrad provided two patches to make m4 work on MinGW. Warnock applies.

substr Segfault

Will Coleda posted a short PIR test that will segfault in the substr opcode. This led to some discussion of variable-width encodings. Leo explained that substr was a call that would probably force Parrot to rectify variable-width encodings into fixed-width ones (which it does lazily). Then he fixed it (presumably as he had suggested).

Parrot Cygwin Meets Treefrog

Steve "treefrog" posted a patch he needed to get Cygwin testing. I think he may have posted it to Google Groups directly, though. Warnock applies.

Call Opcode Cleanups

Leo attempted to free himself from the horns of Warnock by reposting his suggested call opcode cleanup. Patrick and I voiced our support. More accurately, I voiced support and Patrick indifference.

Perl 6 Language

Complex Control Flow

Nigel Hamilton began speculating that Perl 6 might have an extremely complicated control flow. Then he began to wonder aloud about a form of control flow I can only describe as brain-melting. Luke Palmer suggested that his proposal might best start as a module.

Slurpy Parameters and Flattening

Ingo Blechschmidt's question of the flattening (or not) of slurpy params continued producing some suggestions. Piers seemed somewhat unhappy with earlier answers, but the thread died out.

Does if Topicalize?

Luke Palmer noticed if foo() -> $foo { ... } in an OSCON talk and wondered if if now topicalized. Stuart Cook offered a workaround.

Data Constructors

Luke Palmer posted his thoughts on unifying units and data constructors (as in Haskell or ML). Warnock applies.

Calling Methods on undef

Ingo Blechschmidt wondered what would happen if he called undef.chars or char undef. Brent "Dax" Royal-Gordon responded that it would return undef in the absence of use fatal. Larry confirmed this behavior.

Reassigning .ref and .meta

Ingo Blechschmidt wondered what would happen if he assigned to .ref or .meta. Luke Palmer figured that it would not be allowed. I think it should cause a large person to come over to your house and kick you. This is probably a good reason I don't write error messages.

Questioning .ref and .meta

Ingo Blechschmidt left a bunch of blanks for people to fill in with respect to .ref and .meta. Luke Palmer apparently segfaulted in the attempt to fill in the blanks.

Subscripting Pairs

Ingo Blechschmidt wondered if one could subscript pairs. Larry declared no.

Perl 6 Test in Parrot 0.2.3

Andrew Shitov was having trouble running Perl 6 under the latest Parrot. Autrijus pointed out that he was trying to run the compiler attempt abandoned in June of 2004 and then pointed him toward Pugs.

Java -> Perl ?

Tim Bunce wondered if any work had started on parsing Java interface definitions and translating them to Perl 6. Warnock applies (which probably means no).

MetaObject Questions

Stevan Little posted some of his thoughts on the MetaObject internals for comment. Many questions ensued, my eyes glazed over, the summarizer punted.

defined and typed Traits

Autrijus mused about how to deal with defined and typed traits in Perl 6. This led Larry to wonder about undef being a class, or a class being undef, or something confusing.

is constant Sugar

Autrijus wondered how is constant would desugar if it were a special form. Larry came up with suggestions, some of which said it desugared and some of which said it didn't.

The Usual Footer

To post to any of these mailing lists please subscribe by sending email to perl6-internals-subscribe@perl.org, perl6-language-subscribe@perl.org, or perl6-compiler-subscribe@perl.org. If you find these summaries useful or enjoyable, please consider contributing to the Perl Foundation to help support the development of Perl. You might also like to send feedback to