Re: Syntax of using Perl5 modules?

2005-05-24 Thread Darren Duncan
At 12:06 PM +0800 5/25/05, Autrijus Tang wrote: So, this now works in Pugs with (with a "env PUGS_EMBED=perl5" build): use Digest--perl5; my $cxt = Digest.SHA1; $cxt.add('Pugs!'); # This prints: 66db83c4c3953949a30563141f08a848c4202f7f say $cxt.hexdigest; This includes the "Di

Re: Perl 6 and Parrot VM presentation slides

2005-05-24 Thread BÁRTHÁZI András
Hi, I've found another presentation: http://mail.pm.org/pipermail/grand-rapids-pm-list/2003-November/000367.html Shouldn't we make a list about these presentations? Bye, Andras chromatic wrote: On Tue, 2005-05-24 at 23:59 -0400, [EMAIL PROTECTED] wrote: I distinctly get the impression tha

Re: Perl 6 and Parrot VM presentation slides

2005-05-24 Thread chromatic
On Tue, 2005-05-24 at 23:59 -0400, [EMAIL PROTECTED] wrote: > I distinctly get the impression that I'm on of the few dumb Americans > participating in all this. So far, there hasn't been a single > English-language presentation offered. I gave a talk on Parrot SDL last year. It may be helpful,

about python on parrot

2005-05-24 Thread [EMAIL PROTECTED]
hi python on parrot already have not develop? bloves [EMAIL PROTECTED]   2005-05-25

Syntax of using Perl5 modules?

2005-05-24 Thread Autrijus Tang
So, this now works in Pugs with (with a "env PUGS_EMBED=perl5" build): use Digest--perl5; my $cxt = Digest.SHA1; $cxt.add('Pugs!'); # This prints: 66db83c4c3953949a30563141f08a848c4202f7f say $cxt.hexdigest; This includes the "Digest.pm" from Perl 5. DBI.pm, CGI.pm etc will

Re: Perl 6 and Parrot VM presentation slides

2005-05-24 Thread rocko
Quoting Jens Rieks <[EMAIL PROTECTED]>: On Tuesday 24 May 2005 07:13, [EMAIL PROTECTED] wrote: I am curious if there are any recent slides and notes for recent talks about Perl 6, language, how it will work, and the same for Parrot. I've caught a few old slides from almost a year ago for a few

Re: Perl 6 and Parrot VM presentation slides

2005-05-24 Thread rocko
Post them anyways. We have a Frenchman in my group that would normally be able to translate. However, he is on vacation (holiday?) in France and might not be back in time for the presentation. I'll take the slides anyway and see what magic I can attempt. I know somebody I suspect grew up in Que

Re: comprehensive list of perl6 rule tokens

2005-05-24 Thread Jeff 'japhy' Pinyan
On May 24, Jonathan Scott Duff said: On Tue, May 24, 2005 at 08:25:03PM -0400, Jeff 'japhy' Pinyan wrote: http://japhy.perlmonk.org/perl6/rules.txt That looks completish to me. (At least I didn't think, "hey! where's such and such?") Oh, frabjous day! One thing that I noticed and had t

Re: comprehensive list of perl6 rule tokens

2005-05-24 Thread Jonathan Scott Duff
On Tue, May 24, 2005 at 08:25:03PM -0400, Jeff 'japhy' Pinyan wrote: > http://japhy.perlmonk.org/perl6/rules.txt That looks completish to me. (At least I didn't think, "hey! where's such and such?") One thing that I noticed and had to look up was <-prop X> though. Because ... >

Re: wanted: hash stress tests

2005-05-24 Thread Bob Rogers
From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Sun, 22 May 2005 16:58:00 +0200 Bob Rogers wrote: > Below please find an additional test case for t/pmc/hash.t that defines > >>50K keys, while checking that earlier entries are still present. This > > takes about 0.8 sec

comprehensive list of perl6 rule tokens

2005-05-24 Thread Jeff 'japhy' Pinyan
I'm working on a Perl 5 module that will allow for the parsing of a Perl 6 rule into a tree structure -- specifically, I'm subclassing/extending Regexp::Parser into Perl6::Rule::Parser. This module is designed ONLY to PARSE the contents of a rule; it is not concerned with the implementation of

Re: [RELEASE] Pugs 6.2.5 is released!

2005-05-24 Thread Jonathan Worthington
"vadim" <[EMAIL PROTECTED]> wrote: On behalf of the Pugs team, I am elated to announce the release of Pugs 6.2.5, with much more comprehensive OO support, hyper and reduction metaoperators on user-defined operators, as well as experimental coroutine support. Could you please advice, how is it

Re: [perl #35855] Problem with Perl 5.6.1

2005-05-24 Thread Vladimir Lipsky
I notice that building with Perl 5.6.1 (on Win32 with Perl 5.6.1 ActiveState-build 635 and MinGW) causes problem. $ parrot Assertion failed: (int)io->image->bufused >= 0, file src/pmc_freeze.c, line 478 abnormal program termination This assertion occurs in parrot_get_config_string(). The data p

Re: Perl development server

2005-05-24 Thread Jeroen Van Goey
I'd like an account too, "biogeek" please. Since my interest is bioinformatics, I intend to start playing with Perl6 by translating some code from the book "Mastering Perl for Bioinformatics" (http://www.oreilly.com/catalog/mperlbio/). As server name, I'd lee to propose one of the Australian mamm

[perl #35959] index opcode fails with large negative offset

2005-05-24 Thread via RT
# New Ticket Created by Roger Browne # Please include the string: [perl #35959] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=35959 > This pasm fragment... index I1, "u", "t", -123456 print I1 print "\n" end ...prints -

Re: mmd

2005-05-24 Thread Leopold Toetsch
[ cc'ed list ] Chip Salzenberg wrote: On Tue, May 24, 2005 at 02:42:47PM -0400, Jeff Horwitz wrote: .sub bar method, @MULTI(Foo, pmc) At first blush, I think mmd based on representation choice ($I vs. $P) is a mistake. Why should an integer in a $P0 be mmd'd differently from an integer in

Re: mmd

2005-05-24 Thread Jeff Horwitz
On Tue, 24 May 2005, Leopold Toetsch wrote: > Multi subs and especially multi methods are barely tested. 'pmc' or '_' > should match 'Any' PMC, so that's for sure a bug. Can you please provide > a test-like sample file to investigate, thanks. here you go. it should print "string PMC nothing", bu

Re: mmd

2005-05-24 Thread Leopold Toetsch
Jeff Horwitz wrote: for mod_parrot i want to support both passing both PMCs and native types to the apache API, depending on the HLL. MMD was doing a great job handling this for me until i ran into a problem. given the following methods: .sub bar method, @MULTI(Foo, string) .sub bar method, @M

Re: [RELEASE] Pugs 6.2.5 is released!

2005-05-24 Thread vadim
В Втр, 24.05.2005, в 14:58, Autrijus Tang пишет: > On Tue, May 24, 2005 at 10:36:16PM -0400, vadim wrote: > > > On behalf of the Pugs team, I am elated to announce the release of > > > Pugs 6.2.5, with much more comprehensive OO support, hyper and reduction > > > metaoperators on user-defined opera

Re: [RELEASE] Pugs 6.2.5 is released!

2005-05-24 Thread Autrijus Tang
On Tue, May 24, 2005 at 10:36:16PM -0400, vadim wrote: > > On behalf of the Pugs team, I am elated to announce the release of > > Pugs 6.2.5, with much more comprehensive OO support, hyper and reduction > > metaoperators on user-defined operators, as well as experimental > > coroutine support. > >

mmd

2005-05-24 Thread Jeff Horwitz
for mod_parrot i want to support both passing both PMCs and native types to the apache API, depending on the HLL. MMD was doing a great job handling this for me until i ran into a problem. given the following methods: .sub bar method, @MULTI(Foo, string) .sub bar method, @MULTI(Foo, pmc) .sub ba

Re: [RELEASE] Pugs 6.2.5 is released!

2005-05-24 Thread vadim
> On behalf of the Pugs team, I am elated to announce the release of > Pugs 6.2.5, with much more comprehensive OO support, hyper and reduction > metaoperators on user-defined operators, as well as experimental > coroutine support. > Could you please advice, how is it possible to use external lib

Re: Perl development server

2005-05-24 Thread Michele Dondi
On Tue, 24 May 2005, wolverian wrote: On Tue, May 24, 2005 at 03:44:43PM +0200, Juerd wrote: But I like the newly suggested "feather" better, as it can relate to pugs AND parrot. Feather is best one thus far, I think. I like carrot too; it's more playful. I equate Pugs with fun a lot. Hmmm,

Re: Perl development server

2005-05-24 Thread John Macdonald
On Tue, May 24, 2005 at 12:12:57PM +0200, Juerd wrote: > Unfortunately, onion is already taken by another important Perl server: > onion.perl.org. > > I'm currently considering 'ui', which is Dutch for 'onion'. I bet almost > nobody here knows how to pronounce ui ;) For a development machine, the

Re: s/true/better name/

2005-05-24 Thread TSa (Thomas Sandlaß)
Sorry, that I excavate that thread, but it just fits my question. Rod Adams wrote: Well, "and" and "or" serve the purpose of being at a much lower precedence level than "&&" and "||". I would see the value in alphabetic "not" as serving the same relation to "!". But I would still see it retur

Re: Perl development server

2005-05-24 Thread Jonathan Scott Duff
On Tue, May 24, 2005 at 06:16:06PM +0300, wolverian wrote: > On Tue, May 24, 2005 at 03:44:43PM +0200, Juerd wrote: > > But I like the newly suggested "feather" better, as it can relate to > > pugs AND parrot. > > Feather is best one thus far, I think. I like carrot too; it's more > playful. I equ

Re: Perl development server

2005-05-24 Thread Mark A. Biggar
wolverian wrote: On Tue, May 24, 2005 at 03:44:43PM +0200, Juerd wrote: But I like the newly suggested "feather" better, as it can relate to pugs AND parrot. Feather is best one thus far, I think. I like carrot too; it's more playful. I equate Pugs with fun a lot. How about "budgie". a sm

Re: Perl development server

2005-05-24 Thread wolverian
On Tue, May 24, 2005 at 03:44:43PM +0200, Juerd wrote: > But I like the newly suggested "feather" better, as it can relate to > pugs AND parrot. Feather is best one thus far, I think. I like carrot too; it's more playful. I equate Pugs with fun a lot. -- wolverian signature.asc Description: Di

Re: (OT) Re: Perl development server

2005-05-24 Thread Herbert Snorrason
On 24/05/05, Michele Dondi <[EMAIL PROTECTED]> wrote: > Incidentally, would 'laukurdottir' be a proper Icelandic offence? :-) It'd be 'lauksdóttir' (due to declension) and mean 'daughter of an onion'. If nothing else, it would make people look at you in a funny way... ;) -- Schwäche zeigen heißt

Re: (OT) Re: Perl development server

2005-05-24 Thread Rob Kinyon
On 5/24/05, Michele Dondi <[EMAIL PROTECTED]> wrote: > On Tue, 24 May 2005, Herbert Snorrason wrote: > > > Icelandic: laukur (Incidentally, none of you will ever guess how to > > correctly pronounce that.) > > Incidentally, would 'laukurdottir' be a proper Icelandic offence? :-) "daughter of an

Re: (OT) Re: Perl development server

2005-05-24 Thread Michele Dondi
On Tue, 24 May 2005, Herbert Snorrason wrote: Icelandic: laukur (Incidentally, none of you will ever guess how to correctly pronounce that.) Incidentally, would 'laukurdottir' be a proper Icelandic offence? :-) Michele -- Me too. If it's any comfort, just think of the design of Perl 6 as a

Re: [perl #35900] [PATCH] skip dynclasses, spawnw tests on win32

2005-05-24 Thread jerry gay
then i'll hold off on applying this patch On 5/23/05, chromatic <[EMAIL PROTECTED]> wrote: > On Sun, 2005-05-22 at 13:18 +0200, Leopold Toetsch wrote: > > > The old problem of skip, todo or let it fail. > > > > Maybe we need pugs' test error classification scheme > > I'll see what I can do with

Re: (OT) Re: Perl development server

2005-05-24 Thread Herbert Snorrason
Icelandic: laukur (Incidentally, none of you will ever guess how to correctly pronounce that.) -- Schwäche zeigen heißt verlieren; härte heißt regieren. - "Glas und Tränen", Megaherz

Re: (OT) Re: Perl development server

2005-05-24 Thread Carl Mäsak
Esperanto: cepo (though that's probably not a data point) // Carl On 5/24/05, Michele Dondi <[EMAIL PROTECTED]> wrote: > On Tue, 24 May 2005, wolverian wrote: > > >> Portuguese: cebola > >> Finnish: sipoli > > Italian: cipolla (since nobody has mentioned it yet) > > > Michele > -- > It was pa

Re: Perl development server

2005-05-24 Thread Alberto Manuel Brandão Simões
carrot :-) Jonathan Scott Duff wrote: On Tue, May 24, 2005 at 12:12:57PM +0200, Juerd wrote: Unfortunately, onion is already taken by another important Perl server: onion.perl.org. I'm currently considering 'ui', which is Dutch for 'onion'. I bet almost nobody here knows how to pronounce ui ;

Re: Perl development server

2005-05-24 Thread Jonathan Scott Duff
On Tue, May 24, 2005 at 12:12:57PM +0200, Juerd wrote: > Unfortunately, onion is already taken by another important Perl server: > onion.perl.org. > > I'm currently considering 'ui', which is Dutch for 'onion'. I bet almost > nobody here knows how to pronounce ui ;) What about another herb like g

Re: (OT) Re: Perl development server

2005-05-24 Thread Michele Dondi
On Tue, 24 May 2005, wolverian wrote: Portuguese: cebola Finnish: sipoli Italian: cipolla (since nobody has mentioned it yet) Michele -- It was part of the dissatisfaction thing. I never claimed I was a nice person. - David Kastrup in comp.text.tex, "Re: verbatiminput double spacing"

Re: Perl development server

2005-05-24 Thread Juerd
wolverian skribis 2005-05-24 15:01 (+0300): > > I'm currently considering 'ui', which is Dutch for 'onion'. I bet almost > > nobody here knows how to pronounce ui ;) > That reads 'user interface' to me, which I think isn't what we want. > How about 'sipuli'? That's what onion is called in Finnish.

Re: reduce metaoperator on an empty list

2005-05-24 Thread John Macdonald
On Fri, May 20, 2005 at 10:14:26PM +, [EMAIL PROTECTED] wrote: > > > Mark A. Biggar wrote: > > > Well the identity of % is +inf (also right side only). > > > > I read $n % any( $n..Inf ) == $n. The point is there's no > > unique right identity and thus (Num,%) disqualifies for a > > Monoid. B

Re: Undef issues

2005-05-24 Thread Adrian Taylor
Hi Stuart, You (and Carl) are absolutely right... all these things are behaving as they should. Cool! :-) I'll fix the tests later on today. Thanks, Ade Stuart Cook wrote: >On 5/24/05, Adrian Taylor <[EMAIL PROTECTED]> wrote: > > >>eval_is('undef + 1', undef, 'undef + 1', :todo); # dies >>

Re: (OT) Re: Perl development server

2005-05-24 Thread JensBeimSurfen
On Tuesday 24 May 2005 15:06, wolverian wrote: > in the latin name - Allium _cepa_ Linnaeus. What about "cepa" as name? BTW, it's "Zwiebel" in german ;-)

(OT) Re: Perl development server

2005-05-24 Thread wolverian
On Tue, May 24, 2005 at 02:57:42PM +0200, Carl Mäsak wrote: > Note how close to Finnish it is. > > Portuguese: cebola > Finnish: sipoli > > Might be a coincidence, but might also be a borrowed word. (This is extremely OT for the list.) That's 'sipuli', actually. I'm not sure (I'm not an etymol

Re: Undef issues

2005-05-24 Thread Stuart Cook
On 5/24/05, Adrian Taylor <[EMAIL PROTECTED]> wrote: > eval_is('undef + 1', undef, 'undef + 1', :todo); # dies In this case, you're expecting (undef) + 1 but you're getting undef(+1) instead. This is because 'undef' serves double-duty as both 'undefined value' and 'prefix op for undefining vari

Re: Perl development server

2005-05-24 Thread Carl Mäsak
Note how close to Finnish it is. Portuguese: cebola Finnish: sipoli Might be a coincidence, but might also be a borrowed word. // Carl On 5/24/05, Alberto Manuel Brandão Simões <[EMAIL PROTECTED]> wrote: > Onian in Portuguese: cebola (in case any of you wonder) > > wolverian wrote: > > On Tue

Re: Method/attribute chaining

2005-05-24 Thread Alex Gutteridge
Hi, I've written up the case I found as a test, please feel free to add it if it's useful. All tests pass apart from the last one which tests attribute chaining. Tested on Pugs 6.2.5. #!/usr/bin/pugs use v6; use Test; plan 7; #Setup class Foo { has $.bar is rw; } my $foo = Foo.new;

Re: Perl development server

2005-05-24 Thread Alberto Manuel Brandão Simões
Onian in Portuguese: cebola (in case any of you wonder) wolverian wrote: On Tue, May 24, 2005 at 12:12:57PM +0200, Juerd wrote: I'm currently considering 'ui', which is Dutch for 'onion'. I bet almost nobody here knows how to pronounce ui ;) That reads 'user interface' to me, which I think

Re: Undef issues

2005-05-24 Thread Carl Franks
> eval_is('undef + 1', undef, 'undef + 1', :todo); # dies > eval_is('1 + undef', undef, '1 + undef', :todo); # gives 1 I would expect these to both equal 1, see perl5 >perl5 -le "undef $_; ++$_; print" 1

Undef issues

2005-05-24 Thread Adrian Taylor
Hi, Over the weekend I added some tests on 'undef' behaviour (t/builtins/undef.t): These behave as expected: eval_is('undef * 2', undef, 'undef * 2'); eval_is('undef * undef', undef, 'undef * undef'); These don't (at least, according to my expectations...) eval_is('undef + 1', undef, 'undef +

Re: Perl development server

2005-05-24 Thread BÁRTHÁZI András
Hi, Just to know, onion in Hungarian is "hagyma". ;) Bye, Andras On Tue, 24 May 2005, wolverian wrote: On Tue, May 24, 2005 at 12:12:57PM +0200, Juerd wrote: I'm currently considering 'ui', which is Dutch for 'onion'. I bet almost nobody here knows how to pronounce ui ;) That reads 'user

Re: Perl development server

2005-05-24 Thread wolverian
On Tue, May 24, 2005 at 12:12:57PM +0200, Juerd wrote: > I'm currently considering 'ui', which is Dutch for 'onion'. I bet almost > nobody here knows how to pronounce ui ;) That reads 'user interface' to me, which I think isn't what we want. How about 'sipuli'? That's what onion is called in Finn

Re: Method/attribute chaining

2005-05-24 Thread Adrian Taylor
Hi, I have seen similar weirdness and added a couple of tests over the weekend, whilst simultaneously forgetting to mention it on IRC: class Foo { method noargs () { 42 } method callsmethod2 { .noargs(); } } $val = $foo.callsmethod2() dies. (t/oo/method/instance.t) It appears to be someth

Method/attribute chaining

2005-05-24 Thread Alex Gutteridge
Hi, Just playing around with pugs 6.2.5 OO and couldn't work this out: class Bowl { has $.fish is rw; has $.water is rw; } class Fish { has $.bowlis rw; has $.eyesis rw; } my $bowl = Bowl.new; my $blinky = Fish.new; $bowl.water = 'Murky'; $blinky.eye

Re: Displaying the description in diagnostic output

2005-05-24 Thread Randy W. Sims
Michael G Schwern wrote: On Tue, May 24, 2005 at 11:10:08AM +0200, David Landgren wrote: Anything other than 'got' would go some of the way in disambiguating things. I forget now what the proposed alternatives were. If I were starting from scratch, I probably would use 'returned' since it

Re: Perl 6 and Parrot VM presentation slides

2005-05-24 Thread Jens Rieks
On Tuesday 24 May 2005 07:13, [EMAIL PROTECTED] wrote: > I am curious if there are any recent slides and notes for recent talks > about Perl 6, language, how it will work, and the same for Parrot. I've > caught a few old slides from almost a year ago for a few things, but not > much. I am prepari

Re: Perl development server

2005-05-24 Thread Benjamin Smith
On Tue, May 24, 2005 at 11:12:58AM +0100, Benjamin Smith wrote: > * svk > * vim > * screen > * cron * haddock -- Benjamin Smith <[EMAIL PROTECTED], [EMAIL PROTECTED]> pgpB9Er7xurFe.pgp Description: PGP signature

Re: Perl development server

2005-05-24 Thread Benjamin Smith
On Mon, May 23, 2005 at 05:25:57PM +0200, Juerd wrote: > Rob Kinyon skribis 2005-05-23 11:22 (-0400): > > I'd like one. > > Sure - just think of a nice catchy username! :) I'd like "bsmith". Thanks :-) > > Maybe we should divvy these tasks out. It wouldn't do that have two > > people smoke-tes

Re: Perl development server

2005-05-24 Thread Juerd
Roger Hale skribis 2005-05-24 6:02 (-0400): > I would like an account, name 'spinclad'. Sure. > The need for svn, ghc and such has finally pushed me to upgrade my home > debian box to sarge, and I'm still looking for a package with ghc6.4, or > the tuits to build one myself. Get ghc-cvs from

Re: Perl development server

2005-05-24 Thread Roger Hale
Juerd wrote: If you want access, please let me know. I will send you a temporary password by e-mail, that I expect you to change the first time you get the chance. I would like an account, name 'spinclad'. The need for svn, ghc and such has finally pushed me to upgrade my home debian box to s

Re: Displaying the description in diagnostic output

2005-05-24 Thread Michael G Schwern
On Tue, May 24, 2005 at 11:10:08AM +0200, David Landgren wrote: > Anything other than 'got' would go some of the way in disambiguating things. I forget now what the proposed alternatives were. > I'd write a patch if I thought it had a chance of being applied, that > would let the developer choo

Re: Displaying the description in diagnostic output

2005-05-24 Thread David Landgren
Ian Langworth wrote: On 5/13/05, David Landgren <[EMAIL PROTECTED]> wrote: So what I *really* think about Perl's test reporting is that the results are shown in the wrong order, and that it would also be better to use a less ambiguous word than 'got'. 'actual' would be nice. I like the word

Re: Perl development server

2005-05-24 Thread Nathan Gray
On Mon, May 23, 2005 at 05:18:45PM +0200, Juerd wrote: > Everyone who wants, can get a login. Access is provided via SSH version > 2 only (Windows users can use PuTTY and WinSCP), and the box may be used > for everything that improves Perl 6 development. Users are encouraged to > keep files world r

Re: Perl development server

2005-05-24 Thread Nathan Gray
On Mon, May 23, 2005 at 06:51:31PM +0200, Juerd wrote: > Nathan Gray skribis 2005-05-23 12:50 (-0400): > > > >Sorry, but 'dev' isn't cute enough :). And it's going to be > > > >something.perl6.nl, probably. I don't mind aliases, though, but they > > > >better be CNAMEs. > > Juerd, why am I getting

Re: Perl 6 and Parrot VM presentation slides

2005-05-24 Thread chris
I have power point slides I did use for a course on parrot machine and assembly language for my students. With many examples. They are in french. I can send you the file if you want. -- __ \|||/ (o o) +--

[perl #35954] [PATCH] thr_windows.h with MinGW32

2005-05-24 Thread François
# New Ticket Created by François PERRAD # Please include the string: [perl #35954] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=35954 > Patch for two compilation problems with MinGW32 : imcc/main.c In file included fro

Re: Perl development server

2005-05-24 Thread Etienne Laurin
I'd love to have an account as well. username atnnn. realname Etienne Laurin. As for the hostname, what about s6nd.perl6.nl?

[perl #35950] [PATCH] ws modifier with capture test

2005-05-24 Thread via RT
# New Ticket Created by Dino Morelli # Please include the string: [perl #35950] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=35950 > Added a couple of tests for the words modifier used together with capturing. file: t