Re: [perl #16755] imcc requires Parrot_dlopen but HAS_DLOPEN is never defined

2002-08-27 Thread Markus Laire
f the compiler tests, aside > from 8_5 and 8_6, which are a bug with the perl6 compiler somewhere > (verified by sean and leo). ok, I tested that on cygwin with CVS checkout (GMT 20020827-1125) With following commands ALL perl6 tests pass. NO skipped or failed tests, not even those 8_5 an

Re: [perl #16755] imcc requires Parrot_dlopen but HAS_DLOPEN is never defined

2002-08-27 Thread Markus Laire
On 27 Aug 2002 at 11:59, Markus Laire wrote: > ok, I tested that on cygwin with CVS checkout (GMT 20020827-1125) That should've been GMT 20020827-0825 -- Markus Laire 'malaire' <[EMAIL PROTECTED]>

Re: [perl #16755] imcc requires Parrot_dlopen but HAS_DLOPEN is never defined

2002-08-27 Thread Markus Laire
On 27 Aug 2002 at 11:59, Markus Laire wrote: > On 27 Aug 2002 at 1:49, Mike Lambert wrote: > > > So currently, if one does a CVS checkout on win32, and is using cygwin > > or msvc, they can do: > > ... While perl6 does work now, 'make test' for parrot doesn't work at all !!! 'make test' after

[perl #16789] 'make test' for parrot fails

2002-08-27 Thread Markus Laire
# New Ticket Created by "Markus Laire" # Please include the string: [perl #16789] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=16789 > After recent fixes to get perl6 work on win32 & cygwin, 'make test' for parrot doesn

Re: rule, rx and sub

2002-08-27 Thread Luke Palmer
On 27 Aug 2002, Piers Cawley wrote: > Damian Conway <[EMAIL PROTECTED]> writes: > > Debbie Pickett asked: > > > (Offtopic: can I say: > > > $c = -> $xyz { mumble } > > > > Yes. Though you need a semicolon at the end unless its the last > > statement in a block. > > Um... when did that rule co

Re: [perl #16755] imcc requires Parrot_dlopen but HAS_DLOPEN is never defined

2002-08-27 Thread Markus Laire
On 27 Aug 2002 at 11:59, Markus Laire wrote: > With following commands ALL perl6 tests pass. NO skipped or failed > tests, not even those 8_5 and 8_6. > (All tests succesful - Files=15, Tests=64) > > Configure.pl && make && cd languages/imcc && > make imcc && cd ../perl6 && make perl6-config &&

Mode a la mode

2002-08-27 Thread Bryan C. Warnock
There is a general inconsistency about file permissions throughout the parrot tree. Of the 80+ *.pl scripts, only 8 are 0755 - and Configure.pl isn't one of them. Some tests are, some aren't; and even some docs are. A list follows. Personally, I don't care what mode you make them, although (unl

Re: [perl #16755] imcc requires Parrot_dlopen but HAS_DLOPEN is never defined

2002-08-27 Thread Leopold Toetsch
Markus Laire wrote: > On 27 Aug 2002 at 1:49, Mike Lambert wrote: > With following commands ALL perl6 tests pass. NO skipped or failed > tests, not even those 8_5 and 8_6. These failures are somwhere hidden in the test scripts. > With > Configure.pl && cd languages\perl6 && make && make tes

Re: Inlining subrules

2002-08-27 Thread Bart Schuller
On Tue, Aug 27, 2002 at 12:21:00PM +0100, Piers Cawley wrote: > *allowing* classes to be frozen) makes life very hard indeed. And no, > extending via inheritance really doesn't cut it, unless I'm allowed to > say C and force everything that inherits from > Object to inherit from NewObject instead.

[INFO] African Grey, version 3

2002-08-27 Thread Peter Gibbs
Due to overwhelming public demand (Mike and Steve), I have completed the exercise of merging my pirate parrot with the latest CVS version, and added a few additional features: Constant strings are now COWed The memory pool used by strings and buffers is now managed on a paged basis, rather tha

Re: Parrot Docs on the Web

2002-08-27 Thread Peter Sergeant
Robert Spier wrote: > The docs in the docs/ directory are now available at > > http://www.parrotcode.org/docs/ > > Updated once a day from CVS. > > It prefers well formatted Pod. On a slightly related note, some work I've done towards building an 'operations dictionary' that I've envisaged

Re: rule, rx and sub

2002-08-27 Thread Sean O'Rourke
On Tue, 27 Aug 2002, Luke Palmer wrote: > On 27 Aug 2002, Piers Cawley wrote: > > Damian Conway <[EMAIL PROTECTED]> writes: > > > Debbie Pickett asked: > > > > (Offtopic: can I say: > > > > $c = -> $xyz { mumble } > > > > > > Yes. Though you need a semicolon at the end unless its the last > > >

Re: rule, rx and sub

2002-08-27 Thread Luke Palmer
On Tue, 27 Aug 2002, Sean O'Rourke wrote: > On Tue, 27 Aug 2002, Luke Palmer wrote: > > On 27 Aug 2002, Piers Cawley wrote: > > > Damian Conway <[EMAIL PROTECTED]> writes: > > > > Debbie Pickett asked: > > > > > (Offtopic: can I say: > > > > > $c = -> $xyz { mumble } > > > > > > > > Yes. Though

Re: rule, rx and sub

2002-08-27 Thread Sean O'Rourke
On Tue, 27 Aug 2002, Luke Palmer wrote: > No, it's right. But it doesn't break that. In the grammar, C-like > languages include (something like): > > statement: expression ';' > statement: if expression block > > So an if _statement_ terminates itself. The } on a line of its own is a

Re: rule, rx and sub

2002-08-27 Thread Trey Harris
In a message dated Tue, 27 Aug 2002, Luke Palmer writes: > No, it's right. But it doesn't break that. In the grammar, C-like > languages include (something like): > > statement: expression ';' > statement: if expression block > > So an if _statement_ terminates itself. The } on a line

Re: Perl 6 Summary For Week Ending 2002-08-25

2002-08-27 Thread Leopold Toetsch
Piers Cawley wrote: ( a lot ;-) Thanks for this really informative summary. Must be a lot of work. > ... Actually, Leopold was something of a patch monster this week, Of course, you missed all my private mails to Sean WRT imcc & perl6 patches ;-) > If I read his post right, Leopol

[perl #16794] [PATCH] Update MANIFEST

2002-08-27 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #16794] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=16794 > --- MANIFEST.oldTue Aug 27 07:57:42 2002 +++ MANIFESTTue Aug 27 13:54:17

Re: PMC assignment stuff

2002-08-27 Thread Jason Gloudon
Dan Sugalski wrote: > First, for simple X = Y cases, we need a new assignment opcode. We > have SET to copy pointers, CLONE to make full clones, but we don't > have a method to stuff a value from one PMC to another. > So, what we need to do is add ASSIGN Px, Py, which takes Px and calls > se

perl6 test failures

2002-08-27 Thread Steve Fink
I would like to take a shot at making perl6 front- and backend adapters for languages/regex, but so far I have seen all the tests in languages/perl6 pass exactly once (and I updated again immediately after, and a bunch of them broke again.) So I'm a little nervous about digging into it just yet.

Re: DOD etc

2002-08-27 Thread Juergen Boemmels
"Sean O'Rourke" <[EMAIL PROTECTED]> writes: > On Mon, 26 Aug 2002, Nicholas Clark wrote: > > All ways of doing deterministic destruction seem to have considerable > > overhead. > > One possible alternative would be to have file handles and other objects > with destructors that have to be called

Re: DOD etc

2002-08-27 Thread Mike Lambert
Let me ask a somewhat obvious question here. Why is deterministic destruction needed? The most often-used example is that of objects with external resources like filehandles or network sockets. Let me take that argument for the duration of this email, but please feel free to bring up other reaso

Re: DOD etc

2002-08-27 Thread Sean O'Rourke
On Tue, 27 Aug 2002, Mike Lambert wrote: > Is there still a need for determinstic destruction, even in light of the > alternative approaches mentioned above? Yes, if the destruction of the resource is itself important to the program. For example, one way to do exception-safe locks in C++ is to h

Re: PMC assignment stuff

2002-08-27 Thread Sean O'Rourke
On Tue, 27 Aug 2002, Jason Gloudon wrote: > Dan Sugalski wrote: > > This includes all forms of assignment, not just the ASSIGN op kind. > > When we do an ADD Px, Py, Pz, we're calling Px's set_pmc vtable entry > > with a PMC that represents the addition of Y and Z. Whether X changes > > its type i

Re: perl6 test failures

2002-08-27 Thread Sean O'Rourke
On Tue, 27 Aug 2002, Steve Fink wrote: > I would like to take a shot at making perl6 front- and backend > adapters for languages/regex, but so far I have seen all the tests in > languages/perl6 pass exactly once (and I updated again immediately > after, and a bunch of them broke again.) So I'm a l

Re: perl6 test failures

2002-08-27 Thread Leopold Toetsch
Steve Fink wrote: > Failed Test Status Wstat Total Fail Failed List of Failed > > t/compiler/8.t 5 1280 65 83.33% 1-5 > t/compiler/builtins.t 1 256 21 50.00% 1 > t

Re: perl6 test failures

2002-08-27 Thread Sean O'Rourke
On Tue, 27 Aug 2002, Leopold Toetsch wrote: > Steve Fink wrote: > On a recent tree try this: > > $ perl6 --force --test# force rebuid grammar, run all tests s/force/force-grammar/? /s

[perl #16797] make subs closures

2002-08-27 Thread via RT
# New Ticket Created by Jonathan Sillito # Please include the string: [perl #16797] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=16797 > This patch supersedes patch [perl #16087], which will not apply correctly, since ke

Re: DOD etc

2002-08-27 Thread Steve Fink
On Tue, Aug 27, 2002 at 01:23:50PM -0700, Sean O'Rourke wrote: > On Tue, 27 Aug 2002, Mike Lambert wrote: > > Is there still a need for determinstic destruction, even in light of the > > alternative approaches mentioned above? > > Yes, if the destruction of the resource is itself important to the

Re: perl6 test failures

2002-08-27 Thread Steve Fink
On Tue, Aug 27, 2002 at 01:53:06PM -0700, Sean O'Rourke wrote: > On Tue, 27 Aug 2002, Leopold Toetsch wrote: > > Steve Fink wrote: > > On a recent tree try this: > > > > $ perl6 --force --test# force rebuid grammar, run all tests > > s/force/force-grammar/? Yep, that fixed it, thanks. That c

auto deserialization

2002-08-27 Thread Steve Canfield
Will there be automatic calling of the deserialization method for objects, so that code like this DWIMs... my Date $bday = 'June 25, 2002'; _ Send and receive Hotmail on your mobile device: http://mobile.msn.com

Re: auto deserialization

2002-08-27 Thread Michael G Schwern
On Tue, Aug 27, 2002 at 02:50:27PM -0700, Steve Canfield wrote: > Will there be automatic calling of the deserialization method for objects, > so that code like this DWIMs... > > my Date $bday = 'June 25, 2002'; Err... what do you mean it to do? -- Michael G. Schwern <[EMAIL PROTECTED]>

Re: auto deserialization

2002-08-27 Thread Jonathan Scott Duff
On Tue, Aug 27, 2002 at 02:50:27PM -0700, Steve Canfield wrote: > Will there be automatic calling of the deserialization method for objects, > so that code like this DWIMs... > > my Date $bday = 'June 25, 2002'; What sort of dwimmery do you desire? It's my understanding that variable declara

Hypothetical synonyms

2002-08-27 Thread Aaron Sherman
I just wrote this code in Perl5: $stuff = (defined($1)?$1:$2) if /^\s*(?:"(.*?)"|(\S+))/; This is a common practice for me when I parse configuration and data files whose formats I define. It's nice to be able to quote fields that have spaces, and this is an easy way to parse the result. In

Re: perl6 test failures

2002-08-27 Thread Steve Fink
On Tue, Aug 27, 2002 at 01:38:26PM -0700, Sean O'Rourke wrote: > On Tue, 27 Aug 2002, Steve Fink wrote: > > I would like to take a shot at making perl6 front- and backend > > adapters for languages/regex, but so far I have seen all the tests in > > languages/perl6 pass exactly once (and I updated

Re: perl6 test failures

2002-08-27 Thread Sean O'Rourke
On Tue, 27 Aug 2002, Steve Fink wrote: > For those following along at home: regex engines seem to be too much > fun for people to resist. I know of at least 5 parsers, 4 compilers, > and 5 backend op sets that have been written over the course of the > Parrot project: > > Parsers: > - My language

Re: Hypothetical synonyms

2002-08-27 Thread Larry Wall
On 27 Aug 2002, Aaron Sherman wrote: : I just wrote this code in Perl5: : : $stuff = (defined($1)?$1:$2) if /^\s*(?:"(.*?)"|(\S+))/; : : This is a common practice for me when I parse configuration and data : files whose formats I define. It's nice to be able to quote fields that : have space

Re: Hypothetical synonyms

2002-08-27 Thread Uri Guttman
> "LW" == Larry Wall <[EMAIL PROTECTED]> writes: LW> That seems like a lot of extra work. I'd prefer to see something like: LW> my stuff; LW> m{^\s*[ LW> "$stuff:=(.*?)" | LW>$stuff:=(\S+) LW> ]}; couldn't that be reduced to: m{^\s* $stu

Re: Hypothetical synonyms

2002-08-27 Thread Trey Harris
In a message dated 27 Aug 2002, Uri Guttman writes: > m{^\s* $stuff := [ "(.*?)" | (\S+) ] }; Or, how about my ($fields) = /( '"')>|\S+)/; ? :-) Trey

Re: perl6 test failures

2002-08-27 Thread Steve Fink
On Tue, Aug 27, 2002 at 03:42:18PM -0700, Sean O'Rourke wrote: > On Tue, 27 Aug 2002, Steve Fink wrote: > > Backend ops: > > - Brent's original rx ops > > - The rx ops with Angel's modifications > > - My abandoned implicitly backtracking re ops > > Are these abandoned for good, or just for the

Re: Hypothetical synonyms

2002-08-27 Thread Uri Guttman
> "TH" == Trey Harris <[EMAIL PROTECTED]> writes: TH> In a message dated 27 Aug 2002, Uri Guttman writes: >> m{^\s* $stuff := [ "(.*?)" | (\S+) ] }; TH> Or, how about TH> my ($fields) = /( '"')>|\S+)/; wouldn't quotelike automatically be inherited from the CORE:: rules like UNIVE

Re: Hypothetical synonyms

2002-08-27 Thread Larry Wall
On 27 Aug 2002, Uri Guttman wrote: : > "LW" == Larry Wall <[EMAIL PROTECTED]> writes: : LW> m{^\s*[ : LW> "$stuff:=(.*?)" | : LW> $stuff:=(\S+) : LW> ]}; : : couldn't that be reduced to: : : m{^\s* $stuff := [ "(.*?)" | (\S+) ] }; : : the | will only ret

Re: Hypothetical synonyms

2002-08-27 Thread Larry Wall
On 27 Aug 2002, Uri Guttman wrote: : and quoteline might even default to " for its delim which would make : that line: : : my ($fields) = /(|\S+)/; That just looks like: my $field = //; Larry

Re: Hypothetical synonyms

2002-08-27 Thread Uri Guttman
> "LW" == Larry Wall <[EMAIL PROTECTED]> writes: LW> On 27 Aug 2002, Uri Guttman wrote: : and quoteline might even LW> default to " for its delim which would make : that line: LW> : LW> : my ($fields) = /(|\S+)/; LW> That just looks like: LW> my $field = //; where is the grabb