On 24 Jun 2004, at 21:49, Piers Cawley wrote:
Dan Sugalski wrote:
it's not exactly exciting watching two people hit return three times
in front of a roomful of people.
Although watching two people hit each other in the face with custard
pies three times in front of a roomful of people may be a lot
On Tue, Jun 03, 2003 at 07:24:04PM -0400, Benjamin Goldberg wrote:
IIRC, DoD normally happens something vaguely like this:
for my $p (@all_pmcs) {
clear_is_live_flag($p);
}
our $traverse;
sub set_is_live_flag($p) {
if( !test_is_live_flag($p) and
On Sun, Mar 09, 2003 at 02:08:02PM -0500, Dan Sugalski wrote:
At 1:52 PM -0500 3/9/03, Uri Guttman wrote:
DS == Dan Sugalski [EMAIL PROTECTED] writes:
DS * Objects have properties you can fetch and store by name
DS * Objects have methods you can call
DS * Objects have
On Fri, Feb 21, 2003 at 04:34:42PM -0500, Dan Sugalski wrote:
If A isa B, we certainly wouldn't want to call A's AUTOLOAD on a
method before we looked to see if B had a concrete instance of that
method.
Right. The best you could probably do is note where you found the first AUTOLOAD
so that
On Fri, Feb 07, 2003 at 09:39:14AM -0800, Dan Sugalski wrote:
It's a little more confusing that that. When I said only one foo
method, it was in contrast to attributes, where an attribute of a
particular name may appear in an object multiple times--since
attributes are class-private, each
On Wed, Jan 29, 2003 at 03:41:33PM +, Nicholas Clark wrote:
On Wed, Jan 29, 2003 at 07:36:07AM -0800, Robert Spier wrote:
Also I can't work out how to search the list archive at develooper.com.
Patches welcome.
(Really. I have several archive management tasks that need to get
On Wed, Sep 18, 2002 at 10:15:20AM +0200, Dan Sugalski wrote:
I've been thinking that we do need to have an extra flag to note
whether a key element should be taken as an array or hash lookup
element. The integer 1 isn't quite enough, since someone may have
done a %foo{1} and we only have
On Tue, Sep 10, 2002 at 06:01:23PM +0200, Peter Gibbs wrote:
Attached is a sample implementation of a minor subset of
pack/unpack functionality. Code is not optimised in any way,
and error checking is basically non-existent.
Opcodes are:
convert Sx, Iy, Iz - pack integer Iy into
On Wed, Aug 21, 2002 at 07:17:22AM -0700, Michael G Schwern wrote:
On Wed, Aug 21, 2002 at 02:11:29PM +, Daniel Grunblatt wrote:
Apart from that, does anyone know why test doesn't run on OpenBSD?
I get:
ar: illegal option -- s
Gnu-ism? What ar does OpenBSD use?
Obviously and
On Thu, Aug 01, 2002 at 03:42:19PM -0400, Dan Sugalski wrote:
At 5:28 PM +0200 8/1/02, Aldo Calpini wrote:
fetching an element out of bound changes the
length of the array. but should this really happen?
why does perlarray.pmc act like this:
Because that's the way Perl's arrays work. Joys
On Thu, Aug 01, 2002 at 02:11:27PM -0700, Stephen Rawls wrote:
It should pass them on to the PMC directly, which
should then handle them properly.
So, if ix -SELF-cache.int_val then the code tries
to use a negative value to access the array element in
the C code. This is obviously
On Thu, Aug 01, 2002 at 05:42:12PM -0400, Dan Sugalski wrote:
At 10:24 PM +0100 8/1/02, Graham Barr wrote:
On Thu, Aug 01, 2002 at 02:11:27PM -0700, Stephen Rawls wrote:
It should pass them on to the PMC directly, which
should then handle them properly.
So, if ix -SELF
On Tue, Jul 30, 2002 at 11:08:46AM -0700, Sean O'Rourke wrote:
On Tue, 30 Jul 2002, Dan Sugalski wrote:
I need to get Larry to nail some things down. On the one hand, he's
said that chained comparisons evaluate their parameters just once.
That argues for moving the values to N or S
On Mon, Jul 22, 2002 at 11:14:15AM +0100, Sam Vilain wrote:
Sean O'Rourke [EMAIL PROTECTED] wrote:
languages/perl6/README sort of hides it, but it does say that If you have
Perl = 5.005_03, $a += 3 may fail to parse. I guess we can upgrade
that to if you have 5.6, you lose.
I notice
On Fri, May 10, 2002 at 12:12:41PM -0400, Dan Sugalski wrote:
At 5:38 PM +0200 5/10/02, Peter Gibbs wrote:
The result is that the last header of a COWed string will still believe that
the buffer is shared until a GC collection run occurs, and therefore could
result in buffers being copied
On Thu, Feb 14, 2002 at 02:10:20PM +, Dave Mitchell wrote:
2. If so, how do we distinguish between two PMCs, both of whose
vtable pointers currently point to the 'Dog' vtable, but one of whom has
been delared as type Dog and so should never have it's vatble pointer
updated, and the other
On Thu, Jan 31, 2002 at 08:54:21AM -0800, Brent Dax wrote:
Peter Haworth:
# On Wed, 30 Jan 2002 17:45:58 +, Graham Barr wrote:
# On Wed, Jan 30, 2002 at 09:32:49AM -0800, Brent Dax wrote:
# # rx_setprops P0, i, 2
# # branch $start0
On Wed, Jan 30, 2002 at 09:32:49AM -0800, Brent Dax wrote:
# rx_setprops P0, i, 2
# branch $start0
# $advance:
# rx_advance P0, $fail
# $start0:
# rx_literal P0, a, $advance
#
# First, we set the rx engine to
I belive IBM use inversion lists in thier ICU library for sets of
unicode characters.
Graham.
On Sat, Jan 19, 2002 at 07:08:25PM +0200, Jarkko Hietaniemi wrote:
Honour where honour is due: I've got some questions about inversion
lists. Where I saw them mentioned by that name were some drafts
On Tue, Jan 08, 2002 at 06:38:02PM -0500, Dan Sugalski wrote:
# Attributes are done as a hash of hashes. Each interpreter has a
# pointer to an attribute hash, whose keys are the attribute names. The
# values will be hash pointers. Those hashes will each have a key which
# is a PMC pointer
On Tue, Sep 04, 2001 at 03:03:04PM -0400, Dan Sugalski wrote:
At 01:58 PM 9/4/2001 -0500, Garrett Goebel wrote:
From: Dan Sugalski [mailto:[EMAIL PROTECTED]]
At 10:32 AM 9/4/2001 +0100, Piers Cawley wrote:
Can you see any use of a sub knowing it was called via a method call?
So that
On Tue, Jul 03, 2001 at 10:15:02AM -0400, Uri Guttman wrote:
DS == Dan Sugalski [EMAIL PROTECTED] writes:
DS We're going to use a copying collector. When the string gets
DS copied as part of a compaction run things'll get cleaned up
DS appropriately. (Not that there's really any
On Mon, Jul 02, 2001 at 04:12:31PM -0400, Dan Sugalski wrote:
At 09:07 PM 7/2/2001 +0100, Graham Barr wrote:
On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote:
At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote:
On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote
On Thu, Jun 21, 2001 at 01:41:28PM -0700, Nathan Wiger wrote:
* Simon Cozens [EMAIL PROTECTED] [06/14/2001 15:16]:
OK, I've been teasing people about this for weeks, and it's time to stop.
This is the current state of the Perl 6 emulator; it applies most things
that Damian talked about
On Mon, Jun 04, 2001 at 06:04:10PM -0700, Larry Wall wrote:
Well, other languages have explored that option, and I think that makes
for an unnatural interface. If you think of regexes as part of a
larger language, you really want them to be as incestuous as possible,
just as any other part
On Tue, Jun 05, 2001 at 03:31:24PM -0500, David L. Nicol wrote:
Graham Barr wrote:
I think there are a lot of benefits to the re engine not to be
separate from the core perl ops.
So does it start with a split(//,$bound_thing) or does it use
substr(...) with explicit offsets?
Eh
On Wed, May 30, 2001 at 04:23:58PM +0200, H.Merijn Brand wrote:
On Wed 30 May 2001 16:12, Dave Mitchell [EMAIL PROTECTED] wrote:
KR style for indenting control constructs: ie the closing C} should
line up with the opening Cif etc.
=item *
When a conditional spans
On Tue, May 29, 2001 at 04:48:59PM -0400, Dan Sugalski wrote:
1) The indentation should be all tabs or all spaces. No mix, it's a pain.
(As has been already pointed out) 4 column indent per level, all spaces.
Can you explain why you think it is a pain. I would say converting between
all tabs
On Wed, May 23, 2001 at 06:06:26PM +0100, Simon Cozens wrote:
On Wed, May 23, 2001 at 12:59:01PM -0400, Dan Sugalski wrote:
Should Parrot be a register or stack-based system, and if a register-based
one, should we go with typed registers?
Register based. Untyped registers; I'm hoping
On Wed, Feb 14, 2001 at 03:04:40PM -0500, Dan Sugalski wrote:
At 05:57 PM 2/14/2001 -0300, Branden wrote:
Simon Cozens wrote:
On Wed, Feb 14, 2001 at 11:38:58AM -0800, Damien Neil wrote:
sub do_stuff { ... }
{
my $fh = IO::File-new("file");
do_stuff($fh);
On Wed, Feb 14, 2001 at 03:38:55PM -0500, Dan Sugalski wrote:
At 08:29 PM 2/14/2001 +, Graham Barr wrote:
On Wed, Feb 14, 2001 at 03:04:40PM -0500, Dan Sugalski wrote:
At 05:57 PM 2/14/2001 -0300, Branden wrote:
Simon Cozens wrote:
On Wed, Feb 14, 2001 at 11:38:58AM -0800, Damien
On Thu, Aug 17, 2000 at 05:26:18PM -0400, Sam Tregar wrote:
On Thu, 17 Aug 2000, Nick Ing-Simmons wrote:
Simon Cozens [EMAIL PROTECTED] writes:
Wow. I'm sold. Can this be how we should be doing XS in Perl 6?
So we now run equivalent of xsubpp and cc every time script is run?
No. The
On Tue, Aug 15, 2000 at 02:03:12PM +1000, Jeremy Howard wrote:
The PDL team are now examining how to incorporate these kinds of features
into perl 6. I'm also interested in seeing how to implement things like
(from RFC 82)
quote
@b = (1,2,3);
@c = (2,4,6);
@d = (-2,-4,-6);
$sum
On Wed, Aug 09, 2000 at 10:01:46AM -0400, Chaim Frenkel wrote:
"NI" == Nick Ing-Simmons [EMAIL PROTECTED] writes:
NI So having the object carry around a (pointer to a) table to methods
NI has merit. But how to index that table? Computing the union of all possible
NI method names for all
On Wed, Aug 09, 2000 at 11:53:56AM -0400, Chaim Frenkel wrote:
"GB" == Graham Barr [EMAIL PROTECTED] writes:
GB On Wed, Aug 09, 2000 at 10:01:46AM -0400, Chaim Frenkel wrote:
For the "my Dog $spot" case, that's not an issue, compile time resolution.
GB And why wou
On Mon, Aug 07, 2000 at 02:23:08PM -0400, Chaim Frenkel wrote:
"DS" == Dan Sugalski [EMAIL PROTECTED] writes:
DS At 06:37 AM 8/7/00 -0400, Chaim Frenkel wrote:
Are there any (p5p) pragmas that have a runtime effect?
DS strict, for one. Warnings for another.
Please explain how these
On Sat, Aug 05, 2000 at 11:55:33PM -0400, Chaim Frenkel wrote:
I was thinking of RFC'ing tri-state logic. Would it be worthwhile to
make it seperate or to extend your RFC?
I had mantioned this before, I forget who to. I think it should be
possible, but probably via a pragma;
use tristate;
On Mon, Aug 07, 2000 at 12:03:36PM -0400, Dan Sugalski wrote:
I've been thinking we could have a "state change" op that would selectively
and lexically alter the appropriate state variable (warnings, stricture,
shell, taint checking, whatever) on the fly. Each op would check the
current
On Wed, Aug 02, 2000 at 10:09:04PM -0600, Nathan Torkington wrote:
In the future, if you want to submit an RFC mail it to
[EMAIL PROTECTED] only. The automated process will send it to
the correct list as well as to -announce. This will also prevent
perl6-librarian being CC:ed on followups.
On Wed, Aug 02, 2000 at 05:39:19PM +0100, Tim Bunce wrote:
On Wed, Aug 02, 2000 at 12:05:20PM -0400, Dan Sugalski wrote:
Reference counting is going to be a fun one, that's for sure.
I'd like the interface to be something like:
stat = perl_get_value(sv *, int what, destination)
On Wed, Aug 02, 2000 at 11:29:40AM -0400, Dan Sugalski wrote:
I was figuring the taint/notaint pragma would control taint checking, while
-T would control taint setting. Probably not the best way--might be worth
unconditionally setting the taint status so a use/no taint would do the
right
41 matches
Mail list logo