RE: [PATCH] .dev files.

2002-07-17 Thread Brent Dax
middle of classes/perlhash.pmc? *That's* the sort of thing the .dev files are for, not API documentation. I agree that API docs should be in the source file, but not much more than that. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configur

RE: hyper operators - appalling proposal

2002-07-17 Thread Brent Dax
gfiles, since many of them are too stupid to use -w and won't expect any warnings. I think people will find the idea of saying @a ^+ @b really weird as it is, without it sneaking up on them when they're not looking. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: .dev files

2002-07-18 Thread Brent Dax
Tanton Gibbs: # So, my final question is: should .dev files be plain text or POD? My vote is for pod. pod is close enough to plain text that I don't see why it shouldn't be in it. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configur

RE: RFC - Hashing PMC's

2002-07-22 Thread Brent Dax
quest that PMCs *not* hash themselves. They should return a value that the aggregate hashes. That makes it much easier to change the hashing algorithm later. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: an aside on compiling speed (was Re: PARROT QUESTIONS: Keyed access)

2002-07-22 Thread Brent Dax
5/133 with 16M of RAM. # parrot now takes 4 hours in swap hell to compile the computed # goto ops. You can pass Configure a flag to disable computed goto (--cgoto=0), but that won't help if you still want the functionality. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_&

RE: pmc RECALL command for preprocessor

2002-07-23 Thread Brent Dax
gests 'recall', not 're-call'. REINVOKE()? # DOITOVERAGAINBUTDOITRIGHTTHISTIME()? RE_CALL()? CHAIN()? AGAIN()? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: cvs commit: parrot/config/gen/makefiles perl6.in

2002-08-10 Thread Brent Dax
x27;t portable to Windows. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: cvs commit: parrot/config/gen/makefiles perl6.in

2002-08-10 Thread Brent Dax
.in-file seems to use '/'. Ugh, my bad--the only place where it's a problem is in calls to built-in utilities like 'copy'. Bad complainer, no cookie. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: Autovivi

2002-08-14 Thread Brent Dax
the flexibility you wanted? ;^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

RE: Balanced Matches in Regexps?

2002-08-17 Thread Brent Dax
{ \( ( <-[()]> | ) \) } The key to balanced delimiters is recursion. A5 gives us convenient recursion; therefore, it gives us balanced delimiters. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable

RE: Balanced Matches in Regexps?

2002-08-17 Thread Brent Dax
avoid stepping on toes. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting.

FW: CPAN Upload: B/BR/BRENTDAX/Perl6-Parameters-0.03.tar.gz

2002-08-17 Thread Brent Dax
t may be up to a day before your favorite mirror has a copy. Share and enjoy. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) He who fights and runs away wasted valuable running time with the fighting. -Original Message- The uplo

[DRAFT PPD] External Data Interfaces

2002-08-17 Thread Brent Dax
The POD below my sig is a proposed PDD on external data interfaces, that is, the way embedders and extenders will access Parrot's data types. It covers Strings, Buffers, and PMCs, as well as a few related functions. Let me know what you think. --Brent Dax <[EMAIL PROTECTED]>

RE: [DRAFT PPD] External Data Interfaces

2002-08-18 Thread Brent Dax
letons? What this really deals with is if I want a custom PMC type without registering it. # > =item C # > # > Calls the system C with C. # # Are you sure you want to set that in stone? "Calls the system # malloc or equivalent" IIRC on Win32 perl5 supplies a malloc # that tr

[PATCH PDD07] Document struct naming conventions

2002-08-19 Thread Brent Dax
m C. + +=item * + +A typedef for internal use must be defined and be of the form C. + +=item * + +If the structure has external visibility, a second typedef of the form +C must be provided; this must be typedefed as a pointer to +the structure. =back --Brent Dax <[EMAIL PROTECTED]> @roles

RE: [PATCH PDD07] Document struct naming conventions

2002-08-19 Thread Brent Dax
Brent Dax: # Since I'm lying in wait to apply the rules in force within most of the # core to Parrot_Interp, I figured I might as well document them. :^) Gah, got wrapped all funny. Here it's attached and sent to bugs-parrot. --Brent Dax <[EMAIL PROTECTED]> @roles=map

RE: INP ("imcc's not parrot") (was: Re: imcc hack for perl6 regexes)

2002-08-21 Thread Brent Dax
e, but nobody's saying it's the *only* way. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "Java golf. That'd be a laugh. 'Look, I done it in 15!' 'Characters?' 'No, classes!'" --Ferret, in the Monastery

RE: [COMMIT] Some of you may have noticed...

2002-08-22 Thread Brent Dax
f not, we can't use it. (I figure if it handles those four, it's up to anything. :^) ) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "Java golf. That'd be a laugh. 'Look, I done it in 15!' 'Characters?' 'No, classes!'" --Ferret, in the Monastery

RE: Sigils again

2002-08-22 Thread Brent Dax
. :^) ) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "Java golf. That'd be a laugh. 'Look, I done it in 15!' 'Characters?' 'No, classes!'" --Ferret, in the Monastery

RE: auto deserialization

2002-09-03 Thread Brent Dax
foo {} open foo, ">foo"; print foo $x; #filehandle or function call? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "In other words, it's the 'Blow up this Entire Planet and Possibly

RE: Parrot: maximizing the audience

2002-09-03 Thread Brent Dax
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "In other words, it's the 'Blow up this Entire Planet and Possibly One or Two Others We Noticed on our Way Out Here' operator." --Damian Conway

RE: atomicness and \n

2002-09-03 Thread Brent Dax
Damian Conway: # Neither. You need: # # $roundor7 = rx /<+[17]>/ # # That is: the union of the two character classes. How can you be sure that is implemented as a character class, as opposed to (say) an alternation? --Brent Dax <[EMAIL PROTECTED]> @roles=map {&qu

RE: [netlabs #801] [PATCH] PerlArray in scalar context

2002-09-04 Thread Brent Dax
for @a; @b; @c ; @d -> $a, $b, $c, $d is rw { # $d = $a + $b + $c; # } What if (say) @b is a two-dimensional array? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "In other words, it's the 'Blow up this En

RE: First crack at Builtins.p6m

2002-09-04 Thread Brent Dax
; # XXX - How does code get $_? It should be C. A closure that receives one argument and doesn't have a signature gets that argument put into $_. Overall, things look roughly correct. Well done. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexe

RE: [netlabs #801] [PATCH] PerlArray in scalar context

2002-09-04 Thread Brent Dax
Sean O'Rourke: # On Wed, 4 Sep 2002, Brent Dax wrote: # > What if (say) @b is a two-dimensional array? # # Then you get "interesting values of undef" :). Seriously, I # suspect one of the following: # # 1 - runtime error # 2 - each row (or column) of @b numified to its leng

RE: [netlabs #801] [PATCH] PerlArray in scalar context

2002-09-05 Thread Brent Dax
t involves # coalescing two subs into one, then cleaning out a bunch of # temporaries. Perhaps. Looking for identical subs seems like an obvious size optimization to me, but I'm not really a compiler guy. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "In other words, it's the 'Blow up this Entire Planet and Possibly One or Two Others We Noticed on our Way Out Here' operator." --Damian Conway

RE: Parrot long-term goals/prospects

2002-09-05 Thread Brent Dax
ne. Okay, I've finished the configuration stuff. I will now start building Parrot for you. Okay, Parrot is built. To test Parrot, type 'miniparrot build.pbc test' at a command prompt; to install it, type 'miniparrot build.pbc install'.

RE: Argument aliasing for subs

2002-09-07 Thread Brent Dax
te($targname); for @names -> $name { $scope.num{$name} = $num; } } } --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configur

RE: Blocks and semicolons

2002-09-12 Thread Brent Dax
would cause it to collapse to one of the possibilities. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) "In other words, it's the 'Blow up this Entire Planet and Possibly One or Two Others We Noticed on our Way Out Here' operator." --Damian Conway

RE: XS in Perl 6

2002-09-12 Thread Brent Dax
); use Parrot::XS::Inline; inline C => qq{ #include }; sub chdir(string $path //= $ENV{HOME} is external('C', 'int', 'char*') returns(int); sub curdir() is external('C', 'cha

RE: XS in Perl 6

2002-09-12 Thread Brent Dax
Aaron Sherman: # On Thu, 2002-09-12 at 21:10, Brent Dax wrote: # > Aaron Sherman: # > # I'm thinking XS thoughts # # > # Something like: # > # # > # module somesuch; # > # use External (language=>"C"); # > # sub chdir(string $path //= $ENV{

Hyperoperators and dimensional extension

2002-09-17 Thread Brent Dax
^+ @bar; # ??? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only di

RE: Hyperoperators and dimensional extension

2002-09-19 Thread Brent Dax
er my question. :^) What's the *language-level* behavior? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio ope

RE: Passing arguments

2002-09-19 Thread Brent Dax
ly. In some cases you want $_ dynamically, in others lexically. Perhaps C<$_ is topic('lexical')> and C<$_ is topic('dynamic')>?) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a

RE: Passing arguments

2002-09-20 Thread Brent Dax
x The "correct" behavior (IMHO) is the third, though I could see the second. But the first is unacceptable. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his

RE: fingerprinting PBC files

2002-09-22 Thread Brent Dax
of all the .ops files? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The on

RE: [perl #17691] [PATCH] Tiny printf type fixup

2002-09-30 Thread Brent Dax
-5.8.0 somewhat belatedly introduced something like that, # and it seems like a good idea. *elbows him in the side and points at /Parrot_v?sn?printf(_[sc])?/ in misc.c* Now if only I could figure out how to reuse that logic for a PMC array... --Brent Dax <[EMAIL PROTECTED]> @roles=map {&

RE: [perl #17691] [PATCH] Tiny printf type fixup (fwd)

2002-10-01 Thread Brent Dax
hich IIRC can handle a null interpreter. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly th

RE: core.ops ate my (miniscule) RAM

2002-10-02 Thread Brent Dax
f I use a 70 MB swap partition. The computed-goto core (in core_ops_cg.c) can't be split. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head

RE: Parrot file list

2002-10-04 Thread Brent Dax
their memory is freed for later use. A Buffer is the (spiritual) superclass of a String, and will soon be the superclass of a PMC as well. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull

RE: [perl #17766] [PATCH] memory_internals.pod

2002-10-05 Thread Brent Dax
ragment, but it could be (IMHO) better: underlying allocator collects these pieces, coalesces them if possible to form bigger pieces, and then puts them on free lists, sorted by size. Eventually, when a new allocation request arrives, it may give them back to Pa

RE: Draft Proposal: Attributes: "public" vs. "private"

2002-10-05 Thread Brent Dax
w_bar; } else { $.bar; } } --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his h

RE: RFC: [] as the solitary list constructor

2002-10-05 Thread Brent Dax
s for pointing that out, Larry.) Parens don't construct lists EVER! They only group elements syntactically. One common use of parens is to surround a comma-separated list, but the *commas* are creating the list, *not* the parens! --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Par

RE: RFC: library entry name collision

2002-10-05 Thread Brent Dax
starts with a CS_ prefix. But we already have directory names in front. Why not just change ../key.c to ./key_util.c or ./key_support.c? Or even integrate these files into the corresponding PMC classes? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen

RE: [perl #17691] [PATCH] Tiny printf type fixup (fwd)

2002-10-07 Thread Brent Dax
rrot_sprintf and friends, and adds a PIO_printf and PIO_fprintf. It also converts most uses of fprintf and printf in the core to PIO (when it can--often there isn't an interpreter handy, especially in the PackFile stuff). Oh, and it includes a pony. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map

RE: static line number information

2002-10-07 Thread Brent Dax
ne # would be better. IMHO we should use DWARF-2. The Mono Project # does something similar. Can you justify these? Parrot may want to support file names in different character sets, which I doubt much of anything else handles correctly. And if we choose to use an existing format, why DWARF-2?

RE: [perl #17791] [PATCH] Parrot_sprintf-related stuff

2002-10-08 Thread Brent Dax
g(interpreter, string); + +handle_flags(&info, chptr, 0, NULL); targ = string_concat(interpreter, targ, string, 0); } break; --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding reg

RE: [perl #17817] [PATCH] Parrot_sprintf-related stuff, part 2

2002-10-09 Thread Brent Dax
bj->data; # ch = va_arg(arg, char); Can you try putting the first code back in, but change the object call to be like this: ((va_list)(obj->data)) ? I'm not sure yet, but this *may* be causing your other problems. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Pa

Warnings on VC++

2002-10-09 Thread Brent Dax
Program Files\Microsoft Visual Studio ..NET\Vc7\PlatformSDK\Include\WinDef.h(138) : see previous definition of 'CONST' --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail

RE: [perl #17817] [PATCH] Parrot_sprintf-related stuff, part 2

2002-10-09 Thread Brent Dax
come. :^) And thanks for being a patient and helpful tester and debugger. Once I clear up the issue with the Sun compiler, I'll be committing this. Well, a slightly modified version. Relax, it's nothing drastic--I just ran it through check_source_standards.pl and run_indent.pl. --Br

RE: Failed src tests on Win32

2002-10-10 Thread Brent Dax
tests, 0.00% okay Known issue. Right now, the code behind Parrot::Test::c_output_is doesn't work on Windows. But thanks for reporting this--had we not known about it already, it probably would have thrown us into a blind panic. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {&quo

RE: [perl #17817] [PATCH] Parrot_sprintf-related stuff, part 2

2002-10-11 Thread Brent Dax
Andy Dougherty: # On Wed, 9 Oct 2002, Brent Dax wrote: # # > Can you try this? # > # > (at the top of the function...) # > va_list *arg = (va_list *) & (obj->data); # > (vararg accesses should look like...) # > va_arg(*arg, ...); # > (no end-of-f

RE: [perl #17817] [PATCH] Parrot_sprintf-related stuff, part 2

2002-10-11 Thread Brent Dax
Brent Dax: # Can someone with a PPC box try to figure out why this is happening? # # /op/string.# Failed test (t/op/string.t at line # 1224) # # got: '-1.13014e-302 # # -1.13014e-302 # # ' # # expected: '80.43 #

RE: Win32 src test failure

2002-10-12 Thread Brent Dax
ntly introduced, since the $TODO worked fine when I added it a week or so ago. I'll look into this if some time pops up from behind a bush or something. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a

RE: popping an empty intlist

2002-10-13 Thread Brent Dax
--Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only difference is that

RE: popping an empty intlist

2002-10-13 Thread Brent Dax
Jerome Quelin: # On Saturday 12 October 2002 18:26, Brent Dax wrote: # > # So, what else can I do? Catching exceptions (is that # possible # with # > Parrot)? Not just yet. The ideas for exceptions are still bouncing # > around in the caverns of Dan's brain. :^) # # So, what a

RE: signal 11 when run on x86, JIT enabled

2002-10-13 Thread Brent Dax
ODE', <<'OUTPUT', "restart trace"); # print 2, "ok 1\n" # set I0, 1 But that doesn't discriminate between having the JIT enabled and not having it. That test *should* run if the JIT isn't activated. --Brent Dax <[EMAIL PROTECTED

RE: Parrot 0.0.9

2002-10-23 Thread Brent Dax
opments on this, # although I know Brent went through and cleaned up a bunch of stuff # so that at least exceptions will be thrown when they should be. I wrote this, but another part of the patch was deemed unacceptable, so it was never committed. --Brent Dax <[EMAIL PROTECTED]> @roles

RE: Perl6 Builtin Types?

2002-10-23 Thread Brent Dax
Nicholas Clark: # I read this and I think # # sub ... () of Borg { } sub ven () of Nine { ... } --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York

RE: perl6 operator precedence table

2002-10-23 Thread Brent Dax
extra brackets lying around without going to # Unicode... Can the new nefarious use be concat? Pretty please? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in Ne

RE: Configuring and DOD problems

2002-10-23 Thread Brent Dax
y placed in the file rather than in a sub. I need a diff to see what you mean by this. # 8) Configure.pl now uses Configure::Data methods to query and # dump data. And thus has to run init/data.pl first. I consider this a weakness. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_&qu

RE: perl6 operator precedence table

2002-10-18 Thread Brent Dax
h 'bitand' and 'bitor' (or even 'mask' and 'combine', or something to that effect)? 5) if( $vec bitor $mask bitand $mask ) 6) if( $vec combine $mask mask $mask ) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexe

RE: Getting started guide v0.4

2002-10-20 Thread Brent Dax
LIB[:library] /NOLOGO /OUT:filename /REMOVE:membername /SUBSYSTEM:{CONSOLE|EFI_APPLICATION|EFI_BOOT_SERVICE_DRIVER| EFI_ROM|EFI_RUNTIME_DRIVER|NATIVE|POSIX|WINDOWS| WINDOWSCE}[,#[.##]] /VERBOSE --Bren

RE: 64-bit ints and non-capable hardware

2002-10-21 Thread Brent Dax
ctions SioClearScreen SioExecCommand SioFree SioHandleEvent SioInit --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio op

RE: Parrot 0.0.9

2002-10-25 Thread Brent Dax
e to avoid collisions but still have unique identifiers. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radi

RE: C# and Parrot

2002-10-18 Thread Brent Dax
e a lot in the one year, one month and one week (really!) since we released, but we still have a lot to do before it's really usable for full languages. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very,

RE: PMC initializer stuff

2002-10-18 Thread Brent Dax
ion", 3, "Color", "Green"]. Note that, in # all cases, the array is an array of PMCs. (So you get either # an int PMC or a string PMC in the list of keys) I assume that, at least for the Color property, the PerlArray implementation would then go out to the stashes a

RE: Parrot 0.0.9

2002-10-25 Thread Brent Dax
r) both use the same segment number for something? Names make collisions less likely. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing

RE: Perl6 Operator List

2002-10-25 Thread Brent Dax
Larry Wall: # We're obviously missing the "force to string context, negate" # operator. :-) Which would create a superposition of all strings besides the given one, right? (Oh crap, I think I gave Damian an idea... :^) ) --Brent Dax <[EMAIL PROTECTED]> @roles=map {&quo

RE: Perl6 Operator List

2002-10-26 Thread Brent Dax
Larry Wall: # Besides, Windows programmers would continually be writing # # $a / $b *rolls eyes* (Yes, I know that's a joke. (It is, isn't it? :^) )) --Brent Dax <[EMAIL PROTECTED]>, Windows Perl and Parrot hacker @roles=map {"Parrot $_"} qw(embedding regexen Con

[perl #18097] [PATCH] allow NULL interpreter in sprintf like functions

2002-10-27 Thread Brent Dax
ut to stderr) fall back to stdio if given a null interpreter. So at least part of the problem is that lots of functions don't even have an interpreter available. --Brent Dax <[EMAIL PROTECTED]> (Who is slowy scribbling this into his Visor)

RE: Draft sketch of bytecode generation

2002-10-27 Thread Brent Dax
based on offset into the bytecode. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same w

RE: Draft sketch of bytecode generation

2002-10-27 Thread Brent Dax
TYPE: "Parrot::Source Code" DATA: ... CHUNK 2: SIZE: 524 NAME: "bc" TYPE: "Parrot::Bytecode" DATA: ... --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embe

RE: [perl #18097] [PATCH] allow NULL interpreter in sprintf like functions

2002-10-28 Thread Brent Dax
Leopold Toetsch: # Brent Dax wrote: # > When I was working on switching most fprintf calls to PIO, # there were # > so many functions that didn't take an interpreter that I eventually # > made PIO_printf and PIO_eprintf (output to stderr) fall # back to stdio # > if given a

RE: labeled if blocks

2002-10-28 Thread Brent Dax
... last CHECK; } last LOOP; } } # The only difference is that in Perl 6, there is no cat. :-) Ah, I see that my diabolical scheme for World Domination is proceeding as planned... --Brent Dax <[EMAIL PROTECTED]> @

RE: Perl6 Operator List, Take 3

2002-10-28 Thread Brent Dax
Larry Wall: # and then I looked crosseyed at the // vs \\ proposals, and I # realized we have a superposition of / and \ that is spelled "X". :-) use Perl::Caseless; print "foo" x 6; #?!? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"P

RE: "average perl users"? was: labeled if blocks

2002-10-28 Thread Brent Dax
(Add disable => 'superposition' to 'use hints' call to disable this message.) ... Just tell newbies to always 'use hints;', and they'll be fine. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Config

RE: Parrot 0.0.9

2002-10-29 Thread Brent Dax
There should only be one chunk per segment of the given type. We'll reserve some of the types--say, up to 127 to be safe--and let any outside tools use chunk numbers above that. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire t

RE: Parrot 0.0.9

2002-10-29 Thread Brent Dax
who thinks multiple segments are important, not me. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operat

RE: [OT] linguistics and cultural bias?

2002-10-29 Thread Brent Dax
e in other languages--so if a useful concept is in Japanese but not English, you should use it anyway. (I think that at one point you mentioned that 'it' is implicit in Japanese--so does $_ qualify? :^) ) Of course, I might just be rationalizing my own cultural imperialism... --Brent D

RE: [RFC] Perl6 Operator List, Take 5

2002-10-29 Thread Brent Dax
26 - 1, or 25. But that wouldn't be weird enough, I suppose--it's looking like Perl 6 will be the official language of *The Matrix*. Free your mind! :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind o

RE: [RFC] Perl6 HyperOperator List

2002-10-30 Thread Brent Dax
Buddha Buck: # How would you parse: # # @a = @b[[5]]; A 2D array slice, since you can't hyper numbers? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New

RE: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread Brent Dax
about # hypering the others # # @a = @b[..]@c # @a = ($b[0]..$c[0], $b[1]..$c[1], ...) ??? # @a = $b[..]@c # @a = ($b..$c[0], $b..$c[1], ...) ??? # @a = @b[..]$c # @a = ($b[0]..$c, $b[1]..$c, ...) ??? That's a really good one. My naive implementation

RE: [RFC] Perl6 Operator List, Take 5

2002-10-30 Thread Brent Dax
hes to for displaying UTF-8, though.) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. T

RE: [RFC] Perl6 HyperOperator List

2002-10-30 Thread Brent Dax
e { # my $traits = any( split //, $candidate ); # print "True love: $candidate\n" # if $requirements eq $traits; # } So, the love of my life is: Function call found where operator expected at - line 1, near ""dark & "handsom

RE: [RFC] Perl6 Operator List, Take 5

2002-10-31 Thread Brent Dax
ns (which I'm not necessarily advocating, mind you), this sequence is pretty much open. Damn. Larry, I don't envy you your job. :^) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat.

RE: [RFC] Perl6 Operator List, Take 5

2002-10-31 Thread Brent Dax
ng($operand:) ? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only dif

RE: Perl6 Operator (REMAINING ISSUES)

2002-10-31 Thread Brent Dax
\cygwin\bin in his path, am not going to use XEmacs, your average Joe who downloads ActiveState Perl 6 to test his hit-counter script won't use emacs or vim either. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kin

RE: What to do if Digest::MD5 is unavailable?

2002-11-01 Thread Brent Dax
), but we *could* package the pure-Perl implementation of Digest::MD5 with Parrot. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Lo

RE: [CVS ci] Parrot_destroy

2002-11-03 Thread Brent Dax
with string_substr-like semantics, allowing you to allocate a header *once* and reuse it instead of potentially reallocating dozens of times. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat.

RE: [CVS ci] Parrot_destroy

2002-11-04 Thread Brent Dax
ay to explicitly free the memory associated with a buffer without freeing the header? That seems like it could be useful in other areas too (although I'm not quite sure where). --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph

RE: Need for fingerprinting? [was: Re: What to do if Digest::MD5 is unavailable?]

2002-11-04 Thread Brent Dax
, but for more # complex programs, involving PMCs, JIT is currently slower. Wasn't the plan to deal with that to use the JIT to construct a new cgoto core? --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of

RE: Supercomma! (was Re: UTF-8 and Unicode FAQ, demos)

2002-11-04 Thread Brent Dax
Larry Wall: # for @x ‖ @y ‖ @z -> $x, $y, $z { ... } Even if you decide to use UTF-8 operators (which I am Officially Recommending Against), *please* don't use this one. This shows up as a box in the Outlook UTF-8 font. --Brent Dax <[EMAIL PROT

RE: UTF-8 and Unicode FAQ, demos

2002-11-04 Thread Brent Dax
Unicode win here? # # Can't we have our cake and eat it too? Give ASCII digraph or # trigraph alternatives for the incoming tide of Perl6 Unicode? The Unicode version is more typing than the non-Unicode version, so what's the advantage? It's prettier? --Brent Dax <[EMAIL P

RE: [CVS ci] string_set is back for a faster live - not only

2002-11-07 Thread Brent Dax
PMC[32], and 'set' was a COW alias-everything operation? This might boost performace, ease memory allocation, and end poverty, disease and war. Or not. Whatever. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a

RE: rx.ops, bitmaps and memory leaks

2002-11-08 Thread Brent Dax
I, to keep size down. (Just imagine how big it would be if I tried to put in a bit for every Unicode character!) Instead, high bit characters are encoded in a separate string. It seems to me that this behavior isn't useful in the general case. --Brent Dax <[EMAIL PROTECTED]> @roles

RE: Superpositions and laziness

2002-11-08 Thread Brent Dax
, in an analogy to physics? steady state n. Physics A stable condition that does not change over time or in which change in one direction is continually balanced by change in another. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegra

Autovivification

2002-11-09 Thread Brent Dax
o you can't infer just from the C that you should autovivify an array. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles.

RE: Autovivification

2002-11-09 Thread Brent Dax
Michael Lazzaro: # Brent Dax wrote: # > # > I was writing up some docs (in a perldoc-like style--we can always # > change the form later, but the content is important), and started # > working on documenting references. I ended up with this bit: # # I imagine (if there are no obje

RE: Autovivification

2002-11-11 Thread Brent Dax
? (Sorry if this sounds like I'm attacking you. I'm not--I'm just attacking your opinion. :^) ) --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York a

<    1   2   3   4   5   6   7   8   9   >