This file is part of the Perl 6 Archive

Note: these documents may be out of date. Do not use as reference!

To see what is currently happening visit http://www.perl6.org/

Perl 6 Summary for 2005-08-15 through 2005-08-22

All~

Welcome to another monday summary, which hopefully provides some evidence that mondays can get better. It always feels like writing summaries is an uphill battle, perhaps I should switch to writing about Perl 6 Language first and Perl 6 Compilers last. Then it will be downhill... Maybe next time.

Perl 6 Compilers

More Random Pictures

Autrijus posted links to two more images he had created. This time the images were not about pugs, but were just kind of cute. He also provided an explanation of one when prompted.

groups-beta.google.com#b37e4512b56d673a

Methods as Functions

Yiyi Hu noticed that a method of one argument could not be used as function. Autrijus offered Yiyi a commit bit, but also kindly posted the resolution to Perl 6 Language. Thanks Autrijus!

groups-beta.google.com#764485d7f50ba0d6

Methods on Code Blocks

Yiyi Hu discovered that { a b c }.paris would cause pugs to spin out of control. Luke Palmer fixed it. Hopefully one of the two of them added a test...

groups-beta.google.com#c8c3fa783e9e12ff

Autrijus's Secret Sauce

Kris Bosland asked a few question I have been wondering about Autrijus new graphics. Autrijus kindly provided the answers.

groups-beta.google.com#8e32342c5609a396

Documentation Attack

Kevin Tew has decided the best way for him to delurk is to update documentation for Pugs. chromatic and Dudley Flanders both provided support, information, and suggestions for him.

groups-beta.google.com#61b3de1e503a2079

Neko VM

Nicolas Cannasse announed his release of a high level multi language VM and wondered what others thought of creating a Perl 6 to to Neko compiler. Autrijus and Leo provided a few corrections and comments.

groups-beta.google.com#72f5247ee7649c7f

Parrot

The FAQ, She is GONE!

Amias Channer noticed that the faq on parrotcode.org was gone. While he was warnocked, the faq appears to be back.

groups-beta.google.com#f603de821bd82788

Platform Specific C Files

Stephen Hill wanted to know where to put a platform specific C file to provide missing functionality. Leo provided a few friendly pointers.

groups-beta.google.com#1e57f5a3d76d39be

TclArray.get

Amos Robinson provided an implementation of "get" for TclArray. Will greatfully applied the patch.

groups-beta.google.com#1b62eeff558fafbf

ICU Being Passed Up

Adrian Lambeck wondered if icu was being passed up by Configure.pl. Warnock applied. So Adrian took matter into his own hands by providing a possible solution. Jerry Gay offered to take ownership of the problem if no ICU enabled soul picked it up. No progress reports since then though...

groups-beta.google.com#09a158e118872b35

groups-beta.google.com#c210aa89ce13cb84

Java on Parrot

Tim Bunce asked some preliminary questions about Java on Parrot. I provide preliminary answers, and Nattfodd and Autrijus posted links to related work. The important question of what it should be called remained unraised. I vote for "Jot".

groups-beta.google.com

gdbmhash.t Failures

Tim Bunce noticed that gdbmhash.t was failing with an unhelpful error message. Andy Dougherty provided a patch that made the error message slightly more helpful. Jerry Gay applied it.

groups-beta.google.com#04198072ba7640e3

BEGIN Blocks

Leo posted some thoughts and information about BEGIN blocks in Perl 6 and the @IMMEDIATE pragma in PIR, it involved creating constant PMCs and freezing them into the bytecode. Then he made it work.

groups-beta.google.com#ff59334843ed8a09 -- thoughts

groups-beta.google.com#6d17bfa68979833b -- actions

Amber for Parrot

Citing chatter overheard on its intelligence networks Parrot raised the terror alert to Amber, or maybe Roger Browne released version 0.2.3 of his "Eiffel-like" scripting language, Amber. I can never keep track of these things.

groups-beta.google.com#50d2592e48e9fca6

Tcl parray

Amos Robinson offered to provide an implementation of Tcl's parray inluding tests. Will wanted to apply it, but the attachment did not come through.

groups-beta.google.com#98355c62212be267

Parrot vs Neko

Nicolas Cannasse wondered why Parrot performed so poorly on the fib benchmark. Leo explained that this benchmark stressed a currently unoptimized portion of parrot (function calls). He also provided a few pointers on which benchmarks parrot did well on.

groups-beta.google.com#6c3a82da7890e791

Using PMCs from C

Klaas-Jan Stol's Lua compiler uses only PMCs. Thus he wanted to know how to access these PMCs from NCI functions. Leo provided an answer, but also suggest he looked at the new calling conventions which would do auto-conversion in both directions.

groups-beta.google.com#c6056fdb34ba43ee

PMC for Reference Counting

Nicholas Clark posted a relatively full analysis of how the DODs registration system could be generalized for further reuse. He also asked for ideas about names. I think the whole thing looks good and that AddrRegistry is a good name. Perhaps that has too many vowels... AddrRgstry and sometimes AddrRgstr might work.

groups-beta.google.com#11797f657fac9f96

Perl 6 Language

Type Inferencing in Perl 5

Autrijus (while discussing type inference in Perl 6) recalled that there was a google summer of code project on Type Inferencing in Perl 5. Gary Jackson, the summer coder, provide a more detailed description of his work.

groups-beta.google.com#c3fb0f3d9389ac94

+"hello"

Daniel Brockman wondered if +"hello" still evalutated to a NaN. Larry reasoned that it might and then went on to speculate about the what the extra exception information would do when a Num gets jammed into a num.

groups-beta.google.com#9a8a8d8ae66896a5

Generic Classes

Autrijus was confused by the frequent use of generic classes as he thought that only roles were type parameterizable. Larry explained that roles could be promoted to classes pretty easily but that the distinction between them was still useful and meaningful.

groups-beta.google.com#b2923a4a9bc6a21f

GC API

David Formosa posted a revised GC API after the previous discussion. More discussion ensued.

groups-beta.google.com#002483f30c6191a0

Name Conflicts

Yiyi Hu wondered what would happen if two lexicals were declared with different declarators. Larry answered that it would be a compile time error.

groups-beta.google.com#e07672b3e69f9a23

Parsing Numbers

Ingo Blechschmidt posted a list of different possible ways to write numbers, asking which were valid and which not. Many weighed including Larry.

groups-beta.google.com#bce78cf3287e4b20

Bindings and Routine Signatures

Luke Palmer noticed that if one implemented binding as anonymous subroutines, then binding existing variables created delimited continuations and binding globals full continuations. While intersting, Warnock applies.

groups-beta.google.com#ae4d28708146c1f7

visibilty of $?SELF and $?CLASS

Stevan Little wondered what scopes would have $?SELF and $?CLASS available to them. Larry provided answers.

groups-beta.google.com#814d5f890cb8a43c

"Time to take her home her dizzy head is conscience laden"

Amusingly enough the thread about time has a big gap between July 5 and August 15... The thread also reminded me why I have an analog watch.

groups-beta.google.com#a10c571d683f9567

Is Params::Validate Necessary?

Dave Rolsky hoped that Params::Validate would no longer be necessary in Perl 6. This led to much discussion of the parameter declaration syntax in Perl 6 and a few suggested changes.

groups-beta.google.com#f627657ac28724cb

Constants are Dead; Long Live Read-only!

Apparently is constant has been replaced by is readonly . The discussion contains mores than that, but that is my take away point.

groups-beta.google.com#66d074fed528ff06

Multidimensional Hyper Ops

Luke Palmer wondered how hyper ops would work on multi dimensional inputs. The short answer is recurse then possible, apply when not.

groups-beta.google.com#ca18a76f98fb7633

Serializing Code

Yuval Kogman posted an analysis of a new HTML::Prototype module that hings on serializing code between the various layers of implementation. Many folks thought this was cool and discussion ensued.

groups-beta.google.com#86deff4c1b749572

Slurpy Hash

Luke Palmer wondered if one could bind a slurpy hash by name. The answer is no.

groups-beta.google.com#67cb807fbf3e4432 -- question

groups-beta.google.com#b01cfbfae84f0990 -- answer

Making Pairs Less Magical

Luke Palmer wants pairs to be less magical, as their special treatment has caused much confusion of late. Much discussion continues.

groups-beta.google.com#e9b1e791ac08d43b

Lazy Scalars?

Yiyi Hu wants scalars that are evaluated lazily. Ingo Blechschmidt, Luke Palmer, and Larry all provided ways to achieve that ends. The simplest solution is to create an anonymous closure it seems.

groups-beta.google.com#5675c9fddfb1612a

Using Foreign Languages

Ingo Blechschmidt wondered how to use identifiers from other languages which do not have compatible identifiers. Yuval reasoned that it would be dangerous to try and accomodate them to closely. Perhaps something like the Sinhala "karenawa" which marks the preceding word as being foreign (english specifically).

groups-beta.google.com#8e313d44d1218bf5

Symbolic References

Ingo Blechschmidt wondered how symbolic references of magic variables like $?SELF would be done. Larry provided a few answers.

groups-beta.google.com#fa397dbfbefc62c2

The usual footer

To post to any of these mailing lists please subscribe by sending email to <[email protected]>, <[email protected]>, or <[email protected]>. 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 [email protected]

donate.perl-foundation.org -- The Perl Foundation dev.perl.org -- Perl 6 Development site planet.parrotcode.org -- Parrot Blog aggregator