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-02 through 2005-08-10

All~

Welcome to another summary, brought to you by chinese food. The attentive among you will notice that this summary is a day late, because I did not feel like doing it yesterday. If only I could do that at work...

Perl 6 Compilers

Pugs Argument Processing

Vadim Konovalov submitted a patch to pugs affecting @*ARGS processing. Maybe it got applied, maybe not, Warnock applies.

groups-beta.google.com#a60044757ceb3e61

Type Inferencing

Autrijus wants to type push perl 6's type inferencing as far as it can go (and maybe a little beyond). To this end he has been soliciting input from all comers. It looks like he has put a lot of thought and research into it. One day I expect to be thanking Autrijus for important (if likely difficult to understand) compiler errors and warnings..

groups-beta.google.com#e4a4dc51ec90239f

WWW::Kontent Release

Brent 'Dax' Royal-Gordon announced the release of WWW::Kontent 0.01: "a flexible web content management system written in Perl 6 and executable with Pugs". It looks nifty to me... Maybe we need to fight Ruby on Rails with Perl 6 on Pylons or something. That doesn't quite have the right ring to it... there has to be something catch there somewhere.

groups-beta.google.com#f11a7310269764d7

Array Interpolation

Phil Crow wondered why his arrays were not being interpolated in pugs. Ingo Blechschmidt and Patrick explained that "@foo" does not interpolate, but "@foo[]" does. I sense a frequently asked question here...

groups-beta.google.com

Pugs 6.2.9 Released

Autrijus announced the release of Pugs 6.2.9. It is full of nifty new feaures including the ability to lay on hands!

groups-beta.google.com#f9e5fa2b6e17c67b

Whitespace Before Parens

Andrew Shitov wondered why whitespace between function name and parens was no longer allowed. Autrijus explained that it allows < print (1+2)*3 > to print 9 instead of 3. As someone who just last week explained the pecularity of ruby printing 3 in the above situation to a complete novice, I welcome the change.

groups-beta.google.com#f9e5fa2b6e17c67b

Contain Model Pictures

Autrijus posted a few pretty pictures explaining the compiler and container models. While the compiler model was readily understandable to me, the container one wasn't. Fortunately, when prompted Autrijus provided a great explanation to accompany the diagram.

groups-beta.google.com#c0a37ac28a00a3d2 -- thread

pugscode.org -- containers

pugscode.org -- compilation

PxPerl 5.8.7-4

Upon discovering that Pugs released a new version, Gr\xE9goire P\xE9an released a new version of PxPerl that includes the new Pugs. I (and many others) thank Gr\xE9goire for lowering the entry bar for Perl 6 hacking on windows.

groups-beta.google.com#588edb288e8527c7

Hosting Lexical Declarations

Declaring lexicals mid block confuses things, expecially declaring them mid statement as in $x = $x + my $x if $x; . Autrijus proposed hoisting declarations of lexicals to the top of the block. Unfortunately, this can make CALLER:: do funny things. Thus, he suggests outlawing it. Larry agreed.

groups-beta.google.com#4814ff30475fc03e

Parrot

export LD_LIBRARY_PATH

Bdonlan noticed that parrot's test suite was not setting LD_LIBRARY_PATH which makes tests fail. Leo pointed out that most users manually set their LD_LIBRARY_PATH as parrot often needs this, but he agreed that the tests should do it just in case.

groups-beta.google.com#25db76653bac717d

Improved Argument Processing for ops2c.pl

Tom submitted a patch which improves the command line argument processing powers of ops2c.pl. Warnock applies.

groups-beta.google.com#5d25c6b934119abe

ANSI Escape Codes in Parrot

Klaas-Jan Stol was having trouble putting special characters like ANSI clear screen and "\xA5" into strings. Nick pointed out that he need to be careful with encodings and escapes. In parrot "\O" is an octal escape, in Lua it is apparently not.

groups-beta.google.com#896d89835150a493

Parrot 0.2.3

Leo announced the release of Parrot 0.2.3 "Serenity", which reminds me, Firefly is coming back soon!! I can't wait! Oddly google seems to have swallowed his release notice but not his warnings...

groups-beta.google.com#4ac938caaa6ff298

Strange Filename Based Bug

Michal Wallace found a bug that would disappear if the file was renamed. Leo, with the help of valgrind, provided Michal with a pointer. Michal used that to find a likely culprit and provide a patch, which Leo then refined.

groups-beta.google.com#2b5afda2517c90bd

GDBM Hash on MinGW

Fran\xE7ois Perrad provided a patch fixing gdbmhash on MinGW. Bernhard Schmalhofer applied it.

groups-beta.google.com#8bb0656904124f4c

PyString Link Problem

Fran\xE7ois Perrad also fixed a link problem with pystring.o. Jonathan Worthington applied that patch.

groups-beta.google.com#b10f19b834c85c0d

Filling a Large Data Structure

Amir Karger wanted to know how to fill a large data structure in PIR other than explicitly. Leo suggested reading them in from a config file.

groups-beta.google.com#f1899af22d2a289e

Helping Perl 6

rjtucke asked the ever dangerous question "How can I help?". Unfortunately, I think he asked it on google groups, and thus no one saw it and warnock applies.

groups-beta.google.com#eb025a6949933347

PGE Glob Escapes

PGE Glob Escapes millions die before it can be rounded up again. Actually Will Coleda noticed that he could not add a literal * to globs in PGE. Patrick fixed it so he could.

groups-beta.google.com#3f587ac32513e71e

Language Test Requirements

Amir Karger has decided to write a Z-code-to-PIR translator. He wants its test suite to be integrated with Parrot's language tests. Unfortunately it does not use Test::Simple or even perl. Thus he wanted to know a good way to integrate it. Will Coleda, Bernhard Schmalhofer, and chromatic all helped provide suggestions.

groups-beta.google.com#1f18c584c09e5053

mod_parrot 0.3

Adrian Lambeck provided a patch to fix src/call_list.txt for mod_parrot-0.3. chromatic applied it.

groups-beta.google.com#b52140fff1d78310

Making Makefile a Little to Clean

Patrick noticed that the parrot build was breaking. Jonathan Worthington narrowed it down to an exact revision number. Leo realized his mistake and fixed it.

groups-beta.google.com#e85db560e0496873

Cygwin Status

Bernhard Schmalhofer applied some old patches from Joshua Gatcomb in the hope of getting cygwin better supported. Nick Glencross provided needed test results

groups-beta.google.com#98038a170b66dea6

groups-beta.google.com#635220a375758f6d

Calling SUPER methods

Klaas-Jan Stol wondered how to call a specific parent methods (possibly bypassing child methods). Leo provided a method.

groups-beta.google.com#0ab141d87d211369

Adrian Lambeck was having trouble compiling Pugs against Parrot. Leo worked with him to find a solution, although one has not been found yet.

groups-beta.google.com#dedda1b8cd1df427

Pure Parrot Test::Builder

chromatic has written pure parrot versions of Test::Builder and Test::Builder::Tester. As always patches are welcome.

groups-beta.google.com#bdec8011da7b4800

Adding a New Opcode

Gerd Pokorra wanted to know how to add a new opcode to parrot. Klaas-Jan Stol and Leo provided answers.

groups-beta.google.com#b1d018e3114ce1f1

Fran\xE7ois Perrad provided several patches for MinGW and Win32. Warnock appliew.

groups-beta.google.com#a48d4d6482a9b13b

Update intro.pod

Jonathan Worthington posted an updated intro.pod. Autrijus provided a few edits, and Jonathan is planning on committing it.

groups-beta.google.com#41d4393ec1a5e334

Comment Fix in pir-mode.el

Jim McKim made the mistake of using emacs. Fortunately he counterbalanced that failing with the virtue of submitting a patch to fix an error in pir-mode.el file work better. chromatic applied the patch.

groups-beta.google.com#53d23545fd068850

commit bit

Curtis Rawls seemed to be having trouble using his newly acquired commit bit. Warnock applies.

groups-beta.google.com#95e0762f7e93b784

Segfault with -E

Tom noticed that parrot -E segfaults and provided a patch. He was not very confident about the patch, and warnock applies.

groups-beta.google.com#2518470dafaa44f2

make test in bc

Amir Karger noticed that make test in bc dies because antlr is not installed. Bernhard Schmalhofer said that he would try and fix it up to use the config-test for antlr.

groups-beta.google.com#e03cba61e9968bca

interpreter.c Breakage

Amir Karger noticed that a break in interpreter.c. Leo pointed out that he need to make realclean.

groups-beta.google.com#20a4e2bc68c05819

MinGW Meets m4

Fran\xE7ois Perrad provided two patched to make m4 work on MinGW. Warnock applies.

groups-beta.google.com#f6ba5da370dc450d

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, and the explanation from Leo that substr was a call that would probably force parrot to rectify variable width encodings into fixed width ones (which parrot does lazily). Then he fixed it (presumably as he had suggested).

groups-beta.google.com#72e13310f799ff92

Parrot Cygwin Meets Treefrog

Steve "treefrog" posted a patch he needed to get cygwin testing. I think he may have posted it to google group directly though. Warnock applies.

groups-beta.google.com#f0d9ef39989dd4a6

call opcode cleanups

Leo attempted to free himself from the horns of warnock by reposting his suggested call opcode clean up. Patrick and I voidced our support. More accurately I voice support and Patrick indifference.

groups-beta.google.com#8c637a3801067f3a

Complex Control Flow

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

groups-beta.google.com#4fb0b85a4f5ffa2c

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.

groups-beta.google.com#307e6736ab46b391

Does If Topicalize

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

groups-beta.google.com#380c684482e0bb78

Data Constructors

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

groups-beta.google.com#fb0eaa8a7b334f4d

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.

groups-beta.google.com#f6cbeb1d58f527a8

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.

groups-beta.google.com#6b9a07062460e34c

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 do fill in the blanks.

groups-beta.google.com#abc3309f3107553b

Subscripting Pairs

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

groups-beta.google.com#5367cfdd8bda29e8

Perl 6 Test in Parrot 0.2.3

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

groups-beta.google.com#17263f56385a6b31

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).

groups-beta.google.com#c49c08621487c7f6

Meta Object Questions

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

groups-beta.google.com#6db35ec67d56d088

groups-beta.google.com#13a663d95a5b23db

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.

groups-beta.google.com#4fcbb26681d490eb

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 some of which said it didn't.

groups-beta.google.com#728ad09f9782b179

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