Closure/block/sub multiplier /// Win32 module for Perl6

2005-04-20 Thread Matt
gin the adventure? Specifically, how it should be organized, among other things. Thanks :), Matt Creenan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Fwd: Re: embedding languages in Perl 6

2005-04-20 Thread Matt
I sent this to BÁRTHÁZI only instead of BÁRTHÁZI and the list as well. So here's a forward of what I sent and he replied to. --- Forwarded message --- From: Matt <[EMAIL PROTECTED]> To: "BÁRTHÁZI András" <[EMAIL PROTECTED]> Cc: Subject: Re: embedding langua

Re: Fwd: Re: embedding languages in Perl 6

2005-04-20 Thread Matt
On Wed, 20 Apr 2005 14:13:42 -0400, Larry Wall <[EMAIL PROTECTED]> wrote: Heredocs are variants on q:to these days, but if you're going to be mixing Perl and SQL syntax, it's probably better to dispense with the heredoc and just have a language variant so that you can parse it at compile time. A h

Re: -X's auto-(un)quoting?

2005-04-23 Thread Matt
On Sat, 23 Apr 2005 07:25:10 -0400, Juerd <[EMAIL PROTECTED]> wrote: Matt skribis 2005-04-22 21:55 (-0400): What about . for each level up you want to go? instead of 1.say, 2.say, 3.say you use .say, ..say, ...say (Ok, I'm just kidding.. really!) I read your message after I suggest

Re: -X's auto-(un)quoting?

2005-04-22 Thread Matt
On Fri, 22 Apr 2005 14:24:25 -0400, Juerd <[EMAIL PROTECTED]> wrote: Because a URI scheme ends in :. It http: followed by anything other than // should fail because it is invalid, not fall back to file handling. IFF you're handling URIs. multi sub open ($u of Str where /^mailto:\/\//, [EMAI

Re: -X's auto-(un)quoting?

2005-04-22 Thread Matt
On Fri, 22 Apr 2005 21:31:03 -0400, Larry Wall <[EMAIL PROTECTED]> wrote: given open 'mailto:[EMAIL PROTECTED]' { ^say(...); ^close or fail; } That almost makes sense, given that $^a is like $_. It also points vaguely upward toward some antecedent. I could maybe get used

Re: -X's auto-(un)quoting?

2005-04-22 Thread Matt
On Fri, 22 Apr 2005 15:09:21 -0400, Juerd <[EMAIL PROTECTED]> wrote: Matt skribis 2005-04-22 14:44 (-0400): mailto isn't something you can "open" really, for read at least. No, but writing to it ought to simplify things :) given open 'mailto:[EMAIL PROTEC

Re: -X's auto-(un)quoting?

2005-04-22 Thread Matt
On Fri, 22 Apr 2005 11:42:10 -0400, Larry Wall <[EMAIL PROTECTED]> wrote: You speak of "open" as if it must be a single function. We're now living in the age of MMD, so what you're asking for is a no-brainer. If we decided to we could even do MMD with constraints: multi sub open ($u of Str whe

Re: Sun Fortress and Perl 6

2005-04-27 Thread Matt
On Wed, 27 Apr 2005 03:32:12 -0400, Autrijus Tang <[EMAIL PROTECTED]> wrote: 3. Labels applies to blocks, not statements Instead of this: LABEL: say "Hello!" say "Hi!" One has to write this (essentially creating named blocks): LABEL: { say "Hello!" say "Hi!

RE: Mutating methods

2004-03-10 Thread matt
I was thinking along the lines of... String $foo = "hello"; $foo.scramble! print "$foo\n"; $foo = "hello" print $foo.scramble ~ "\n"; print $foo; OUTPUT (or close): elhlo hloel hello Also, along these same things.. is there a way to apply a method to all variables/objects of a certain type (e.g.

RE: Mutating methods

2004-03-12 Thread matt
Please bare with me, I do follow this list, but sporadically. What it all boils down to, obviously, is that we, as lazy programmers, want to have to type less, but still leave the code make sense when read. So to me, that should automatically throw out stuff such as C<$x = ( $foo § .a + .b + .c )

Re: So, we need a code name...

2001-05-02 Thread Matt Youell
> What about leaving the flora aund fauna and using a name > like they call ships? > They always got names of females or towns... > > I suggest: > > PISA > Um... that sounds perilously close to "Piece Of". Am I alone on this one? ____

Re: So, we need a code name...

2001-05-04 Thread Matt Youell
Has anyone suggested "Oyster", or is that too obvious? __ Matt Youell - "Think different, just like everyone else." [EMAIL PROTECTED] http://www.youell.com/matt/

Re: what I meant about hungarian notation

2001-05-08 Thread Matt Youell
arily a string or a number. And what if I want to treat a string-ifiable object as an untyped value? Is my var then "$ worthy"? - Matt

Re: what I meant about hungarian notation

2001-05-09 Thread Matt Youell
Perl. I abhor Hungarian notation. It's the dark side of Lazy. And chances are that if you actually *need* it, your code needs some serious factoring, IMHO. > My primary concern in this area is the introduction of forced verbosity. Typing is good for you. It builds strong bodies 8 ways. - Matt

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-03 Thread Matt Youell
Forgive my woeful ignorance Could someone define "data aggregation by inheritance"? From John's original mention I thought this was some oblique MI thing, but now it's sounding like a constructor bubbling scheme, like in C++, etc. Thanks! ____

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-05 Thread Matt Youell
with something simple, like saying all classes have an implicit new() method that is overloadable? Is this really *that* complicated? Maybe I'm not getting the Big Picture. matt youell http://www.youell.com/matt/ "think different - just like everyone else"

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-04 Thread Matt Youell
ass::Struct rules, or some other > more elaborate alternative. Ah, yes. I've had to deal with that problem several times in the past. The terminology was new to me, however. Has there been a proposed solution? Thanks, - Matt

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-06 Thread Matt Youell
estering sin? > But would the game be worth the candle? As a rule, I try not to play games involving candles or other flammables. ;-) - Matt

Re: "You can't make a hot fudge sundae with mashed potatoes instead of ice cream, either."

2001-07-09 Thread Matt Youell
less obscure example. > I think a type hierarchy makes much more sense than unleashing the hell > of templates on Perl. Perl was born in downtown Hell! Bring it on... - Matt

Re: [perl #37577] [PATCH] Fix a couple of minor niggles (-1 -> uint, K&R prototype)

2005-11-07 Thread Matt Fowles
has the additional benefit of making the client code > self-documenting. Another option is to explicitly cast it as follows: uint foo = (uint)(-1); The last set of parens is unecessary, but I like them. This also makes it fairly clear that you are doing something odd. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: Octal in p6rules (and strings)

2005-11-08 Thread Matt Fowles
s case since the previous atom has > no backtracking associated with it already (a '\d' matches a single > digit or fails), so the ':' is effectively a no-op. In fact, > in PGE '\d' and '\d:' generate exactly the same code. While that is true for the ru

Re: Octal in p6rules (and strings)

2005-11-08 Thread Matt Fowles
Larry~ On 11/8/05, Larry Wall <[EMAIL PROTECTED]> wrote: > On Tue, Nov 08, 2005 at 10:55:05AM -0500, Matt Fowles wrote: > : Patrick~ > : > : On 11/8/05, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > : > On Tue, Nov 08, 2005 at 12:57:18PM +, [EMAIL PROTEC

Re: website (again)

2005-11-09 Thread Matt Fowles
Will~ On 11/9/05, Will Coleda <[EMAIL PROTECTED]> wrote: > - Updated the "Where we are" section. >From this section: "check out This week on Perl 6 by Matt Fowles," that should also say "and Piers Cawley". Thanks for keeping the website pretty, it is our public face. Matt

Perl 6 Summary for 2005-11-14 through 2005-11-21

2005-11-21 Thread Matt Fowles
Perl 6 Summary for 2005-11-14 through 2005-11-21 All~ Welcome to another Perl 6 Summary. The attentive among you may notice that this one is on time. I am not sure how that happened, but we will try and keep it up. On a complete side note, I think there should be a Perl guild o

Re: Lexical store semantics - Q for Tcl guys

2005-11-22 Thread Matt Diephouse
should be pretty straightforward to implement (assuming we have access to the caller's lex pad for [upvar]). But I assume that that's why things are implemented as they are. -- matt diephouse http://matt.diephouse.com

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Matt Fowles
in Perl 6, XOR is spelled +^ or ~^, and ^ is Junctive one(). > So it seems that ^$x should be one($x). But that's an entirely > useless, trivial junction, so it makes sense to steal the syntax for > something else. I think using C< ..5 > to mean (0, 1, 2, 3, 4) would be a more

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Matt Fowles
Larry~ On 11/23/05, Larry Wall <[EMAIL PROTECTED]> wrote: > On Wed, Nov 23, 2005 at 11:55:35AM -0500, Matt Fowles wrote: > : I think using C< ..5 > to mean (0, 1, 2, 3, 4) would be a more > : sensible option. Makes sense to me at least. > > That does

Re: Lexical store semantics - Q for Tcl guys

2005-11-23 Thread Matt Diephouse
Matt Diephouse <[EMAIL PROTECTED]> wrote: > I don't think it is, no. ParTcl implements global/lexical storage > rather naively at the moment (because I didn't understand that the lex > opcodes worked this way when I implemented this over the summer). > Right now we al

Re: parrot directory reorganization

2005-11-28 Thread Matt Diephouse
s a compiler writer, I see it as a core feature. I always seem to forget that there are docs in imcc/docs/ and end up grepping through docs/ instead (missing valuable information). -- matt diephouse http://matt.diephouse.com

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

2005-11-29 Thread Matt Diephouse
`P0 = ...` is the same thing as `assign P0, ...`? Or, perhaps more accurately, `P1 := ...\n assign P0, P1`? -- matt diephouse http://matt.diephouse.com

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

2005-11-29 Thread Matt Diephouse
Chip Salzenberg <[EMAIL PROTECTED]> wrote: > On Tue, Nov 29, 2005 at 03:25:13PM -0500, Matt Diephouse wrote: > > Or, perhaps more accurately, `P1 := ...\n assign P0, P1`? > > No, PIR doesn't do that kind of thing (allocating P registers) behind > your back. If a seque

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

2005-11-29 Thread Matt Fowles
= ... # assignment: modifies I0 > >N0 := ... # ILLEGAL >N0 = ... # assignment: modifies N0 > > Comments? Fresh or rotten vegetables? I very much like it. I think I may have suggested something like it earlier (although I might have only thought it). But, I am

Re: This week's summary

2005-11-30 Thread Matt Fowles
start writing weekly summaries until you send me an email saying you are ready to resume. Don't hurry on my account; I know moving is a pain. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Namespaces (At Long Last)

2005-12-01 Thread Matt Diephouse
After many months and lots of work, I'm happy to present you with the latest namespace spec draft. Comments are most welcome: to quote Chip, "The rest of the discussion would benefit from more eyes." Thanks, -- matt diephouse http://matt.diephouse.com Synopsis - Languages

Re: Namespaces (At Long Last)

2005-12-02 Thread Matt Diephouse
jerry gay <[EMAIL PROTECTED]> wrote: > On 12/1/05, Matt Diephouse <[EMAIL PROTECTED]> wrote: > > User Defined Namespaces > > All HLLs should prefix any namespaces with the lowercased name of > > the HLL (so there's no question of what to ca

Re: Namespaces (At Long Last)

2005-12-02 Thread Matt Diephouse
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > > On Dec 2, 2005, at 7:31, Matt Diephouse wrote: > > [ Just a few notes, more to come. I've to read it some more times. ] > > > Naming Conventions > > > HLL Private Namespaces > > HLLs sh

Re: Namespaces (At Long Last)

2005-12-02 Thread Matt Diephouse
e others to be all-lowercase too. I was advocating having (2) and (3) be all-lowercase. I'm not sure which are necessarily the same. > 5. THE FINAL EXAMPLE > > In the final example, what is the purpose of this line: > >add_namespace ["perl5"; "Some"; "Module"], $P1 > > As far as I can tell, the intent of the following line is to import > tcl:Some::Module 'w*' into the _current_ perl namespace, not into > ["perl5"; "Some"; "Module"]. Am I missing the point here? No, I meant to take that line out but I forgot. Thanks, Roger. Your email was helpful. -- matt diephouse http://matt.diephouse.com

Re: Namespaces: HLL Private namespaces

2005-12-02 Thread Matt Diephouse
rivate stuff. In that case, the HLL is responsible > for keeping its own private stuff private, and there is no need for the > spec to refer to unenforced private namespaces. I don't think you'll really be interested in importing the guts of the Tcl compiler into your program. But if that's what you really want, I'm not going to stop you. (And neither should Parrot.) -- matt diephouse http://matt.diephouse.com

Re: Namespaces (At Long Last)

2005-12-03 Thread Matt Diephouse
m missing the point, but I see these being used in the > implementation of "import_into" as a way for the source HLL to tell the > target HLL whether to treat each name as a sub, namespace, variable or > method. Yes, that's correct. -- matt diephouse http://matt.diephouse.com

Re: Namespaces (At Long Last)

2005-12-04 Thread Matt Fowles
Leo~ On 12/4/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > > On Dec 4, 2005, at 5:57, Matt Diephouse wrote: > > > Roger Browne <[EMAIL PROTECTED]> wrote: > >> Leopold Toetsch wrote: > >> > >>>> add_sub($S0, $P0) > >>&

Re: Namespaces (At Long Last)

2005-12-04 Thread Matt Diephouse
ent matter. Python's function may be variables, but Python still knows that they're functions. So Python can use add_sub to add the function to Tcl's namespace. This is both useful and necessary because function and variable names don't overlap in Tcl. > What am I missing? I hope this clears things up a bit. -- matt diephouse http://matt.diephouse.com

Perl 6 Summary for 2005-12-05 through 2005-12-12

2005-12-12 Thread Matt Fowles
Perl 6 Summary for 2005-12-05 through 2005-12-12 All~ Welcome to another Perl 6 summary. This week, like last, Parrot has produced the highest volume of emails. Fine by me, Parrot tends to be easiest to summarize. This summary is brought to you by Snow (the latest soft toy in t

Re: [perl #37914] partcl expr bug.

2005-12-13 Thread Matt Diephouse
dies with this error: MMD function __i_multiply not foundfor types (1, -100) -- matt diephouse http://matt.diephouse.com

Variables, Aliasing, and Undefined-ness

2005-12-15 Thread Matt Diephouse
assignment fails with a "Null PMC access" error. So what am I supposed to do? It appears that using `null` to mark deleted/undefined variables won't work. But it's not clear to me that using a Null PMC is a good idea (then we must perform `'isa` tests on every read to see if that variable is undefined, which seems like it would be expensive). So what's the "correct" way to do this? -- matt diephouse http://matt.diephouse.com

Re: Variables, Aliasing, and Undefined-ness

2005-12-15 Thread Matt Diephouse
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Matt Diephouse wrote: > > > $alias = undef > > > > translates to > > > > null $P1 > > $P2 = getinterp > > $P2 = $P2["lexpad"; 1] > > $P2['$alias'] = $P1 > >

Late Summary

2006-01-10 Thread Matt Fowles
All~ Fear not this weeks summary will come out... just a bit late. I have it half written, but my bed is calling oh so sweetly. Night all, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Perl 6 Summary for 2006-01-02 though 2006-01-09

2006-01-11 Thread Matt Fowles
Perl 6 Summary for 2006-01-02 though 2006-01-09 All~ Welcome to another Perl 6 Summary. On a complete tangent, if you are playing World of Warcraft and see a troll hunter named Krynna, she rocks. She royally saved me. Be nice to her. Perl 6 Compiler PIL Containers and Roles

Re: [PATCH] struct Parrot_Context doesn't need a 'prev' field.

2006-01-17 Thread Matt Fowles
I had to test it anyway to prove that this is the case). > > Thanks, applied - r11199 Why leave it in as a placeholder at all? Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: Class methods vs. Instance methods

2006-01-18 Thread Matt Fowles
ined behavior. Could you provide a concrete example of the advantage of this approach please? Failing that can you try and expand on your gut feeling a bit? Thanks, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: Q: Keys can be strings/ints only?

2006-01-20 Thread Matt Fowles
nd this currently doesn't work, as mentioned above. (According to the > PDD on keys, it should be possible to do this: > > op arg, P1[12.34] # Constant number key - handled as constant key I am not sure how wise an idea this is given the difficult of comparing floating p

Summary Schedule Shift

2006-01-23 Thread Matt Fowles
patch schedule. If this change bothers any one horribly, I invite you to leave the tuesday summaries unread for 6 days, thereby returning you to a monday schedule. ;-) Have fun, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle,

Re: pdd21 notes

2006-01-24 Thread Matt Diephouse
on't have any comments here. If this can't be made to work, the other option is to use an array of strings. > *)export_to($P0, ...) > > Besides the va_list syntax the wild card support $P1.export_to($P0, > 'w*') seems to belong into the HLL. OTO

Re: pdd21 notes

2006-01-24 Thread Matt Diephouse
Chip Salzenberg <[EMAIL PROTECTED]> wrote: > Say, that gives me an idea. Python-like untyped namespaces are a > significant subpopulation. > > Matt: How about a standard namespace method: > > INTVAL is_typed() > > which returns false for the simple Python-li

Perl 6 Summary for 2006-01-10 though 2006-01-24

2006-01-24 Thread Matt Fowles
ixote... Perl 6 Compiler Either this list followed its typical pattern of doing most of its work off list, or google's indexing of it broke. I am guess the former and continuing on blindly. Perl 6 Internals Unescapable Single Quotes in Strings Matt Diephouse discovered tha

Re: Q: pdd21 relative vs absolute

2006-01-25 Thread Matt Diephouse
, I'd consider adding another opcode: $P1 = get_namespace # this exists - get the current namespace $P2 = get_namespace $P1, ["Foo"; "Bar"] # this doesn't - lookup Foo::Bar in $P1 (the current namespace) -- matt diephouse http://matt.diephouse.com

Re: overloading the variable declaration process

2006-02-06 Thread Matt Fowles
.". Perhaps, I am just too firmly rooted in old paradigms but I think it is very important not to conflate the representation of a thing with the thing. http://en.wikipedia.org/wiki/Image:MagrittePipe.jpg Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: overloading the variable declaration process

2006-02-07 Thread Matt Fowles
grammatically. What I don't really understand is what exactly Pipe is and where it would be useful. They way you have described Pipe feels a little muddy to me and I am unsure about its purpose and semantics. Is it just an object I ask `.can()` or does it have some deeper usefulness? Matt --

Re: overloading the variable declaration process

2006-02-07 Thread Matt Fowles
Stevan~ I am going to assume that you intended to reply to perl 6 language, and thus will include your post in its entirety in my response. On 2/7/06, Stevan Little <[EMAIL PROTECTED]> wrote: > On 2/7/06, Matt Fowles <[EMAIL PROTECTED]> wrote: > > Larry~ > > > &

Perl 6 Summary for 2006-01-24 though 2006-02-07

2006-02-07 Thread Matt Fowles
<http://xrl.us/jwuc> Macros Herbert Snorrason wants more specifics on macros in Perl 6. Larry gave him some. <http://xrl.us/jwud> Synopsis Typos Yiyi Hu and Andrew Savige found a few typos in a few synopses. Larry graciously fixed them. <http://

Re: overloading the variable declaration process

2006-02-07 Thread Matt Fowles
fact( Int $n ) { return $n * fact($n-1); } Why not have class methods take the form class Foo { method foo (Class Foo) { say "I am a class method, and proud of it"; } } They are still well types (I think), and properly restricts the types allowed for foo. After all Foo is just a specific instance of the class Class. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: overloading the variable declaration process

2006-02-08 Thread Matt Fowles
ll > have forgotten all about class Class. > > 1 ... 2 ... 3 ... *snap* ... What!?!? Where was I? Oh, yeah. As I was saying, I think we just take C++'s object system exactly. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: Heureka - from the -Ofun department

2006-02-10 Thread Matt Diephouse
1 real0m3.502s user0m3.477s sys 0m0.021s GCC 4.0: time ./ack 11 Ack(3,11): 16381 real0m1.960s user0m1.948s sys 0m0.003s I didn't use the custom PIR he posted (which is faster), so Parrot didn't beat the GCC code. -- matt diephouse http://matt.diephouse.com

Re: [perl #38476] [PATCH] De-tab nativecall.pl

2006-02-11 Thread Matt Diephouse
via RT Brad Bowman <[EMAIL PROTECTED]> wrote: > The patch turns the mix of 4-tabs, 8-tabs and spaces in > nativecall.pl into just spaces. Only whitespace changes. Applied, thanks. -- matt diephouse http://matt.diephouse.com

Re: svn performance

2006-02-17 Thread Matt Fowles
ust to make a patch. > > > > Only if you're checking out to a Commodore 64. > > Or possibly hand-transcribing the bits. I could check it out over iridium dial up... Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: svn performance

2006-02-17 Thread Matt Fowles
Andy~ On 2/17/06, Andy Dougherty <[EMAIL PROTECTED]> wrote: > On Fri, 17 Feb 2006, Matt Fowles wrote: > > > All~ > > > > On 2/17/06, jesse <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > On Fri, Feb 17, 2006 at 08:38:26AM

Re: WRT *BooleanArray

2006-02-20 Thread Matt Fowles
need string. PMC you probably want, since there are boolean PMCs and what not. Float I am not sure of. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

$a.foo() moved?

2006-04-06 Thread Matt Fowles
.foo()> was a method call on C<$a>. Thanks, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: $a.foo() moved?

2006-04-06 Thread Matt Fowles
Larry~ On 4/6/06, Larry Wall <[EMAIL PROTECTED]> wrote: > On Thu, Apr 06, 2006 at 01:58:55PM -0400, Matt Fowles wrote: > : All~ > : > : I just noticed something claiming that C<$a. foo()> is actually > : C<$a.foo()> (a method call on C<$a>) and that C

Re: [perl #32642] [TODO] Remove Perl* PMCs from parrot's basic PMCs, src and languages

2006-04-07 Thread Matt Diephouse
ed for anything besides a proof-of-concept. The only argument I can see for keeping them there is that they're compiled by default, so the build breaks if they do. And that's *my* 2¢. :-) -- matt diephouse http://matt.diephouse.com

Re: [perl #38960] [BUG] test troubles

2006-04-21 Thread Matt Diephouse
-sanity/01-tap.t > line 1. > > (pugs isn't in any path on both machines) > This make all tests failing. On 10.4.6 (Intel) I get: languages/perl6 mdiep$ perl t/harness t/01-sanity/01-tap.t t/01-sanity/01-tapok 2/10 skipped: various reasons languages/perl6 mdiep$ pugs -bash: pugs: command not found -- matt diephouse http://matt.diephouse.com

Re: [perl #38957] hash test failures

2006-04-21 Thread Matt Diephouse
bly modified > after being freed, break at szone_error to debug > # hash_6(4373,0xa000ed98) malloc: *** set a breakpoint in szone_error > to debug > # ' > # expected: '42 The test passes for me on 10.4.6 Intel. -- matt diephouse http://matt.diephouse.com

Re: [perl #38958] hash/iterator failures

2006-04-21 Thread Matt Diephouse
only one getting them. > > The iterator failures are odd. some of the tests just... stop > iterating before they should: > > # Failed test (t/pmc/iterator.t at line 1019) > # got: '10 > # 20 > # 30 > # ok > # ' > # expected: '10 >

Re: [perl #38957] hash test failures

2006-04-22 Thread Matt Diephouse
Will Coleda <[EMAIL PROTECTED]> wrote: > I'm using gcc 4.0.1, an '--optimized' Configure, and perl 5.8.6 Ahh. When I do an '--optimized' Configure, I get a bunch of failed tests. The hash tests are still passing, but that may be coincidental. -- matt diephouse http://matt.diephouse.com

Perl Summarizing

2006-04-27 Thread Matt Fowles
interested parties may want to coordinate with him. Best of luck, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: [perl #39173] Multi-Dispatch Incompatible with :flat Params

2006-05-21 Thread Matt Diephouse
g, then you can write your multis for Integer and String (as chromatic did) and be done with it. -- matt diephouse http://matt.diephouse.com

languages/ Cleanup

2006-05-21 Thread Matt Diephouse
Its author is no longer involved with Parrot. It's doubtful that what's here would be of any use to anyone now. If no one has any objections, I'll remove these towards the end of the week or during the weekend. -- matt diephouse http://matt.diephouse.com

Re: [perl #39164] [PATCH] Cygwin: build with spaces in build_dir

2006-05-22 Thread Matt Diephouse
to build on Cygwin when build_dir contains spaces. How well does this play on other platforms? Works on OS X. Applied in r12755. Thanks, -- Matt Diephouse http://matt.diephouse.com

Re: languages/ Cleanup

2006-05-27 Thread Matt Diephouse
Matt Diephouse <[EMAIL PROTECTED]> wrote: If no one has any objections, I'll remove these towards the end of the week or during the weekend. This is done as of r12807. -- matt diephouse http://matt.diephouse.com

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-06-06 Thread Matt Todd
Iraq invasion indeed wait, shouldn't go there. I particularly like the syntax of Textile or even Markdown (preferring the former). In Ruby-land, these exist as RedCloth and BlueCloth. I understand porting isn't fun, but I think that this is a viable option, if not a great choice. Not that th

Re: OT: "my wiki syntax is better than yours" (was: $1,000 prize for Perl 6 Wiki written in Perl 6)

2006-06-06 Thread Matt Todd
There are alternatives to using tables for side-by-side using paragraphs. Simply having one cell for each line, for instance, allows for highlighting green the added lines and red the removed ones, etc. Also realize that it is not necessarily the duty of Textile (et al) to handle that aspect beyo

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-06-06 Thread Matt Todd
I also agree that Object Oriented Design would work wonderfully well here. The key here is prototyping its shape and then filling in the details once it has taken this shape. I like the term 'messages' for methods because it reminds me that the objects must send requests, forms of communication,

Re: OT: "my wiki syntax is better than yours" (was: $1,000 prize for Perl 6 Wiki written in Perl 6)

2006-06-06 Thread Matt Todd
Juerd, My mistake: I misunderstood what you were saying (probably due to haste). But really, then, there are alternatives to using tables, such as DIVs, as well as simply modifying the parsing step to also parse for this special case in addition to Textile or what-have-you. I guess if I said an

Re: OT: wiki engine architecture (was: $1,000 prize for Perl 6 Wiki written in Perl 6)

2006-06-08 Thread Matt Todd
I would recommend using a templating system as opposed to having calls to include files in numerous pages. Even though it's minimal, it's still duplication, and it can get rather messy. I know that some people don't know about or don't like it, but I would recommend setting things up in a Model-V

Re: OT: wiki engine architecture

2006-06-08 Thread Matt Todd
I was just reading the AES referenced above and I can say now that I'm really happy about some changes to Regexes, and that a grammar may well be what we're looking for. However, even with this great tool, we still have to handle the implementation. Though I can see the benefit of using the gramma

Re: OT: wiki engine architecture

2006-06-08 Thread Matt Todd
Honestly, I'm not familiar with the Perl way of doing things, but I'm open to learn especially because I see the Perl community going through a (much-needed) reform. Thusly, I'm not familiar with the RFCs (Request For Change?) but I do see the merit for something similar. However, as far as the j

Re: OT: wiki engine architecture

2006-06-08 Thread Matt Todd
[Sorry Michael, I didn't mean to send it you twice. :) ] I like the RFC idea. I will read up on them and see, if it is a particular format, how to simplify it. But, most definitely, the community must have dialog about the requests. For each request really. On the architecture note, I've written

Re: Perl++ Wikicosm (was: OT: wiki engine architecture)

2006-06-11 Thread Matt Todd
1) Understood. I've been disconnected from Perl for a while, and this is really the first time I've been participating in the Perl community. Thanks for the heads-up. :) 2) I agree that it is both important and pertinent to get the general requirements down for the project, but I do see a need an

Re: Perl++ Wikicosm (was: OT: wiki engine architecture)

2006-06-12 Thread Matt Todd
I'll be honest and say that I'm not too concerned with the prize/grant, so that may be the reason I want to go beyond that minimal ideal. I'm specifically concerned with a poorly designed (or at least slightly clumsy to upgrade) wiki, all in for the sake of speed, minimal functionality, and money.

Re: Name of this wiki

2006-06-15 Thread Matt Todd
I really like these. I think you're on to something. I'm definitely in favor of Momi Wiki, or just Momi. Maybe we can even be very corny and call it 'Aloha Wiki'... Hmm. Yes, Bikini Wiki sounds sexy. I like how they both 'lie' in the pacific ocean... as opposed to being worn... ;) M.T.

Re: Name of this wiki

2006-06-16 Thread Matt Todd
A simple, if naive fix could be to make the logo a phonetic representation (or whatever it's called). Just a simple pseudo-solution. M.T.

Re: lexical lookup and OUTER::

2006-06-23 Thread Matt Diephouse
;;depth] unless_null lexpad, got_lexpad # try again inc depth goto get_lexpad got_lexpad: variable = lexpad[variable_name] .return(variable) .end Of course, that doesn't mean that I wouldn't like an opcode to do it for me. :-) -- matt diephouse http://matt.diephouse.com

Re: [perl #39597] Problems with string constants in method calls

2006-06-23 Thread Matt Diephouse
via RT Matt Diephouse <[EMAIL PROTECTED]> wrote: # New Ticket Created by Matt Diephouse # Please include the string: [perl #39597] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=39597 > The following code in line

Namespaces Redux

2006-06-28 Thread Matt Diephouse
x27;t add find_global variants that lookup globals in HLL's? Right now we have find_global_p_p_s. Adding find_global_p_s_p_s would let me reach into Tcl's private very easily instead of having to crawl the namespaces myself. $P0 = find_global '_tcl', ['Foo'; 'Bar'], "baz" Thanks, -- matt diephouse http://matt.diephouse.com

Re: Re: Namespaces Redux

2006-06-30 Thread Matt Diephouse
Chip Salzenberg <[EMAIL PROTECTED]> wrote: On Wed, Jun 28, 2006 at 11:40:28PM -0700, Matt Diephouse wrote: > The get_namespace opcode gets namespaces from the root namespace. > Should it get namespaces from the HLL namespace instead? The PDD isn't > explicit either way [.

Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Matt Diephouse
able to get a namespace at runtime... which translates to the easiest way for Tcl to use namespaces. -- matt diephouse http://matt.diephouse.com

Re: Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Matt Diephouse
) $S0 = join "::", $P0 print $S0 print "\n" end .end mini:~/Projects/parrot mdiep$ parrot test.pir parrot mini:~/Projects/parrot mdiep$ -- matt diephouse http://matt.diephouse.com

Re: Re: Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Matt Diephouse
I'd prefer to have C< .namespace [] > so that we could also have the matching C< find_global [], 'foo' >. Otherwise find_global becomes a two step operation for finding globals in the root HLL namespace. Oh, and I've committed some more failing tests. :-) -- matt diephouse http://matt.diephouse.com

Re: Re: HLL root globals and empty keys (was Re: test of get_namespace opcode)

2006-07-06 Thread Matt Diephouse
rst, I think C< [] > *is* a name. Second, any solution which involves giving the HLL namespace a different name will have to either (a) add new opcodes, (b) add more code for all the other cases by making all referencing originate at the root, or (c) add a special syntax, none of which is simple. -- matt diephouse http://matt.diephouse.com

Re: Re: HLL root globals and empty keys (was Re: test of get_namespace opcode)

2006-07-08 Thread Matt Diephouse
icates that most of the code belongs in that namespace, so it's > likely that most of the variables do too. (There are variations, but > that's at least the common case.) Works for me. And that is the current meaning of two-parameter find_global, so it's not a stretch. Works for me too. I'm not sure that I like the rename (I can't decide), but the name itself doesn't matter much. The new opcodes (the presence of get_cur_global) may actually make things easier for Tcl if we ever compile to 100% inlined PIR. This is a different route than I was trying to take us, but it should be almost functionally equivalent, so I'm happy with it. -- matt diephouse http://matt.diephouse.com

  1   2   3   4   5   6   >