Re: A proposition for streamlining Perl 6 development

2006-02-09 Thread Yuval Kogman
On Wed, Feb 08, 2006 at 12:37:05 -0800, chromatic wrote: On Tuesday 07 February 2006 23:55, Yuval Kogman wrote: Does this imply that we should think up this process? Go ahead. We'll start at the Israel hackathon, with a little preamble. The last time someone tried to set forth a

Re: Heureka - from the -Ofun department

2006-02-09 Thread Leopold Toetsch
Markus Laire wrote: Is there a reason why this can't be turned off like this: convert $N0 = pow 2.0, 5.0 to $N = 2.0 $N0 = pow N, 5.0 That's exactly what is executed. Registers are filled with the value of the constants and the 'pow' opcode is executed. The little difference is

Re: [perl #38459] global.t failures in tcl

2006-02-09 Thread Leopold Toetsch
Will Coleda via RT wrote: This failure is actually a bus error. You can generate it with:' ../../parrot tcl.pbc -e 'proc a {} {global q;puts $q};a' 231 dec P0 - P0=Bus error purl Take the train Anyway, this is fixed now (r11479). Thanks for providing the src comments in EVAL_*,

Re: {null,parrot,installable}_config.o

2006-02-09 Thread Florian Ragwitz
On Wed, Feb 08, 2006 at 08:22:10AM +0100, Leopold Toetsch wrote: On Feb 6, 2006, at 16:29, Florian Ragwitz wrote: c) Merge parrot_config and installable_config The only difference between those two seems to be the prefix setting. This is set to $PWD for parrot_config and isn't

Re: Test::Builder feature request...

2006-02-09 Thread Geoffrey Young
One of the problems is going to be numbering, surely? but it shouldn't need to be, right? I mean, TAP is merely a protocol and there shouldn't be a requirement that the bookkeeping happen in the same process as the TAP emitting process I wouldn't think. in fact, if someone were implementing

Re: overloading the variable declaration process

2006-02-09 Thread Stevan Little
On 2/8/06, Jonathan Lang [EMAIL PROTECTED] wrote: Stevan Little wrote: Yes, that is correct, because: Dog.isa(Dog) # true $spot.isa(Dog) # true ^Dog.isa(Dog) # false In fact ^Dog isa MetaClass (or Class whatever you want to call it). At least that is how I see/understand it.

Re: overloading the variable declaration process

2006-02-09 Thread Jonathan Lang
Stevan Little wrote: Jonathan Lang wrote: OK. To help me get a better idea about what's going on here, what sorts of attributes and methods would ^Dog have? Well, a metaclass describes the behaviors and attributes of a class, and ^Dog is an *instance* of the metaclass. So actually ^Dog

Re: overloading the variable declaration process

2006-02-09 Thread Stevan Little
On 2/9/06, Jonathan Lang [EMAIL PROTECTED] wrote: Stevan Little wrote: Jonathan Lang wrote: OK. To help me get a better idea about what's going on here, what sorts of attributes and methods would ^Dog have? Well, a metaclass describes the behaviors and attributes of a class, and

svn_binary_search

2006-02-09 Thread Will Coleda
The recent this patch broke tcl bugs (all of which leo has resolved, thanks!) came from a perl script I wrote that lets you specify a start/end revision and a test script to run. It then runs svn up -r for each version it tests, and runs your test script. After testing the endpoints, it

[perl #38477] [TODO] testing Parrot::Test: Quis custodiet ipsos custodies?

2006-02-09 Thread via RT
# New Ticket Created by jerry gay # Please include the string: [perl #38477] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38477 who is watching the watchmen? there are no tests for Parrot::Test. this should

Re: Heureka - from the -Ofun department

2006-02-09 Thread Markus Laire
On 2/9/06, Leopold Toetsch [EMAIL PROTECTED] wrote: On Feb 8, 2006, at 22:28, Joshua Isom wrote: but an option to disable compile time optimizations would help with the testing the interpreter instead of the compiler It's not an optimization and it can't be turned off, as there are no

PIC/JIT update

2006-02-09 Thread Leopold Toetsch
* Compiling sub on-the-fly is now implemented on PPC too [1] * there are now commandline switches, which enable this optimization: -Sj... switch core, JIT if possible -Cj... CGP core,JIT if possible E.g. on the powerbook (with speed setting dynamic - numbers might be arbitrary)

[perl #38476] [PATCH] De-tab nativecall.pl

2006-02-09 Thread via RT
# New Ticket Created by Brad Bowman # Please include the string: [perl #38476] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38476 Hi, The patch turns the mix of 4-tabs, 8-tabs and spaces in nativecall.pl into

Re: Smart match table

2006-02-09 Thread Mike Guy
Robin Houston [EMAIL PROTECTED] wrote Any Code()simple closure truth match if $b-() (ignoring $a) I obviously missed that when it went past on p5p. Surely that should read Any Code()predicate(value) match if $b-($a) meaning that $a satisfies the predicate

Re: overloading the variable declaration process

2006-02-09 Thread Jonathan Lang
Stevan Little wrote: Jonathan Lang wrote: OK; apparently, what I meant when I asked what methods and attributes does ^Dog have? is what you're talking about when you speak of which methods ^Dog will respond to. To me, an object has whatever methods that it responds to. I disagree, an

integer divide overflow

2006-02-09 Thread Leopold Toetsch
Strange, but it exists for just on case (well not strange, there are just more negative numbers ...): $ cat div.pasm set I0, 0x8000 div I1, I0, -1 print I1 print \n end Running it on PPC gives: $ ./parrot div.pasm 0 And on x86: $ ./parrot div.pasm Floating point exception What shall we

Re: Smart match table

2006-02-09 Thread David Green
On 2/8/06, Mike Guy wrote: I obviously missed that when it went past on p5p. Surely that should read Any Code()predicate(value) match if $b-($a) meaning that $a satisfies the predicate implemented by the code $b? Ignoring $a seems a completely stupid thing to do. Well,

Re: Smart match table

2006-02-09 Thread Stuart Cook
On 09/02/06, Mike Guy [EMAIL PROTECTED] wrote: Robin Houston [EMAIL PROTECTED] wrote Any Code()simple closure truth match if $b-() (ignoring $a) I obviously missed that when it went past on p5p. Surely that should read Any Code()predicate(value) match if

Re: Smart match table

2006-02-09 Thread Stuart Cook
On 10/02/06, Stuart Cook [EMAIL PROTECTED] wrote: IIRC, that rule exists so you can create when-clauses that don't involve the current topic, without having to explicitly throw it away. This is useful when using given/when to replace a sequence of elsifs, when not all of them use $_. (In

Re: integer divide overflow

2006-02-09 Thread Joshua Isom
Why not case it to switch it to 0x7fff? In any case, if the code's added in to check for it an to throw an exception, then wouldn't it be more friendly to return as close to what's expected, and just call it magical rounding? But out of curiosity, why would integer division be a floating

Re: Test::Builder feature request...

2006-02-09 Thread Adam Kennedy
Randy W. Sims wrote: Adam Kennedy wrote: Randy W. Sims wrote: Adam Kennedy wrote: This works: ---test.pl--- use Test::More tests = 1; my $Test = Test::More-builder; my $counter = $Test-current_test; print qx!perl t/response.pl!; $Test-current_test($counter + 1); But why 1? Why not