[svn:parrot-pdd] r14416 - in trunk: . docs/pdds

2006-09-05 Thread chip
Author: chip Date: Tue Sep 5 10:42:07 2006 New Revision: 14416 Added: trunk/docs/pdds/pdd07_codingstd.pod (contents, props changed) Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: Move pdd07 out of clip Added: trunk/docs/pdds/pdd07_codingstd.pod

[svn:parrot-pdd] r14419 - in trunk: . docs/pdds

2006-09-05 Thread chip
Author: chip Date: Tue Sep 5 10:42:52 2006 New Revision: 14419 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: About 25% done with update of pdd07. Modified: trunk/docs/pdds/pdd07_codingstd.pod

[svn:parrot-pdd] r14432 - in trunk: . docs/pdds

2006-09-05 Thread chip
Author: chip Date: Tue Sep 5 15:00:42 2006 New Revision: 14432 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: Move pdd07 out of clip Modified: trunk/docs/pdds/pdd07_codingstd.pod

[svn:parrot-pdd] r14435 - in trunk: . docs/pdds

2006-09-05 Thread chip
Author: chip Date: Tue Sep 5 15:01:18 2006 New Revision: 14435 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: About 25% done with update of pdd07. Modified: trunk/docs/pdds/pdd07_codingstd.pod

[svn:parrot-pdd] r14436 - in trunk: . docs/pdds editor

2006-09-05 Thread chip
Author: chip Date: Tue Sep 5 15:01:35 2006 New Revision: 14436 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Added: trunk/editor/parrot.el (contents, props changed) Modified: trunk/ (props changed) trunk/editor/README.pod Log

[svn:parrot-pdd] r14452 - in trunk: . docs/pdds

2006-09-06 Thread chip
Author: chip Date: Wed Sep 6 15:57:05 2006 New Revision: 14452 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: Move pdd07 out of clip Modified: trunk/docs/pdds/pdd07_codingstd.pod ==

[svn:parrot-pdd] r14453 - in trunk: . docs/pdds

2006-09-06 Thread chip
Author: chip Date: Wed Sep 6 15:57:18 2006 New Revision: 14453 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: Modified: trunk/docs/pdds/pdd07_codingstd.pod ==

[svn:parrot-pdd] r14454 - in trunk: . docs/pdds

2006-09-06 Thread chip
Author: chip Date: Wed Sep 6 15:57:40 2006 New Revision: 14454 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: Modified: trunk/docs/pdds/pdd07_codingstd.pod ==

[svn:parrot-pdd] r14455 - in trunk: . docs/pdds

2006-09-06 Thread chip
Author: chip Date: Wed Sep 6 15:57:46 2006 New Revision: 14455 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: About 25% done with update of pdd07. Modified: trunk/docs/pdds/pdd07_codingstd.pod ==

[svn:parrot-pdd] r14840 - in trunk: . docs/pdds/clip

2006-10-03 Thread chip
Author: chip Date: Tue Oct 3 12:36:36 2006 New Revision: 14840 Removed: trunk/docs/pdds/clip/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: Remove redundant pdd07 (closes: #40419)

[svn:parrot-pdd] r15330 - in trunk: . compilers/imcc docs docs/pdds include/parrot src

2006-11-10 Thread chip
Author: chip Date: Fri Nov 10 11:12:20 2006 New Revision: 15330 Modified: trunk/docs/pdds/pdd03_calling_conventions.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) trunk/compilers/imcc/imcc.l trunk/compilers/imcc/imcc.y trunk/compilers/imcc

[svn:parrot-pdd] r15527 - in trunk: . docs/pdds

2006-11-14 Thread chip
Author: chip Date: Tue Nov 14 09:40:26 2006 New Revision: 15527 Modified: trunk/docs/pdds/pdd07_codingstd.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) Log: Incremental improvement to pdd07 "coding standards": * Prefer "char

[svn:parrot-pdd] r11894 - trunk/docs/pdds

2006-03-13 Thread chip
Author: chip Date: Mon Mar 13 15:41:32 2006 New Revision: 11894 Modified: trunk/docs/pdds/pdd03_calling_conventions.pod Log: Undeprecate the MAYBE_FLAT bit, which (contrary to my mistaken memory) is not unused, but is in fact very often used for Perl 6. New features: (1) When a hash value is

[svn:parrot-pdd] r12283 - trunk/docs/pdds

2006-04-16 Thread chip
Author: chip Date: Sun Apr 16 20:33:54 2006 New Revision: 12283 Modified: trunk/docs/pdds/pdd21_namespaces.pod Log: * Added requirement that ."load_library"() throw an exception on failure. Also noted that the exception is only covering for the lack of a universal error PM

[svn:parrot-pdd] r12284 - trunk/docs/pdds

2006-04-16 Thread chip
Author: chip Date: Sun Apr 16 21:21:53 2006 New Revision: 12284 Modified: trunk/docs/pdds/pdd21_namespaces.pod Log: * Documented clearly & consistently that all namespace opcodes start their search in the HLL root namespace, *not* at the global root. * Added a second namespace metho

[svn:parrot-pdd] r12289 - trunk/docs/pdds

2006-04-17 Thread chip
Author: chip Date: Mon Apr 17 08:35:24 2006 New Revision: 12289 Modified: trunk/docs/pdds/pdd21_namespaces.pod Log: Rename name() method to get_name() for consistency and to allow for eventual possibility of set_name(). Modified: trunk/docs/pdds/pdd21_namespaces.pod

[svn:parrot-pdd] r12706 - in trunk: . docs docs/pdds/clip src/ops src/pmc t/pmc

2006-05-16 Thread chip
Author: chip Date: Tue May 16 13:27:30 2006 New Revision: 12706 Modified: trunk/docs/pdds/clip/pdd02_vtables.pod trunk/docs/pdds/clip/pdd15_objects.pod Changes in other areas also in this revision: Modified: trunk/docs/ROADMAP.pod trunk/docs/vtables.pod trunk/src/ops/ops.num

[svn:parrot-pdd] r12774 - trunk/docs/pdds/clip

2006-05-23 Thread chip
Author: chip Date: Tue May 23 11:06:17 2006 New Revision: 12774 Modified: trunk/docs/pdds/clip/pdd23_exceptions.pod Log: Half-done. The new opcodes and directives are certain, and can be the basis of implementation work immediately. Modified: trunk/docs/pdds/clip/pdd23_exceptions.pod

[svn:parrot-pdd] r13070 - trunk/docs/pdds/clip

2006-06-30 Thread chip
Author: chip Date: Fri Jun 30 13:10:33 2006 New Revision: 13070 Modified: trunk/docs/pdds/clip/pdd23_exceptions.pod Log: Overhaul. Take _that_, Coke! Modified: trunk/docs/pdds/clip/pdd23_exceptions.pod == --- trunk

[svn:parrot-pdd] r13071 - in trunk/docs/pdds: . clip

2006-06-30 Thread chip
Author: chip Date: Fri Jun 30 13:12:26 2006 New Revision: 13071 Added: trunk/docs/pdds/pdd23_exceptions.pod - copied unchanged from r13070, /trunk/docs/pdds/clip/pdd23_exceptions.pod Removed: trunk/docs/pdds/clip/pdd23_exceptions.pod Log: Rename pdd23 into docs/pdds.

[svn:parrot-pdd] r13092 - trunk/docs/pdds

2006-07-01 Thread chip
Author: chip Date: Sat Jul 1 11:26:02 2006 New Revision: 13092 Modified: trunk/docs/pdds/pdd23_exceptions.pod Log: * Exception handlers are now closures (or just plain subroutines), not continuations. * Eliminate the C opcode, as the handler returning is enough of a clue that the next

[svn:parrot-pdd] r13093 - trunk/docs/pdds

2006-07-01 Thread chip
Author: chip Date: Sat Jul 1 11:26:44 2006 New Revision: 13093 Modified: trunk/docs/pdds/pdd23_exceptions.pod Log: oops, restore namespace on exception class in example code Modified: trunk/docs/pdds/pdd23_exceptions.pod

[svn:parrot-pdd] r13094 - trunk/docs/pdds

2006-07-01 Thread chip
Author: chip Date: Sat Jul 1 11:30:02 2006 New Revision: 13094 Modified: trunk/docs/pdds/pdd23_exceptions.pod Log: rename 'caught' opcode to 'handled' for obscure reasons Modified: trunk/docs/pdds/

[svn:parrot-pdd] r13097 - trunk/docs/pdds

2006-07-01 Thread chip
Author: chip Date: Sat Jul 1 12:27:31 2006 New Revision: 13097 Modified: trunk/docs/pdds/pdd21_namespaces.pod Log: Consistently describe namespace identifiers accepted by namespace opcodes as either key constants or string arrays, since both of those work in all cases (or should

[svn:parrot-pdd] r13098 - trunk/docs/pdds

2006-07-01 Thread chip
Author: chip Date: Sat Jul 1 13:00:41 2006 New Revision: 13098 Modified: trunk/docs/pdds/pdd21_namespaces.pod Log: Specify new compiler methods, compiler.'parse_name'(), which allows parsing foreign language names using the foreign language's rules. (per Allison)

[svn:parrot-pdd] r13170 - in trunk: docs/pdds include/parrot src src/ops src/pmc t/op t/pmc t/src

2006-07-05 Thread chip
Author: chip Date: Wed Jul 5 17:31:15 2006 New Revision: 13170 Modified: trunk/docs/pdds/pdd21_namespaces.pod Changes in other areas also in this revision: Modified: trunk/include/parrot/global.h trunk/include/parrot/hll.h trunk/src/builtin.c trunk/src/global.c trunk/src

[svn:parrot-pdd] r13183 - in trunk: . compilers/imcc docs docs/dev docs/pdds editor languages/regex languages/tcl src

2006-07-06 Thread chip
Author: chip Date: Thu Jul 6 13:05:47 2006 New Revision: 13183 Modified: trunk/docs/pdds/pdd00_pdd.pod Changes in other areas also in this revision: Modified: trunk/README trunk/README.win32.pod trunk/RELEASE_INSTRUCTIONS trunk/compilers/imcc/README trunk/docs/debug.pod

Re: Roadmap for Parrot

2002-04-20 Thread Chip Salzenberg
scratchpad and not have to search outward at >runtime. Once you start down that path, forever will it dominate your closure implementation. I suggest you do lexical scopes right from the start. Surely they're not that much harder than a trampoline Are they? PS: I'm back.

[PATCH] Make obscure.ops work

2002-04-21 Thread Chip Salzenberg
t NUM, in NUM) { + $1 = 1.0 - cos($2); goto NEXT(); } -- Chip Salzenberg - a.k.a. -<[EMAIL PROTECTED]> "It furthers one to have somewhere to go."

Style in *.pmc?

2002-04-21 Thread Chip Salzenberg
While editing *.pmc, I'm inclined to make various style details consistent. But I don't know whose style rules rule in *.pmc. If necessary, I'll be glad to create a pmc style guide. -- Chip Salzenberg - a.k.a. -<[EMAIL PROTECTED]> "It further

PMCs on parade

2002-04-21 Thread Chip Salzenberg
. If somebody else wants to take over this > I'd only be too happy [...] I'll be glad to. Lots of the PMC subsystems looks Topaz-like to me. That's almost certainly a case of convergent evolution rather than derivation, but in any case, the PMCs look really interesti

Back from Neptune

2002-04-21 Thread Chip Salzenberg
ting work that I can do over the net in between classes (hint, hint :-)). -- Chip Salzenberg - a.k.a. -<[EMAIL PROTECTED]> "It furthers one to have somewhere to go."

Re: PMCs on parade

2002-04-28 Thread Chip Salzenberg
uch all of it has been lifted, in one > form or other, from folks with a lot more experience and talent than > I have. I just file down the edges and add some putty to make things > fit together right) Originality is the art of concealing one's sources. -- Chip Salzenberg

Re: [perl #39856] TODO: Produce Single PBC from Multiple PIR Files with -o

2006-08-08 Thread Chip Salzenberg
ow multiple :load routines. That's a bug, Shirley. > What we're looking for is more of a Parrot version of .par/.jar/.pkg: > bundle up all the files you need for a particular application into a > single file. Not a PBC, but some form of "archive" or "package" format. I don't see any harm in .zip and .tar and [archive method of choice] plugins. -- Chip Salzenberg <[EMAIL PROTECTED]>

Parrot 0.4.6 Released! {p2-only announcement}

2006-08-08 Thread Chip Salzenberg
y accessing our source code repository. Instructions for doing this are at <http://www.parrotcode.org/source.html>. I'd like to thank all our contributors for making this possible, and our sponsors for supporting this project. Share & Enjoy! Chip Salzenberg <[EMAIL PROTECTED]>

can somebody convert an MS Project 97 file for me?

2006-08-09 Thread Chip Salzenberg
If you have MS Project 98 or Project 2000 installed, and can load-and-save a project file for me, please mail me. adTHANSKvance -- Chip Salzenberg <[EMAIL PROTECTED]>

Parrot 0.4.6 Released!

2006-08-09 Thread Chip Salzenberg
elop on Parrot (or help develop Parrot itself), we strongly recommend that you keep up with the latest and best Parrot code by accessing our source code repository. Instructions for doing this are at <http://www.parrotcode.org/source.html>. I'd like to thank all our contributors for making this possible, and our sponsors for supporting this project. Share & Enjoy! Chip Salzenberg <[EMAIL PROTECTED]>

Review of current stm branch code

2006-08-10 Thread Chip Salzenberg
nterp" -void pt_thread_prepare_for_run(Parrot_Interp d, Parrot_Interp s); +void pt_thread_prepare_for_run(Parrot_Interp d, const Parrot_Interp s); What's the purpose of this? It doesn't protect *s from changes. [time passes] I now see that some of the existing functions already have this construct. Perhaps you were just imitating them? -- Chip Salzenberg <[EMAIL PROTECTED]>

More review of current stm branch code

2006-08-10 Thread Chip Salzenberg
HER NAMING THING * Please rename 'ro_variant' to something ending in '_vtable', e.g. 'ro_variant_vtable', to make clear that it's not a class pointer or type number. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: Review of current stm branch code

2006-08-10 Thread Chip Salzenberg
On Thu, Aug 10, 2006 at 07:11:15PM -1000, Joshua Hoblitt wrote: > On Thu, Aug 10, 2006 at 07:19:21PM -0700, Chip Salzenberg wrote: > > * useless curlies > >OTGH, the project needs automated filters for more coding standards, > >including one that that notes (and

Re: Review of current stm branch code

2006-08-11 Thread Chip Salzenberg
ment.[*] If people kept talking about it, and if I kept trying to persuade them, back & forth... then, it'd be an argument. [*] It's abuse. Arguments are down the hall. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: More review of current stm branch code

2006-08-15 Thread Chip Salzenberg
On Fri, Aug 11, 2006 at 04:38:59PM -0400, Charles Reiss wrote: > On 8/10/06, Chip Salzenberg <[EMAIL PROTECTED]> wrote: > > /* XXX is it okay to combine flatten/slurpy into one flag? */ > > > > The answer is "No": "flat" is an output flag, &qu

Re: More review of current stm branch code

2006-08-15 Thread Chip Salzenberg
. > The hard part of doing it correctly is handling inheritance. It's an interface guarantee, and as such I think it's OK that it can't be overridden in a derived class. Agree? > >A bigger issue for automatic read-only variant generation is that MMD > >methods curren

stm ready (was Re: More review of current stm branch code)

2006-08-15 Thread Chip Salzenberg
So, given the below, looks like we've got everything sewn up and the long-awaited day of the STM merge is upon us. Charles, care to do the honors? On Tue, Aug 15, 2006 at 06:31:38PM -0400, Charles Reiss wrote: > On 8/15/06, Chip Salzenberg <[EMAIL PROTECTED]> wrote: > >On Sat

Re: [perl #40178] None Must Die

2006-08-17 Thread Chip Salzenberg
On Thu, Aug 17, 2006 at 12:13:30PM -0700, Leopold Toetsch via RT wrote: > Am Donnerstag, 17. August 2006 08:24 schrieb Chip Salzenberg: > > The None class serves no useful (portable) purpose and it should be > > removed, especially from the public interface of Hash. > > I&#

Re: [perl #40178] None Must Die

2006-08-17 Thread Chip Salzenberg
$P0 = new .Undef ... $P1 = default hsh['key1'], $P0 $P1 = default hsh['key2'], $P0 ... It would work without the lookups too: $S0 = default $S0, ''# if $S0 is null, assign it '' what say? -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: [perl #40178] None Must Die

2006-08-17 Thread Chip Salzenberg
direct way to indicate an error when the output type has no out-of-band values, like INTVAL. And exceptions are still too expensive. So at present I'd consider this a misbug. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: None Is Dead

2006-08-17 Thread Chip Salzenberg
{ not replying to the ticket } On Fri, Aug 18, 2006 at 01:10:07AM +0200, Leopold Toetsch wrote: > Am Donnerstag, 17. August 2006 08:24 schrieb Chip Salzenberg: > > The None class serves no useful (portable) purpose and it should be > > removed, especially from the public in

Re: [perl #40204] line numbers of runtime errors are one too low

2006-08-20 Thread Chip Salzenberg
et was right. Besides, it's not like they aren't a renewable resource. :-) -- Chip Salzenberg <[EMAIL PROTECTED]>

End the Hollerith Tyranny? (linelength.t)

2006-08-21 Thread Chip Salzenberg
, this is NOT a style preference question. The only reason I'm bugging the list with this question is to solicit stories of "80 columns are the max supported by ". adTHANKSvance -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: SKIPs Are Now a Code Smell

2006-08-21 Thread Chip Salzenberg
ible, and > delete the tests that don't matter anymore. I'm Chip Salzenberg, and I approve of this message. > I've just checked in a CAGE task for this. Thanks. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: End the Hollerith Tyranny? (linelength.t)

2006-08-21 Thread Chip Salzenberg
Some selectivity is in order, or we'll have to target 1989 memory sizes, disk capacities, and network bandwidth PS: Allison gets to specify the doc formatting, if she likes. Exceptions are technically trivial. See the bottom of the pdds for how a given file can override the default word wrap column. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: End the Hollerith Tyranny? (linelength.t)

2006-08-21 Thread Chip Salzenberg
you. My school's punch card machines were in the same room as the TRS-80 Model I ("THE COMPUTER ROOM"). These kids today with their hula hoops and fax machines and intarwebs... -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: End the Hollerith Tyranny? (linelength.t)

2006-08-21 Thread Chip Salzenberg
On Mon, Aug 21, 2006 at 06:05:08PM -0400, Mr. Shawn H. Corey wrote: > Don't forget that some programs, like mailers, wrap at 80 characters. I don't know of any mailer that is hard-coded at any given column width. Do you? -- Chip Salzenberg <[EMAIL PROTECTED]>

String.to_int() vs. opcode

2006-08-25 Thread Chip Salzenberg
METHOD becomes redundant. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: String.to_int() vs. opcode

2006-08-25 Thread Chip Salzenberg
rhaps I should let that go unmentiond. Oops, too late. ("Bitter? Oh, a *tad*.") > I do think pulling too hard at this thread might require a closer look at > what's current in src/pmc/ vs. src/*.c vs src/ops/ (where's there's > smoke...): a lot of the current state

pls ignore commits w/o content

2006-09-06 Thread Chip Salzenberg
It seems that I've managed to confuse svk again, as it continues to re-commit old log messages with no content. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: r15330 - in trunk: . compilers/imcc docs docs/pdds include/parrot src

2006-11-11 Thread Chip Salzenberg
On Fri, Nov 10, 2006 at 10:51:14PM -0500, Bob Rogers wrote: >From: [EMAIL PROTECTED] >Date: Fri, 10 Nov 2006 11:12:21 -0800 (PST) > >Author: chip >Date: Fri Nov 10 11:12:20 2006 >New Revision: 15330 > >. . . > >Log: >Remove the

Re: Coding Standard Questions

2006-11-12 Thread Chip Salzenberg
work in your initializations, work that may be entirely pointless if the given function takes an early return for some reason. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: Coding Standard Questions

2006-11-12 Thread Chip Salzenberg
this is the preferred format: if (foo) bar(); else baz(); -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: Coding Standard Questions

2006-11-12 Thread Chip Salzenberg
On Tue, Oct 17, 2006 at 11:41:06PM +0200, Leopold Toetsch wrote: > Anything that has the smallest smell of ever needing an extra statement after > if or else shall use braces in the first place (IMHO). Predicting the future is something humans are bad at, sadly. -- Chip Salzenberg &

All Parrot coders: Please check NEWS, release is soon

2006-11-13 Thread Chip Salzenberg
space refinements + Coroutine improvements + An impressive swarm of other bugfixes and enhancements -- Chip Salzenberg <[EMAIL PROTECTED]>

Release: Parrot 0.4.7, "Caique"

2006-11-14 Thread Chip Salzenberg
g Subversion or SVK to access our source code repository; see instructions at http://www.parrotcode.org/source.html . Thanks to all our contributors for making this possible, and our sponsors for supporting this project. Share & Enjoy! -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: Perl* Abstraction

2003-07-11 Thread Chip Salzenberg
(Customized PMCs can of course respond with anything they like.) -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K

Re: [CVS ci] bitwise string vtables; ands, ors opcodes

2003-08-14 Thread Chip Salzenberg
>if (dest && *dest) > res = *dest; > else if (!s1 || !s2) > res = string_make(interpreter, NULL, 0, NULL, 0, NULL); What in $DEITY's name is *that*? It sure isn't a context diff. A context diff is what you get from "diff -u" or "diff -c

Re: [CVS ci] PackFile-15: print warning location

2003-08-22 Thread Chip Salzenberg
erl too? Because Perl already has this. Funny how we don't get complaints. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K

Re: mission haiku

2003-08-29 Thread Chip Salzenberg
Shimmer in distance: Floor wax *and* dessert topping! Shine will be tasty. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to

Re: Semantics for regexes

2004-09-03 Thread Chip Salzenberg
X in string >*) find first character not of class X in string >*) find boundary between X and not-X >*) Find boundary defined by arbitrary code (mainly for word breaks) Also, I imagine you'll want a backwards/forwards option on some of them, to support the p6 equivalent of /a.*b/. -- Chip Sa

Re: Semantics for regexes

2004-09-04 Thread Chip Salzenberg
According to Dan Sugalski: > At 2:44 PM + 9/3/04, Chip Salzenberg wrote: > >According to [EMAIL PROTECTED] (Dan Sugalski): > >>*) extract substring > > > >Rather than that, wouldn't you prefer to make "substring of target > >string" the act

Re: Semantics for regexes - copy/snapshot

2004-09-07 Thread Chip Salzenberg
ary for efficient regex work with minimal copying. [*] Unless it's a _feature_ that given tied $a, ($a = "aaa") =~ s/a/b/g would call STORE four times ("aaa", "baa", "bba", "bbb"). -- Chip Salzenberg - a.k.a. -<[EMAIL PROTECTED]> "Persistence in one opinion has never been considered a merit in political leaders." --Marcus Tullius Cicero

Re: Semantics for regexes - copy/snapshot

2004-09-08 Thread Chip Salzenberg
vant for this oddity: ($a = "aaa") =~ s{a} { $x++ ? substr($a,0,1) : 'b' }e; Now, should that produce "bbb" or "baa"? I favor "baa", because I think minimal stores are too important to compromise them just for this bizarre use case. -- Chip Salzen

Re: No Autoconf, dammit!

2004-09-08 Thread Chip Salzenberg
o build a config file by hand. IMO. And yes, I *have* done cross-compilation myself. -- Chip Salzenberg - a.k.a. -<[EMAIL PROTECTED]> "Persistence in one opinion has never been considered a merit in political leaders." --Marcus Tullius Cicero

Re: No Autoconf, dammit!

2004-09-08 Thread Chip Salzenberg
e captain can be wrong, but the captain cannot be indecisive. PS: Splunge. -- Chip Salzenberg - a.k.a. -<[EMAIL PROTECTED]> "Persistence in one opinion has never been considered a merit in political leaders." --Marcus Tullius Cicero

Re: Semantics for regexes - copy/snapshot

2004-09-09 Thread Chip Salzenberg
mization modes where a single substitution like > $genome ~~ s/TTAGGG// > can be done "mostly in place". Indeed, I had that in mind when I designed Topaz's "open the hood" feature for string Scalars, which I mentioned earlier as a possible model for optimizing

Re: No Autoconf, dammit!

2004-09-20 Thread Chip Salzenberg
readlink() is exactly the kind of thing that must be probed for. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I don't really think it is a question of bright people and dumb people, but rather people who can see the game they're playing and those who can't." -- Joe Cosby

Re: Namespaces, part 1 (new bits)

2004-09-24 Thread Chip Salzenberg
According to Dan Sugalski: > I'm fine with mashing functions and variables into a single big mass... Me too (FWIW). And I think it'll work. PS: I've got the Glob Stick where I can reach it. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]>

Re: Namespaces, part 1 (new bits)

2004-09-24 Thread Chip Salzenberg
where it's up to the language implementor to design a name mangling scheme, has the advantage of being known to work. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I don't really think it is a question of bright people and dumb people, but rather peop

Re: Why lexical pads

2004-09-25 Thread Chip Salzenberg
According to Jeff Clites: > But it's nice to have stuff that a compiler can optimize away in a > standard run, and maybe leave in place when running/compiling a > debug version [...] my $i is register; I See A Great Need. -- Chip Salzenberg - a.k.a. -

Re: Why lexical pads

2004-09-25 Thread Chip Salzenberg
methods are on their own, which is OK with me. So, given this sub and tied $*var: sub getvar { my $i = rand; $*var } the FETCH method implementing $*var might not be able to see $i? Which implies that there may be no pad and $i could be in a register? -- Chip Salzenberg

Re: Why lexical pads

2004-09-25 Thread Chip Salzenberg
According to Dan Sugalski: > At 12:25 PM -0400 9/25/04, Chip Salzenberg wrote: > > my $i is register; > > Except that makes things significantly sub-optimal in the face of > continuations, since registers aren't preserved... Well, I know I'd be willing to put in a f

Re: Namespaces again

2004-09-28 Thread Chip Salzenberg
xample. Don't you mean: variables => { '$Foo' => }, i.e. with the '$' in the key? -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I don't really think it is a question of bright people and dumb people, but rather people who can see the game they're playing and those who can't." -- Joe Cosby

Re: Namespaces again

2004-09-28 Thread Chip Salzenberg
d categories, thus avoiding lots of anticipated string tricks. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I don't really think it is a question of bright people and dumb people, but rather people who can see the game they're playing and those who can't." -- Joe Cosby

Re: Namespaces again

2004-09-28 Thread Chip Salzenberg
According to Dan Sugalski: > At 11:58 AM -0700 9/28/04, Jeff Clites wrote: > >On Sep 28, 2004, at 11:26 AM, Chip Salzenberg wrote: > > > >>According to Jeff Clites: > >>>top-level namespace (say this is namespace #1): > >>>{ > >>

Re: Namespaces again

2004-09-28 Thread Chip Salzenberg
some method on this object. I won't tell you which method to call. Just pick one. Guess if you have to." Ruby apparently has a unified namespace. Perl doesn't have one of those. Pretending it does is just closing your eyes and humming. -- Chip Salzenberg - a.k.a. -

Re: Namespaces again

2004-09-28 Thread Chip Salzenberg
d the second half of the message you'd know > that that's what I meant. I read all of it. I know what you mean. What you are not realizing is that the "appearance" of a unified namespace *is* a unified namespace. A Perl runtime won't have the necessary information to

Re: Namespaces again

2004-09-28 Thread Chip Salzenberg
According to TOGoS: > Chip said: > > A Perl runtime won't have the necessary information > > to present [a unified namespace]. > > I'm not so sure about that. Most of the time, only one variable with > a name will be defined ($foo, @foo, or &foo, but n

Re: Namespaces again

2004-09-28 Thread Chip Salzenberg
s is somewhat different; it's mapping a C# language feature (for the CLR wouldn't have had this feature if C# didn't need it) onto a language that lacks it. On an even less related note, I'm really quite surprised that J# doesn't use the bean method names. Or maybe

Re: Namespaces again

2004-09-28 Thread Chip Salzenberg
According to Chip Salzenberg: > According to TOGoS: > > Or explicit exports :) that way you only need to define the > > interface once, and then all unified-namespace languages can use it. > > Asking Perl programmers to go out of their way to present foreign and > unnat

Re: Namespaces again

2004-09-30 Thread Chip Salzenberg
According to Brent 'Dax' Royal-Gordon: > Chip Salzenberg <[EMAIL PROTECTED]> wrote: > >parrot_alias(a, 'b', # dest: Python is unified, no need for a > > category here > > a, 'b', 'scalar') # src

Re: Passing on the hat

2005-03-21 Thread Chip Salzenberg
According to Dan Sugalski: > As such, I'd like to say a big thanks to Chip Salzenburg who's agreed > to take the hat. I thank you for your kind words, and for giving me the opportunity again to work long hours and explain difficult and arbitrary design decisions to enthusias

Fearless leadership...

2005-03-22 Thread Chip Salzenberg
It seems to me that the most productive things to worry about, from a design point of view, are the things that interest the hubristic and/or impatient people. Therefore, in the spirit of the Hindmost: If you're out ahead of me, who are you and what are you doing? -- Chip Salze

Re: Fearless leadership...

2005-03-22 Thread Chip Salzenberg
According to Chip Salzenberg: > Therefore, in the spirit of the Hindmost: If you're out ahead of me, > who are you and what are you doing? It's been suggested to me on IRC that my previous message was a bit opaque. Let me try again: What design issues are crying for attention ri

removing SET_NON_ZERO_NULL

2005-03-25 Thread Chip Salzenberg
The SET_NON_ZERO_NULL macro is silly. On any arch where null pointers are not represented as all zeroes, the null pointer value is still *spelled* "0" in source code. C always works, for all values of FOO and all architectures. If I'm missing something, please speak up. --

Re: removing SET_NON_ZERO_NULL

2005-03-25 Thread Chip Salzenberg
or 0.0 other than all bits zero? :-) I think so. While POSIX may specify IEEE floating point, I doubt that ANSI does. :-, -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> Open Source is not an excuse to write fun code then leave the actual work to others.

Re: Helping The Paranoid Parrot on Windows

2005-03-28 Thread Chip Salzenberg
Greatly Missing The Point. On the gripping hand, if you'd like to experiment with putting IMCC into libparrot, bison's "-p prefix" option seems relevant: "Rename the external symbols used in the parser so that they start with prefix instead of yy." Maybe "-p Parrot_imcc_"? [*] Is there already a version number policy sketched out? -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> Open Source is not an excuse to write fun code then leave the actual work to others.

IMC has no lexical scopes?

2005-03-28 Thread Chip Salzenberg
sing. How is Perl 6 supposed to implement its idea of %MY:: if there's no lexical scoping other than in .subs, and there are no nested .subs? -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> Open Source is not an excuse to write fun code then leave the actual work to others.

Re: IMC has no lexical scopes?

2005-03-28 Thread Chip Salzenberg
whole transcript before mailing a question about its contents. PS: For any readers are puzzled as I was, "new_pad" and "store_lex" combine to cover the nesting semantics. -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> Open

(not) logging #parrot

2005-03-28 Thread Chip Salzenberg
like to suggest that we continue to do without a #parrot log, and replace it with a tradition of giving informative people a good pasting. For example, today, #parrot hosted this conversation: <@chip> I don't think we should log IRC, there's too much chatter. I'd

Re: Helping The Paranoid Parrot on Windows

2005-03-28 Thread Chip Salzenberg
by the equivalent of Module::Starter or h2xs, and all the author has to do is make sure he picks a good name for it. Again, I'm only mildly concerned about these issues. I'm only spelling them out in detail in an attempt at clarity. -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> Open Source is not an excuse to write fun code then leave the actual work to others.

Re: Helping The Paranoid Parrot on Windows

2005-03-29 Thread Chip Salzenberg
According to Ron Blaschke: > Chip Salzenberg wrote: > > How many variables need to be exported currently? I'd consider it an > > API feature if there were no exported variables whatsoever ... > > Let's see... > Parrot_base_vtables > pio_stdio_layer > op_ji

  1   2   3   4   >