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-04-12 through 2005-04-19

All~

Sadly, a slip of the mouse cause me to delete a partially completed summary, so I am going to push ahead on the rewrite without a witty intro. Feel free to make one up for yourself involving stuffed animals, musicians, and dinner.

Perl 6 Compilers

Pugs 6.2.0

Autrijus release Pugs 6.2.0 marking the first major milestone for Pugs. This includes most of the control flow primitives of Perl 6 and is a testament to the solid work that all of the "lambdacamels" have been putting in.

groups-beta.google.com#506edf0f1f75fd18

CGI.pm and multi byte characters

B\xC1RTH\xC1ZI Andr\xE1s was having trouble encoding and decoding multi byte characters in CGI.pm. This led to a general discussion of how to escape such characters in URLs as well as when to call chr .

groups-beta.google.com#18de224db1c6456a -- discussion

groups-beta.google.com#b146ba42087af46e -- more discussion

auto currying?

Matthew D Swank wondered if he really needed an extra set of parens to simultaneously call a function generator and its generated function. Autrijus told him that yes he did as Perl 6 is not quite Haskell yet.

groups-beta.google.com#2bed10c78e871766

case insensitive P5 regex

B\xC1RTH\xC1ZI Andr\xE1s wanted to use the :i switch on P5 regexes. Autrijus implemented it, but Larry noticed that this introduced a flag ordering dependency. As a result the new way to supply flags to a perl 5 regex is rx:P5<imsxg/.../ >.

groups-beta.google.com#0a265818f9c46346

Cookbook Ettiquette

Marcus Adair wondered if there were rules of etiquette he should obey when writing examples for the Perl 6 Cookbook. In particular, should examples run and be only one file. Ovid suggested that one file was a good idea, but was open to contrary arguments.

groups-beta.google.com#0e86f5489b6951e8

Austrian Parrot/Pugs Hackathon

Thomas Klausner announced that on June 9-10 in Vienna Austria there would be a Hackathon featuring the collective might of Autrijus, Chip, Leo, and more. When that much brain power gets together only two things can happen: much hacking and much drinking.

groups-beta.google.com#12384146569d9acd

encoding illegal byte sequences in strings

B\xC1RTH\xC1ZI Andr\xE1s wanted to know if he could encode an illegal byte sequence in a string. Much discussion ensued, but Larry promised that it would be possible.

groups-beta.google.com#ba9781abcd3406ca

Test::TAP

Yuval Kogman announced the release of two new modules to CPAN which provid Pugs smoke html.

groups-beta.google.com#f27a8093b5667c5e -- announcement

nothingmuch.woobling.org -- smoke em if you got em

quoting constructs

Roie Marianer noticed that pugs was missing some quoting constructs and implemented them. This led to discussion of interoplation and corners cases. As usual Larry provided both answers and questions. Roie produced a patch which Autrijus applied.

groups-beta.google.com#f7eb1b0d77d6e3cd -- discussion

groups-beta.google.com#e7eb743f074c8f8d -- useful pugs hacking pointer

groups-beta.google.com#653a73b1f938d4e9 -- the patch

Code Block as Argument

Stevan Little found some bugs with passing a code block to a function in pugs. Warnock applies.

groups-beta.google.com#992d32212401500b

Push, Pop, Shift, and Unshift on Infinite Lists

Stevan Little has been playing with push, pop, shift, and unshift on infinite lists. He thinks he has found a bug, although maybe he just hasn't let it run long enough... Larry provided answers as to the correct semantics.

groups-beta.google.com#2f200d6cf002ecda -- shift unshift

groups-beta.google.com#41f8dcf309c64d9c -- push pop

'cd' issue in Makefile

Jonathan Worthington noticed a Win32 issue in the Makefile. He can point to the offending line in the autogenerated makefile, but that is not where it should be fixed. Warnock applies.

groups-beta.google.com#bbd547275ba2f292

hyperoperator tests

David Christensen provided a patch for hyperoperators. Unfortunately, character set transcodings ate his patch.

groups-beta.google.com#cab2f4338c64478d

shift oddity

Stevan Little noticed that shift did not act like pop. Larry noted that the example were not semantically valid, but even so Pugs should not freeze.

groups-beta.google.com#7ac0b26446af4265

Pugs SEGV

Aaron Sherman managed to make Pugs segfault. Autrijus thinks it might already be fixed.

groups-beta.google.com#758242dfd55d908d

Parrot

Dynamic Perl 2

William Coleda provide the second of his patched to move Perl*PMC out of the core. Leo applied it.

groups-beta.google.com#a14a81f3562cabb4

SVN revision in bug reports

jreiks (Jens?) reported a difficult to reproduce bug. This caused Leo to pine for having the SVN revision in the bug report. Brent 'Dax' Royal-Gordon commented that this was a good idea. Jens Rieks offered to implement it.

groups-beta.google.com#8d408c82edcb9eb0

Win32 SDL

Jerry Gay tried to get SDL working on Windows. There was some give and take, but in the end he got his wish.

groups-beta.google.com#75c590055366af40

-l/path/to/icu

Andy Dougherty provided a patch making Configure.pl provide a link flag to ICU headers if provided. Jens Rieks applied it.

groups-beta.google.com#8ebf83f7e535740e

svk and svn issues

Roger Hale noticed a small problem with parrotcode.org. Robert Spier fixed it.

groups-beta.google.com#cc3f9249ea9441a9

nci.t failure under MinGW

Fran\xE7ois Perrad fixed a MinGW test failure. Leo applied the patch.

groups-beta.google.com#0638cc2ec3747287

trailing space with ${LD_OUT}

Andy Dougherty fixed an old bug with LD_OUT having trailing space. Leo applied the patch.

groups-beta.google.com#8e8947f606dab7ff

Warnings cleaning

Jerry Gay cleaned some warnings from the source tree. Leo applied most of the patch.

groups-beta.google.com#74874b2eff5780d2

=haed3 Win32 path knit

Philip Taylor fixed a small Win32 path issue. Leo applied the patch.

groups-beta.google.com#65e6069a591a6928

cmp op bug

Leo found a bug in <cmp>_p_i_ic opcodes.

groups-beta.google.com#198c31b75714fff0

SDL unitialized variable

Nick Glencross provided a patch fixing an unitialized variable in SDL. Leo applied the patch.

groups-beta.google.com#eb47aeb6783e19fe

perlscalar morph bug

Nicholas Clark found a bug in morph for PerlScalar. Leo verified that it wasd a bug, and Nick Glencross offered to fix it.

groups-beta.google.com#5f38f717c8d5bfa8

infix method change

Leo threatened to continue with his plan to simplify infix methods. No one objected...

groups-beta.google.com#56a30ffedd8e248f

used before set warning?

Nick Glencross wanted a warning for using unset variables in imcc. Leo pointed out that this was not as simple as one might like.

groups-beta.google.com#c6de6d510bd2249a

remove temp files for Win32 make clean

Jerry Gay provided a patch removing more files under make clean in Win32. Warnock applies.

groups-beta.google.com#2d53606491e903a0

Fix typos

Nick Glencross provided a patch which fixes some typos in docs. chromatic applied it with a few extra tweaks.

groups-beta.google.com#d473935613cca66e

Parrot Security

B\xC1RTH\xC1ZI Andr\xE1s wondered about the general security mechanisms that Parrot would provided. Dan assured him that security would be a fundamental part of Parrot. He also provided a sketch of the security model which sparked some discussion.

groups-beta.google.com#d029a1bd60ba207c

groups-beta.google.com#b2cc77c111663f98 -- sketch

debian arm failure

Falls Huang reported a build failure on Debian-arm. Leo provided a pointer in the write direction.

groups-beta.google.com#fb7f013cb9f7acab

missing make target

Fran\xE7ois Perrad notice that `make src/revision.c` couldn't handle .svn/entries. Jens Rieks fixed the problem.

groups-beta.google.com#1202ce973afc6c31

JIT generation help

Adam Preble put out a call for some general advice on understanding Parrots JIT. Leo provided some general dvice.

groups-beta.google.com#349b6ced77429368

"Attibute not found" exception

Cory Spencer provide a patch changing getattribute to throw a real_exception. Jens applied the patch with a few tweaks.

groups-beta.google.com#9e48338f07dcea83

stderr during 'bc' configure step

Jerry Gay provided a patch to suppress stderr during 'bc' configure step. There was some debate on how to make this cross platform. I don't think there was a resolution.

groups-beta.google.com#b9507ee27d6c606a

string.c segfault

Nick Glencross provided a patch fixing a few segfaults in string.c. Jens applied it.

groups-beta.google.com#d604a37767fdc8c7

MSWin32 ICU linkage

Ron Blaschke added ICU to the linkage for Win32. Jens applied the patch.

groups-beta.google.com#b0c6963d1198ef36

win32 readme updates

Ron Blaschke updated the README.win32 document. chromatic applied the patch.

groups-beta.google.com#a08a9039624088c4

groups-beta.google.com#bfb9fed4636e8d30 -- discussion before the patch

big changes afoot

Our pumpking Leo has some big changes underway and asked someone else to man the pumps for a little while. Jens volunteered to be someone.

groups-beta.google.com#e87790daa8de6a28

more registers make Dan's code less unhappy

Dan has some very ugly generated code. It takes a LONG time to compile. Leo sped it up by giving Parrot more registers.

groups-beta.google.com#d222280d60722b24

.const weirdness

Nick Glencross found some weirness with .const in IMCC. Warnock applies.

groups-beta.google.com#c63f9d4079202df9

PMC help

Bloves was hoping to get a pointer on PMC writing. Leo provided a helpful pointer.

groups-beta.google.com#14bfd19da3a901cc

"&&" in commands is not cross platform

Jens noticed that "&&" in commands cause problems on some platforms. Michael G Schwern fixed it, and Jens applied the patch.

groups-beta.google.com#8791eb8b69566cab

MMD migration

Leo continued his slow but steady migration to a more MMD like world.

groups-beta.google.com#a959e059396ada4f

groups-beta.google.com#412e8c07d71a7776

groups-beta.google.com#d97b72a261300e90

MMD 25 - multiply

make config info available at runtime

Leo wants to have useful config information available at runtime. Steven Philip Schubiger offered to try.

groups-beta.google.com#25976b013f93c575

remove old files

Leo opened a ticket for removing some outdated files.

groups-beta.google.com#7c45bf5dd6f975e2

Small spelling errors

Steven Philip Schubiger provided a patch fixing some small spelling errors. He worried that perhaps he was needless picking nits. I don't think so, but Warnock applies.

groups-beta.google.com#e452b42305facec0

Win32 ICU error

Fran\xE7ois Perrad fixed a small mistake in the naming of icudt.lib. chromatic applied the patch.

groups-beta.google.com#7cc20604fbe7b7e6

Drunken Parrot

Cory Spencer has succeed in making LISP run on Parrot and uncovered a few GC bugs in the process. Everyone was impressed.

groups-beta.google.com#c671582313435f6a

Python on Parrot

Kevin Tew wondered what the state of pyrate was. Sam Ruby provided a general explanation.

groups-beta.google.com#8de3ed74d8f99b17

C => Parrot Compiler

Philip Taylor posted a few questions about Parrot for help with Carrot, his C to Parrot Compiler. Leo and Chip provided a few answers.

groups-beta.google.com#2b17b5c039d9f944

Perl 6 Language

Yet Another Perl Conference, North America

Gerard Lim announced YAPC::NA with much information and useful links.

groups-beta.google.com#3cea8fe11ab66c7b

subscripts as objects

Yuval Kogman through out the idea of using subscripts as objects. Larry worried that this would hurt speed a little too much.

groups-beta.google.com#34e9f3ed3232620b

statement modifiers and scopes

Paul Seamons posted some examples involving local scopes and statement modifiers. Larry decided that only curlies would delimit scopes, so as not to surprise too many people.

groups-beta.google.com#504dc73599f6b0e9

whitespace in heredocs

Juerd posted a question from the p6cookbook asking about spaces vs tabs. Larry took a guess as to the context and pointed to A2 for info.

groups-beta.google.com#4f9e9e44613ece7b

&nbsp; in \s, <?ws>, <>

Juerd wondered what sort of character classes matched nonbreaking spaces. Larry replied that they did, but possulated a <bws> class for breaking whitespace.

groups-beta.google.com#0159190cdac55ae1

trim() and words()

Marcus Adair wondered about trim and words and if they actually existed. It seems that trim will exist all though words might be spelled \xAB$string\xBB.

groups-beta.google.com#a08367349c36ed44

<[]> ugly and hard to type

There was some complaining that character classes are difficult to type. This is considered a feature as character classes do not handle internaionalization well.

groups-beta.google.com#1f9b4c87e3ae6219

comparing floats with fudge

Marcus Adair wants an easy way to compare floats with a fudge factor. Larry seemed to feel that some DWIMery could be added to ~~ .

groups-beta.google.com#bcf5011ed73acc84

$*CWD vs cwd() and chdir()

Michael G Schwern wanted a simple tied variable interface to $*CWD. This is apparently a sensitive topic. Much discussion ensued of changing directory in bizarre circumstances. It looks like Michael's suggestions will not reach the core, although it looks like a fairly simple module...

groups-beta.google.com#5c8a97dca9de168c

Junction precedence error

Brad Bowman noticed an error in some examples involving junction precedence. Larry confirmed there error. Patrick R. Michaud fixed it.

groups-beta.google.com#a5b95a51b4f1faba

spelling mistake in A06

Steven Philip Schubiger found a spelling error in A06. Patrick R. Michaud applied the patch.

groups-beta.google.com#2f8569964e8d201d

<[a-z]> to become <[a..z]>

Larry decide that the range operator in character classes should change to .. . Much discussion ensued. I like it.

groups-beta.google.com#5d5ce1a957b4a656

tainted variables

B\xC1RTH\xC1ZI Andr\xE1s wondered if he could mark variables as tainted. Luke Palmer showed him a way.

groups-beta.google.com#18e4deaee9092db2

temp variables that can be redeclared

Aaron Sherman wants a way to redeclare variables without getting a warning. He suggested temp . Larry suggested ok to turn off a warning, but doesn't think Aaron's feature is really necessary. No official ruling yet (I think).

groups-beta.google.com#b954df420903258e

hyper slices

David Christensen wants to use hyper slices as a convenient way of dealing with multi dimensional data structures. Luke Palmer showed him how.

groups-beta.google.com#a7e2220ac0c3cc26

Hyper operator corner case

David Christensen wondered how hyperoperators would know what to pad with when one side is not long enough. The answer appears to be slightly ill defined magic. Especially where subtraction or division is concerned

groups-beta.google.com#952a1c33601dce87

fine granularity sleeping/events

Gaal Yahas wants to have an alarm function that takes a double (for systems with sub-second timing proises). He also wants a version that takes a callback (possibly called later). Warnock applies.

groups-beta.google.com#a627dd913e587f72

junctions in subscripts

David Christensen wants junctions in subscripts to autothread. Luke palmer commented that they might. I think they do...

groups-beta.google.com#cd9c7a6b2e672cb8

groups-beta.google.com#d54b47f508c397b5

quote operators and interpolation

Roie Marianer had a few questions about how interpolation and quote operators would work. Laryy and Juerd provided some answers. Larry's short version: "we pretend we're a top-down parser even if we aren't".

groups-beta.google.com#e190635e9d89b772

groups-beta.google.com#dea453a1ab097e2f

junctions with adverbs

David Christensen wants to use adverbs to supply exceptions to junctions. Luke Palmer told him it doesn't work that way.

groups-beta.google.com#8f099d9225ffb5a1

++ evaluation order

lam Fayland found an oddity in pugs evaluation order for ++ . Warnock applies.

groups-beta.google.com#0466f9879137871e

statement modifiers for setting variable

Dave Whipp wants to use statement modifiers to restrict the scope for variables in his print statements. Larry provided a different technique.

groups-beta.google.com#6e51a2caa5699e94

tie hashes

Ingo Blechschmidt wondered what syntax to use for tieing hashes. Larry began to muse alloud.

groups-beta.google.com#57da4ba88cf2aa4a

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