Re: Synposis 26 - Documentation [alpha draft]

2006-10-13 Thread Brent 'Dax' Royal-Gordon
head3 :numbered =cut method foo($bar, $baz) { ... } =head3 Cfoo(RbarC, RbazC) ... Is that =head3 numbered, or is it in a different lexical scope? (Actually, I don't see any reference to =cut in this spec. Is it still there or not?) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED

Re: Flunking tests and failing code

2005-12-05 Thread Brent 'Dax' Royal-Gordon
somewhere deep in the bowels of the test framework itself. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Solving '=' confusion: ':=' for aliasing

2005-11-29 Thread Brent 'Dax' Royal-Gordon
not sure about the last two (in a lot of ways, they're more like := than = ), but it's certainly far better than the status quo. I suppose that copying looks like: S0 := copy S1 -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Solving '=' confusion: ':=' for aliasing

2005-11-29 Thread Brent 'Dax' Royal-Gordon
Chip Salzenberg [EMAIL PROTECTED] wrote: On Tue, Nov 29, 2005 at 12:14:24PM -0800, Brent 'Dax' Royal-Gordon wrote: I'm not sure about the last two (in a lot of ways, they're more like := than = ), I don't see that. Well, for one thing, my way would mean that `set` is always

Re: Classification syntax [Was: Renaming grep]

2005-11-18 Thread Brent 'Dax' Royal-Gordon
certainly wrote List::Part based on that discussion... -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Hashing: avoid MD5 and SHA-1; use SHA-2 or Whirlpool

2005-11-16 Thread Brent 'Dax' Royal-Gordon
as strong today may be broken tomorrow (or in ten years). From what I've read, that was one of the conclusions of NIST's recent hash workshop. (The other is that cryptographers need to do a lot of theoretical work on hashing--they don't really know how to design a strong algorithm yet.) -- Brent

Re: Hyphens vs. Underscores

2005-11-16 Thread Brent 'Dax' Royal-Gordon
to do unambiguously: just override the Perl 6 grammar's identifier rule. All the edge cases will be resolved by the longest token principle, so `foo-bar-baz` will be an identifier. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: perl6

2005-11-16 Thread Brent 'Dax' Royal-Gordon
out of date; that should probably be rectified.) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: HLL Debug Segments

2005-11-15 Thread Brent 'Dax' Royal-Gordon
dot; you'll thank yourself later. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Ways to add behavior

2005-10-26 Thread Brent 'Dax' Royal-Gordon
. Some of us could make either kind of joke. But perhaps it wouldn't be kind. Flavor. (Shades of CLOS, but we're already building the most flexible object system since it...) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: new sigil

2005-10-20 Thread Brent 'Dax' Royal-Gordon
)Greater than / Anonymous rule Divide ? Boolify There are very few unary operators available, and none (besides the user-defined backticks operator) unused in both term and operator context. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: What the heck is a submethod (good for)

2005-10-13 Thread Brent 'Dax' Royal-Gordon
of syntactic sugar for inserting `call` in the method body, but that's an implementation detail, really... -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Proposal to make class method non-inheritable

2005-10-12 Thread Brent 'Dax' Royal-Gordon
their implementation is inconvenient is not The Perl Way. If it were, Perl 6 would be Java With Sigils. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: my $key is sensitive;

2005-10-04 Thread Brent 'Dax' Royal-Gordon
no point in supporting the feature at all. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: rx ops and support is deprecated

2005-10-04 Thread Brent 'Dax' Royal-Gordon
on an incomplete understanding of the problem. I wrote the optimized int stack too for the rx ops--are you planning on keeping that? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

my $key is sensitive;

2005-10-03 Thread Brent 'Dax' Royal-Gordon
or making sure a destructor is correctly called), and optimizers have been known to helpfully remove such code. Many higher-level languages, including Perl 5, make it hard to know when a piece of data is being overwritten, rather than a pointer being changed. -- Brent 'Dax' Royal-Gordon [EMAIL

Re: [perl #16622] [PATCH PDD07] Document struct naming conventions

2005-09-20 Thread Brent 'Dax' Royal-Gordon
still want this change to be considered? Certainly. Note that the naming conventions are now being followed by Interp and friends. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: item and slurpy

2005-09-09 Thread Brent 'Dax' Royal-Gordon
, not adjectives. But Pugs's internal type names are fairly irrelevant, as long as they have the right names on the outside. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: multisub.arity?

2005-09-07 Thread Brent 'Dax' Royal-Gordon
; return [EMAIL PROTECTED] #but true; } return; } I rather like that non-lexical use of junctions. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

[RELEASE] WWW::Kontent 0.02: Release and revelations

2005-09-01 Thread Brent 'Dax' Royal-Gordon
and the Perl Foundation, especially my mentor at TPF, Ovid. Nor would this project be possible wtihout the efforts of the Perl 6 design team and the Pugs implementation team. Thanks to everyone involved. Share and enjoy, -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Optimizer Documentation

2005-09-01 Thread Brent 'Dax' Royal-Gordon
AUTHOR Curtis Rawls [EMAIL PROTECTED] -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Classes as special undefs

2005-08-11 Thread Brent 'Dax' Royal-Gordon
; $spot.can('bark');# Not until he's instantiated... On the gripping hand, maybe you should have to ask the metaclass about that anyway: $spot.meta.class_can('bark');#No $spot.meta.instance_can('bark');#Yes Hmm. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot

Re: Perl 6 Meta Object Protocols and $object.meta.isa(?)

2005-08-10 Thread Brent 'Dax' Royal-Gordon
TSa [EMAIL PROTECTED] wrote: you wrote: Perl 6 in its unannotated form is also (mostly) a typeless languages, with only the five builtin types, much like Perl 5 is. Counting the sigil quadriga as 4, what is the fifth element? And $it.does(LookGood)? $ @ % :: -- Brent 'Dax' Royal

Re: undef.chars?

2005-08-04 Thread Brent 'Dax' Royal-Gordon
subscripting does? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

[RELEASE] WWW::Kontent 0.01

2005-08-03 Thread Brent 'Dax' Royal-Gordon
database engine and the Perl 5 DBI drivers to access it. I am rather excited about this project, and I hope you will be too. Share and enjoy, -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Curious use of .assuming in S06

2005-07-29 Thread Brent 'Dax' Royal-Gordon
comma between adverbial pairs, and even omit parens around method call arguments? Is .assuming a special form? Isn't this just another form of the syntactic rule that gives us @array.grep:{ ... } ? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

$value.confess()

2005-07-28 Thread Brent 'Dax' Royal-Gordon
probably be a global setting, not a lexical one. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: s/rx.ops// ?

2005-07-23 Thread Brent 'Dax' Royal-Gordon
Will Coleda [EMAIL PROTECTED] wrote: What's the plan for the regular expression ops, given PGE? As the guy who wrote them, I think at this point that they're basically unsalvageable, save the intstacks and *maybe* the bitmap handling code. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl

Re: Exposing the Garbage Collector

2005-07-23 Thread Brent 'Dax' Royal-Gordon
, keeping an array of weak references, or waving a wooden wand and yelling Accio objects is completely up to the metaclass in question. (Sorry, been reading too much Potter lately...) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Do I need has $.foo; for accessor-only virtual attributes?

2005-07-22 Thread Brent 'Dax' Royal-Gordon
*. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Tail method calls, can(), and pre-currying

2005-07-22 Thread Brent 'Dax' Royal-Gordon
On 21/07/05, Adriano Ferreira [EMAIL PROTECTED] wrote: But is there any other case where we need an explicit tail call with goto? When the callee uses `caller -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Tail method calls, can(), and pre-currying

2005-07-20 Thread Brent 'Dax' Royal-Gordon
invoked as a tail call. Of course, this adds *another* piece of syntax to an already large language, so I'm not sure if it's a good idea. Am I missing something? How do you think a tail method call should be performed? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Strange interaction between pairs and named binding

2005-07-18 Thread Brent 'Dax' Royal-Gordon
type or something similarly silly. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: field `_crypt_struct' has incomplete type

2005-07-05 Thread Brent 'Dax' Royal-Gordon
desktop. My x86/Gentoo server is unaffected. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: proposal: binding with a function

2005-06-20 Thread Brent 'Dax' Royal-Gordon
, a simple name like alias is ambiguous about argument order, where an operator isn't.) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: proposal: binding with a function

2005-06-20 Thread Brent 'Dax' Royal-Gordon
will be able to support Ruby, then it will be able to support this function, too. As I've said before, Perl supports `alias`--it's just spelled `:=`. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: %hash1 ... %hash2

2005-06-14 Thread Brent 'Dax' Royal-Gordon
that when [EMAIL PROTECTED] != [EMAIL PROTECTED], the shorter one got extended with undefs... -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Pondering the unification of @MULTI and get_params

2005-06-14 Thread Brent 'Dax' Royal-Gordon
fold -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Attack of the fifty foot register allocator vs. the undead continuation monster

2005-06-13 Thread Brent 'Dax' Royal-Gordon
like that, the compiler should emit a PIR directive saying anything goes in this section. Perhaps some languages will always do that, but that's the price of working in those languages. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: How much do we close over?

2005-06-12 Thread Brent 'Dax' Royal-Gordon
possible. Hmm...maybe the answer is that most destruction isn't guaranteed to be timely, and any object which *is* guaranteed to have timely destruction is illegal to close over unless the programmer marks it as okay. Or maybe that's only with an appropriate stricture... -- Brent 'Dax' Royal

Re: Transparent / Opaque references

2005-05-28 Thread Brent 'Dax' Royal-Gordon
Juerd [EMAIL PROTECTED] wrote: There is no way to get an anonymous rw scalar, is there? There's always the Perl 5 hack: \do { my $x } Although that's not truly anonymous, I suppose. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Perl development server

2005-05-23 Thread Brent 'Dax' Royal-Gordon
On 5/23/05, Juerd [EMAIL PROTECTED] wrote: Also, this new machine needs a hostname. Please help me think of a cute name! I prefer a short hostname with less than 9 letters. I seem to remember that the camel's name is Abigail... -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot

Re: Perl development server

2005-05-23 Thread Brent 'Dax' Royal-Gordon
Andy Bach wrote off-list: Isn't Abigail the golfer, YA excellent PH, FunWithPerl, er guy? I think camels are Fido and Amelia: http://www.perlmonks.org/?node=31716 You're right, of course. I knew it was one of those A names... -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot

Re: Argument Type Checking

2005-05-23 Thread Brent 'Dax' Royal-Gordon
intercaps modules are normal (modules and classes). Similarly, all-lowercase types are special (unboxed), while intercaps types are normal (boxed classes). -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Roles and BUILD

2005-05-16 Thread Brent 'Dax' Royal-Gordon
...) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: Plethora of operators

2005-05-14 Thread Brent 'Dax' Royal-Gordon
---/. I think that means this should be in core. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: ^method ?

2005-05-14 Thread Brent 'Dax' Royal-Gordon
thread, but I'm certainly not attached to those keywords.) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker

Re: trait and properties thru getter/setters

2005-05-13 Thread Brent 'Dax' Royal-Gordon
at compile time what is the value/trait name and its value. Well, the value's pretty easy--just pass in a variable: my $b = $a is foo($bar); As for the name, I'd be surprised if the standard symbolic-ref syntax didn't work: my $b = $a is ::($foo)($bar); -- Brent 'Dax' Royal-Gordon [EMAIL

Re: trait and properties thru getter/setters

2005-05-13 Thread Brent 'Dax' Royal-Gordon
On 5/13/05, Larry Wall [EMAIL PROTECTED] wrote: On Fri, May 13, 2005 at 12:26:22PM -0700, Brent 'Dax' Royal-Gordon wrote: : my $b = $a is foo($bar); As we currently have it, that is not legal syntax. is may only be applied to declarations. Sorry, think-o. I meant 'but' in my examples

Re: Binding to a sub's return value

2005-05-10 Thread Brent 'Dax' Royal-Gordon
the default parameter binding is constant reference, last I checked. I actually like that answer. It means that you can bind the return value, but you can't mutate it, unless the function 'is rw'. (And perhaps you could mark it as 'is copy' and 'is ref', too...) -- Brent 'Dax' Royal-Gordon [EMAIL

Re: reduce metaoperator

2005-05-05 Thread Brent 'Dax' Royal-Gordon
that tags each result with the operands that created it, allowing junctions to be used for the stuff people currently complain they can't be. multi sub *infixmetaop:[ ] ( $lhs, $rhs ) { return call but operands($lhs, $rhs); } -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl

Re: Formal Parameters To While Block

2005-05-01 Thread Brent 'Dax' Royal-Gordon
). To start off the name game: `is deferred`? `is closure`, `is coderef`, `is sub`? `is condition`? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Junctions of classes, roles, etc.

2005-04-30 Thread Brent 'Dax' Royal-Gordon
junctions.) When you see a declaration like: my Foo $bar; Think of it as being like: my $bar where { $_ ~~ Foo }; If the latter, then what is the type of Yes|1? I suspect it's `Disjunction of Str | Int`. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have

Re: Junctions of classes, roles, etc.

2005-04-29 Thread Brent 'Dax' Royal-Gordon
? sub foo(Any | Junction $bar) { ... } -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: [RFC] assign Px, Py

2005-04-27 Thread Brent 'Dax' Royal-Gordon
future: Px := Py set Px, Py Px = Pyassign Px, Py This would much more resemble the HLL's (and programmers) POV. Sounds like a good idea to me. For completeness, can we come up with a clone operator? Perhaps: Px - Py -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED

Re: alarm() and later()

2005-04-21 Thread Brent 'Dax' Royal-Gordon
Larry Wall [EMAIL PROTECTED] wrote: Assuming we rehuffmanize kill to sendsignal or some such, we have: signal is a verb as well as a noun. sub alarm ($secs) { { signal $*PID, Signal::ALARM }.cue(:delay($secs)); } It even reads pretty nicely: signal 4242. -- Brent 'Dax' Royal

Re: Context of hash slices; quotation adverbs

2005-04-17 Thread Brent 'Dax' Royal-Gordon
context and one-element array context? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Truely temporary variables

2005-04-15 Thread Brent 'Dax' Royal-Gordon
.) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: [perl #34912] Badly balanced at classes/pmc2c2.pl

2005-04-12 Thread Brent 'Dax' Royal-Gordon
Subversion. SVN revision number is an excellent idea. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Slicing conflict

2005-04-12 Thread Brent 'Dax' Royal-Gordon
...] Which strikes me as a win. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Slicing conflict

2005-04-12 Thread Brent 'Dax' Royal-Gordon
Larry Wall [EMAIL PROTECTED] wrote: On Tue, Apr 12, 2005 at 12:08:43AM -0700, Brent 'Dax' Royal-Gordon wrote: : @foo[1,3; *; 7] : : Which I rather like. Me too. Unless my memory is failing me, I believe that's what S09 already specifies. It does include a Cterm:* (d'oh, should've

Re: Configuration (was Re: Monthly Release Schedule)

2005-04-07 Thread Brent 'Dax' Royal-Gordon
you'll need is a compiler, linker, and C library. This also implies that configure.pbc and build.pbc will probably have to be carefully written to work with the limited process-manipulation abilities of an ANSI-constrained Miniparrot. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot

Re: Subversion in the wings

2005-04-07 Thread Brent 'Dax' Royal-Gordon
Robert Spier [EMAIL PROTECTED] wrote: Any questions? I assume current committer bits will be transitioned over too? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Definitive and Complete Perl 6 Operator List

2005-04-02 Thread Brent 'Dax' Royal-Gordon
--or for that matter if anything's there that shouldn't be. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Passing on the hat

2005-03-21 Thread Brent 'Dax' Royal-Gordon
sharp guy, desperately over-qualified, and one of the few people I know who can do off-the-cuff MST-ing of modern cinema. Congratulations to Chip, our new Fearless Leader. And thanks for your time and guidance, Dan--Parrot wouldn't be where it is today without you. -- Brent 'Dax' Royal-Gordon

Re: Slices

2005-03-20 Thread Brent 'Dax' Royal-Gordon
-- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: [Fwd: Re: [RFC] A more extensible/flexible POD (ROUGH-DRAFT)]

2005-03-17 Thread Brent 'Dax' Royal-Gordon
to convert. 5. Readable without a formatter. #5 may be last on the list, but it's not least. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: [Fwd: Re: [RFC] A more extensible/flexible POD (ROUGH-DRAFT)]

2005-03-17 Thread Brent 'Dax' Royal-Gordon
Pod dies as a useful documentation language. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: New S29 draft up

2005-03-17 Thread Brent 'Dax' Royal-Gordon
to be longer than do STRING. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: A possible solution for s?pintf

2005-03-12 Thread Brent 'Dax' Royal-Gordon
want to perform bulk formatting: say join ' ', ($n1, $n2, $n3) .as('%d'); Or, if that's not quite sufficient: say map { .key.as(.value) } $num = '%d', $str = '%s', ...; -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life

Re: some misc Perl 6 questions

2005-03-09 Thread Brent 'Dax' Royal-Gordon
the other as trusted. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Optional binding

2005-03-06 Thread Brent 'Dax' Royal-Gordon
of Array (or maybe just Array) is consistent with Any; hence $y receives [EMAIL PROTECTED] -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Sets vs Junctions

2005-02-22 Thread Brent 'Dax' Royal-Gordon
be Any). -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Lingering questions about Junctions.

2005-02-19 Thread Brent 'Dax' Royal-Gordon
?), and the Cundefs would be treated as 0s. So this actually would work, although it would sort in an...interesting...order. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Junction Values

2005-02-19 Thread Brent 'Dax' Royal-Gordon
datatype to a variable is an abomination). Point of consideration: is accidentally autothreading over a junction any more dangerous than accidentally looping forever over an infinite lazy list? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail

Re: Junction Values

2005-02-18 Thread Brent 'Dax' Royal-Gordon
, for example.) Junctions are equivalent to the English sentence Get eggs, bacon, and toast from the store. (In Perl, that'd be something like C $store-get(eggs bacon toast) .) It's just a bit of orthogonality that allows you to give eggs, bacon, and toast a name and use it later. -- Brent 'Dax

Re: Junction Values

2005-02-18 Thread Brent 'Dax' Royal-Gordon
returns from an autothreaded function.) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Junction Values

2005-02-18 Thread Brent 'Dax' Royal-Gordon
either, while more experienced programmers will know better. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Junction Values

2005-02-18 Thread Brent 'Dax' Royal-Gordon
: $! for *$IN;# Or however it's done this week -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I liked mail-reading so much better.

Re: Junction Values

2005-02-16 Thread Brent 'Dax' Royal-Gordon
a chain saw than a nail trimmer, even if I'm less likely to hurt myself with the nail trimmer. And it looks like we'll have a warning or stricture to keep newbies from chopping their legs off anyway. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I used to have a life, but I

Re: Retry: ITypes and VTypes.

2005-02-05 Thread Brent 'Dax' Royal-Gordon
) {...} foo($var); I would assume the answer is syntax error. (Remember, array parameters don't slurp in Perl 6 unless they have a *.) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker For those of you that can't spell, this site also contains free imags, iamges, imges, picturs

Re: Retry: ITypes and VTypes.

2005-02-03 Thread Brent 'Dax' Royal-Gordon
. :) Either that, or the Ref value type is designed to wrap an implementation type. I'm not sure which is the case. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker For those of you that can't spell, this site also contains free imags, iamges, imges, picturs, pcitures

Re: test_main.c oversight

2005-01-22 Thread Brent 'Dax' Royal-Gordon
William Coleda [EMAIL PROTECTED] wrote: Then lets remove the file to avoid further confusion. test_main.c is being retained as an example of a non-trivial, but still clean, Parrot embedding. imcc/main.c is way too complicated and incestuous with internals to fill this role. -- Brent 'Dax

Re: forany, forall...

2005-01-16 Thread Brent 'Dax' Royal-Gordon
element in a list, do something. if any(@list) 10 { ... } -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker For those of you that can't spell, this site also contains free imags, iamges, imges, picturs, pcitures, picktures, picturess, and pistures.

Re: Native data structure for parrot?

2004-12-29 Thread Brent 'Dax' Royal-Gordon
-level struct using the ManagedStruct and UnManagedStruct PMCs, though access is a bit clumsy IIRC. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I might be an idiot, but not a stupid one. --c.l.p.misc (name omitted to protect the foolish)

Re: svn

2004-12-09 Thread Brent 'Dax' Royal-Gordon
Michael G Schwern [EMAIL PROTECTED] wrote: 1) Are they easily available on all the platforms Parrot is? Various Unixen, OS X, Windows. Is there any hope for a VMS port? Can we add are there GUIs for Windows, OS X, and other platforms with wimpy users? ;^) -- Brent 'Dax' Royal-Gordon

Re: specifying the key Type for a Hash

2004-12-07 Thread Brent 'Dax' Royal-Gordon
patients WHERE lastname = ? AND firstname = ?, $last, $first ); } ... } -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I might be an idiot, but not a stupid one. --c.l.p.misc (name omitted to protect the foolish)

Re: specifying the key Type for a Hash

2004-12-07 Thread Brent 'Dax' Royal-Gordon
Matt Diephouse [EMAIL PROTECTED] wrote: On Tue, 7 Dec 2004 00:39:08 -0800, Brent 'Dax' Royal-Gordon my Patient @byid[Int $id] { select_patients(SELECT * FROM patients WHERE patientid = ?, $id)[0]; } multi my Patient %byname{String $last} { select_patients

Re: iteration (was Re: Angle quotes and pointy brackets)

2004-12-04 Thread Brent 'Dax' Royal-Gordon
). -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I might be an idiot, but not a stupid one. --c.l.p.misc (name omitted to protect the foolish)

Re: pull put (Was: Angle quotes and pointy brackets)

2004-12-04 Thread Brent 'Dax' Royal-Gordon
enough to negate that. But then, I'm a little biased. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I might be an idiot, but not a stupid one. --c.l.p.misc (name omitted to protect the foolish)

Re: pull put (Was: Angle quotes and pointy brackets)

2004-12-04 Thread Brent 'Dax' Royal-Gordon
to pull, and use something like put/take for shift/unshift? That goes way beyond offending shell heritage. That actively opposes sixty years of computer science terminology setting push and pop in opposition. (Well, maybe not *sixty* years, but you get the idea.) -- Brent 'Dax' Royal-Gordon [EMAIL

Re: state vs my

2004-12-03 Thread Brent 'Dax' Royal-Gordon
; I know it's *going* away, but it hasn't *gone* away yet. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I might be an idiot, but not a stupid one. --c.l.p.misc (name omitted to protect the foolish)

Re: Angle quotes and pointy brackets

2004-11-30 Thread Brent 'Dax' Royal-Gordon
John Siracusa [EMAIL PROTECTED] wrote: On 11/30/04 9:54 PM, Matt Diephouse wrote: use CGI «:standard»; [...] use CGi :standard; Who is doing this? I'm just saying... use CGI ':standard'; And won't we just be doing: use CGI :standard; anyway? -- Brent 'Dax' Royal

Re: Angle quotes and pointy brackets

2004-11-29 Thread Brent 'Dax' Royal-Gordon
one-liner!' One-liners with no specific support in the core--and it's different from Perl 5, so we can detect old one-liners. How's that for orthagonal? -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker I might be an idiot, but not a stupid one. --c.l.p.misc (name omitted

Re: Angle quotes and pointy brackets

2004-11-28 Thread Brent 'Dax' Royal-Gordon
unused.) Actually, if we do something else with backticks, we can steal backticks for totally raw quoting... I'm open to other ideas, though we must remind ourselves that this is all very bike-sheddish. Oh, I vote for blue paint on that bike shed. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED

Re: [perl #32643] [TODO] Remove Perl* PMCs from opcodes

2004-11-26 Thread Brent 'Dax' Royal-Gordon
Will Coleda wrote: The following opcodes return 'PerlUndef' on failure, instead of 'Undef' or null. open, socket, fdopen, dlfunc, dlvar, find_global Patch attached that changes all these to Undef. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker There is no cabal

Re: IEEE 754 double floats

2004-11-15 Thread Brent 'Dax' Royal-Gordon
of 'print N0'; try using the 'sprintf' opcode and printing the resulting string instead. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker There is no cabal.

Re: [PATCH] A little more Configure info

2004-11-14 Thread Brent 'Dax' Royal-Gordon
. -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker There is no cabal.

Re: [perl #32356] AutoReply: [PATCH] update to embed.pod

2004-11-08 Thread Brent 'Dax' Royal-Gordon
PARROT_IN_CORE -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker There is no cabal.

Re: Search paths and library routines

2004-11-04 Thread Brent 'Dax' Royal-Gordon
the pbc2cc utility I've written, the patches to embed.[ch] might be useful; they implement a new embedding interface function for loading a packfile that's already in memory.) -- Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] Perl and Parrot hacker There is no cabal. --- /dev/null Wed Jan 7 17:19:56

  1   2   3   4   5   6   7   8   9   >