[perl #41511] Parrot_call_sub* Incompatible with Multisubs

2008-03-16 Thread Matt Diephouse via RT
as of late, but I'm willing to retain ownership of the ticket and fix the issue if packfile code gets cleaned up. -- Matt Diephouse

Re: [perl #44395] Lexical scopes are too coarse-grained for loops.

2007-08-04 Thread Matt Diephouse
for loop bodies. His suggestion seems reasonable to me. We won't run into this particular problem with Tcl, but I think most languages will. -- Matt Diephouse http://matt.diephouse.com

Re: [perl #44229] [CAGE] Review Dominance Computations in IMCC

2007-08-01 Thread Matt Diephouse
subroutines, so it was disabled. -- Matt Diephouse http://matt.diephouse.com

Re: [svn:parrot] r20343 - in trunk: include/parrot src

2007-07-31 Thread Matt Diephouse
On 7/31/07, Nicholas Clark [EMAIL PROTECTED] wrote: On Mon, Jul 30, 2007 at 09:20:27PM -0700, Matt Diephouse wrote: On 7/30/07, chromatic [EMAIL PROTECTED] wrote: On Monday 30 July 2007 00:21:09 [EMAIL PROTECTED] wrote: Author: mdiep === --- trunk/src/inter_run.c (original

Re: [svn:parrot] r20343 - in trunk: include/parrot src

2007-07-30 Thread Matt Diephouse
this check is made. -- Matt Diephouse http://matt.diephouse.com

Re: [perl #44193] tcl doesn't build (r20250)

2007-07-27 Thread Matt Diephouse
: *** [runtime/tcllib.pbc] Abort trap Fixed in r20257. The pmc2c code was to blame. It looks like the code has been refactored heavily; but somewhere along the way someone didn't translate the code accurately. :-/ -- Matt Diephouse http://matt.diephouse.com

[perl #43231] [BUG] :slurpy :named after :optional fails

2007-06-17 Thread Matt Diephouse via RT
Fixed in r19073. -- Matt Diephouse

Re: P6 String Assertion Failure (diagnosis and fix)

2007-06-10 Thread Matt Diephouse
| PObj_is_COWable_FLAG | PObj_live_FLAG; Adding the live flag fixed the problem (r18855). Good work! This has been the cause of a number of Perl 6 GC errors. I spent some time trying to track it down before but never made it as far as you did. Here's hoping that this is the last GC bug. ;-) -- Matt

Re: [perl #42865] [BUG] There's no way to set a vtable function with a Sub at runtime

2007-05-03 Thread Matt Diephouse
there should be a way to override them without using eval -- particularly since there's nothing preventing it technically. -- Matt Diephouse http://matt.diephouse.com

Re: [perl #42864] [BUG] Copying a :vtable sub also copies :vtable information

2007-05-03 Thread Matt Diephouse
function, it gets something other than the string it should have gotten. -- Matt Diephouse http://matt.diephouse.com

Re: [perl #42792] GC bug added in r18323

2007-05-01 Thread Matt Diephouse
it fare for you? I committed this patch to trunk in r18377. -- Matt Diephouse http://matt.diephouse.com

[perl #42795] [PATCH] NULL function pointer should be a pointer

2007-04-29 Thread Matt Diephouse via RT
Applied in r18355. Thanks! -- Matt Diephouse

Re: [perl #42776] [BUG] is isa ok?

2007-04-27 Thread Matt Diephouse
to find), but I'm guessing it just does a string comparison on the PMC names without testing if the PMC is a class. -- Matt Diephouse http://matt.diephouse.com

[perl #42558] [PATCH] add runtime_prefix for interpinfo and use it in config.pir

2007-04-26 Thread Matt Diephouse via RT
the value should be free'd later on. Also, here's an example PIR file to demonstrate. Looks good. Applied in r18343. Thanks! -- Matt Diephouse

[perl #42300] [PATCH] t/pmc/sub.t: test for creation of lex by clone op

2007-04-25 Thread Matt Diephouse via RT
be interested in seeing why this would be a useful feature. More detail in the PDD would be nice. Thanks for the interesting patch. -- Matt Diephouse

[perl #42407] [PATCH] refactor vtable overriding, delegate.c generation

2007-04-24 Thread Matt Diephouse via RT
On Mon Apr 23 13:39:40 2007, [EMAIL PROTECTED] wrote: Gracias. I attached one more small patch that gets rid of two seemingly unnecessary lines in smop_init() - they're easy to miss when one's looking at the big picture. Applied in r18321. Thanks! -- Matt Diephouse

Re: [perl #42320] [BUG] Memory leak with String pmc

2007-04-23 Thread Matt Diephouse
. -- Matt Diephouse http://matt.diephouse.com

Re: [PATCH] Re-work Parrot_process_args

2007-04-23 Thread Matt Diephouse
chromatic [EMAIL PROTECTED] wrote: On Sunday 22 April 2007 17:38, Matt Diephouse wrote: The attached patch completely reworks Parrot_process_args. The changes are extensive and I think they make the code much clearer. Rather than just check it in, I thought I'd try to get feedback here

[PATCH] Re-work Parrot_process_args

2007-04-22 Thread Matt Diephouse
improvements for another time. -- Matt Diephouse http://matt.diephouse.com arg-handling.patch Description: Binary data

Re: [perl #42406] [PATCH] improper null testing in Parrot_instantiate_object

2007-04-22 Thread Matt Diephouse
? :) -- Matt Diephouse http://matt.diephouse.com

Re: Error on Debian distrib

2007-04-22 Thread Matt Diephouse
on irc.perl.org#parrot who could help you debug if you need it. Best of luck! -- Matt Diephouse http://matt.diephouse.com

Parrot 0.4.11 released

2007-04-17 Thread Matt Diephouse
, and other compilers + extended support for Solaris and other platforms Thanks to all our contributors for making this possible, and our sponsors for supporting this project. Enjoy! -- Matt Diephouse

Release Code Slush

2007-04-16 Thread Matt Diephouse
or documentation are welcome, as always. Thanks! -- Matt Diephouse http://matt.diephouse.com

Bug Day: Saturday, 14 April 2007

2007-04-12 Thread Matt Diephouse
also get through as many of these (accept or reject) as possible. http://www.parrotcode.org/openpatches.html Thanks! -- Matt Diephouse

[perl #41763] [PATCH]: fix clone method for iterators

2007-03-22 Thread Matt Diephouse via RT
to be at the beginning of a block, so I had to move one of the lines so that this was the case. Please watch for this in the future. Thanks! -- Matt Diephouse

Re: [PATCH] Avoid //-style comments.

2007-03-22 Thread Matt Diephouse
Andy Dougherty [EMAIL PROTECTED] wrote: Please avoid //-style comments. Older compilers don't understand them. Thanks. We have a test for //-style comments, but evidently it doesn't catch all of our generated code. I've changed it to a C-style comment in r17692. -- Matt Diephouse http

Countdown to 0.4.11

2007-03-21 Thread Matt Diephouse
(PIR, C, Perl). It's a fairly long list, but I think we can get all the issues resolved in the next month. Let the patching begin! -- Matt Diephouse http://matt.diephouse.com

[perl #41790] [PATCH] Change sub's get_string to return short name

2007-03-14 Thread Matt Diephouse via RT
Applied in r17484 with updated tests and a test for the get_namespace() method.

Re: [perl #41790] [PATCH] Change sub's get_string to return short name

2007-03-12 Thread Matt Diephouse
of a Sub because there was no way to get the short name. -- Matt Diephouse http://matt.diephouse.com

[perl #41739] [PATCH]: add clone method for iterators

2007-03-09 Thread Matt Diephouse via RT
Thanks! I couldn't get patch to apply the patch, so I applied it by hand. Committed in r17411.

[perl #41733] invoke :vtable - execution stops

2007-03-08 Thread Matt Diephouse via RT
. This has the benefits of not creating a new runloop and of handling parameters and return values properly. It may even make invoke work with :multi (it might need a bit more work for that). Fixed in r17385. -- Matt Diephouse void* invoke(void *next) { STRING *meth = CONST_STRING

Re: [perl #41733] invoke :vtable - execution stops

2007-03-07 Thread Matt Diephouse
); return next; } I've tested it and it works with the original code that Richard gave. The only thing left to do is handle return values; I'm still working on that. If I can get return values working properly, I'll check in a fix. -- Matt Diephouse http://matt.diephouse.com

Re: [perl #41511] Parrot_call_sub* Incompatible with Multisubs

2007-02-15 Thread Matt Diephouse
. -- Matt Diephouse http://matt.diephouse.com

Re: __init vs. __init_pmc

2007-01-24 Thread Matt Diephouse
for a subclass of a PMC override both of the parent's init functions? -- Matt Diephouse http://matt.diephouse.com

Re: Subject: Parrot 0.4.8 Released

2007-01-22 Thread Matt Diephouse
at it (realizing that I may or may not be successful). AFAICT, we're limited not just by volunteer labor, but also by the boxes that are available to those volunteers. -- Matt Diephouse http://matt.diephouse.com

Re: [perl #41237] [TODO] PMC Class name IDs will require a dot in front

2007-01-14 Thread Matt Diephouse
. :) -- Matt Diephouse http://matt.diephouse.com

Re: Tcl windows make problems

2007-01-13 Thread Matt Diephouse
to NULL. Things should work now. Hope this helps you further. regards, klaas-jan It was very helpful, thanks! -- Matt Diephouse http://matt.diephouse.com

[perl #41197] Does change to config/gen/makefiles/dynoplibs_pl.in cause make to fail?

2007-01-06 Thread Matt Diephouse via RT
This was fixed a few minutes ago in r16458. You'll need to re-up and re-configure. Sorry for the inconvenience. -- Matt Diephouse

Bind to an Unspecified Port

2006-12-21 Thread Matt Diephouse
on success (and -1 on failure). I'd like to change bind to return the port it's bound to on success. The patch below adds this code for the unix sockets code. The windows code looks like it'd be the same, but I can't test it so I'd have to find someone to help with that. -- Matt Diephouse http

Re: p6 variable binding in Parrot

2006-12-08 Thread Matt Diephouse
). -- Matt Diephouse http://matt.diephouse.com

Re: Re: p6 variable binding in Parrot

2006-12-08 Thread Matt Diephouse
Patrick R. Michaud [EMAIL PROTECTED] wrote: On Fri, Dec 08, 2006 at 05:05:00PM -0500, Matt Diephouse wrote: Patrick R. Michaud [EMAIL PROTECTED] wrote: Does anyone have any suggestions about what sort of PIR code and/or PMCs we need to be able to do make the following Perl 6 code work

Re: [perl #40966] [BUG] Parrot core dumps in perl6 (possible GC/pointer bug?)

2006-12-05 Thread Matt Diephouse
are getting collected when they shouldn't. The easy fix is to not collect *any* constant PObj headers (see patch below). Is this correct? Or is there a case when they should get collected? If it's the later, does somehow know how to fix the issue? -- Matt Diephouse http://matt.diephouse.com Index

Re: Re: [perl #40966] [BUG] Parrot core dumps in perl6 (possible GC/pointer bug?)

2006-12-05 Thread Matt Diephouse
Leopold Toetsch [EMAIL PROTECTED] wrote: Am Dienstag, 5. Dezember 2006 20:39 schrieb Matt Diephouse: The portion of the assertion that fails is !(((s)-obj.flags) b_PObj_on_free_list_FLAG which means that this string has been garbage collected. I saw a couple different instances

[perl #41047] [BUG] :multi doesn't work with :outer

2006-12-04 Thread Matt Diephouse via RT
Fixed in r15971. The MMD code checks that the sub is a Sub PMC so it can get the signature. I expanded the check to work with Closure PMCs as well.

Re: Re: [perl #41014] [PATCH] Autobox Native Types for MultiSubs

2006-11-29 Thread Matt Diephouse
Leopold Toetsch [EMAIL PROTECTED] wrote: Am Mittwoch, 29. November 2006 05:50 schrieb Matt Diephouse: It also means that string, int, and float no longer work as MMD types -- you can't distinguish between native types and PMCs. I think this is the right way to go now that we have autoboxing

Re: Re: Re: [perl #41014] [PATCH] Autobox Native Types for MultiSubs

2006-11-29 Thread Matt Diephouse
Patrick R. Michaud [EMAIL PROTECTED] wrote: On Wed, Nov 29, 2006 at 04:43:59PM -0500, Matt Diephouse wrote: Leopold Toetsch [EMAIL PROTECTED] wrote: Am Mittwoch, 29. November 2006 05:50 schrieb Matt Diephouse: It also means that string, int, and float no longer work as MMD types -- you

Re: Re: Re: Re: [perl #41014] [PATCH] Autobox Native Types for MultiSubs

2006-11-29 Thread Matt Diephouse
Matt Diephouse [EMAIL PROTECTED] wrote: We've basically run into the fact that there's no spec for MMD. I'll see if I can provide a patch that just makes _ match native types, but I think it'll be somewhat more involved than this one. It ended up being easier than expected -- implemented

Re: [perl #41000] Can't compile simple parrot example with latest stable parrot

2006-11-28 Thread Matt Diephouse
with Integer makes it work: new P0, .Integer set P0, 123 new P1, .Integer set P1, 321 add P1, P1, P0 print P1 print \n end -- Matt Diephouse http://matt.diephouse.com

Re: Re: :anon Subs and Namespaces

2006-11-23 Thread Matt Diephouse
was hoping you'd say that. :-) Then for exporting (and other dynamic tricks), let's look into a feature that allows you to change the namespace a compilation unit uses for default lookups, after it's compiled. That seems like a good idea. -- Matt Diephouse http://matt.diephouse.com

:anon Subs and Namespaces

2006-11-22 Thread Matt Diephouse
signal to you that there may a problem here that needs its own solution? -- Matt Diephouse http://matt.diephouse.com

set_pmc + setref/deref: anyone using them?

2006-11-13 Thread Matt Diephouse
to make transparent references possible, but they weren't really specced out or desisign ed properly. As such, they're a little broken and we'd like to remove them. -- Matt Diephouse http://matt.diephouse.com

Re: Re: classnames and HLL namespaces -- help!

2006-10-20 Thread Matt Diephouse
Allison Randal [EMAIL PROTECTED] wrote: Matt Diephouse wrote: Patrick R. Michaud [EMAIL PROTECTED] wrote: On Thu, Oct 19, 2006 at 10:01:29PM -0400, Matt Diephouse wrote: This is unspecced. ATM, all classes go into the 'parrot' HLL. This is a relic of the past and I think it needs

Re: classnames and HLL namespaces -- help!

2006-10-19 Thread Matt Diephouse
on Parrot; everything up to this point has been either procedural or functional. -- Matt Diephouse http://matt.diephouse.com

Re: Re: classnames and HLL namespaces -- help!

2006-10-19 Thread Matt Diephouse
Patrick R. Michaud [EMAIL PROTECTED] wrote: On Thu, Oct 19, 2006 at 10:01:29PM -0400, Matt Diephouse wrote: This is unspecced. ATM, all classes go into the 'parrot' HLL. This is a relic of the past and I think it needs to change. I'm pretty sure that HLL classes will have to go

Re: Re: FYI compiling PIR function calls

2006-09-28 Thread Matt Diephouse
a bound method? That simplifies parsing for IMCC and makes PIR a little simpler. obj.'abc'() # call 'abc' method of obj obj.abc() # same as above $P0 = find_method obj, abc # get bound method indicated by abc symbol $P0() # actually call it -- Matt Diephouse http://matt.diephouse.com

Re: Re: RFC: Consolidate stack-unwinding code

2006-09-23 Thread Matt Diephouse
correct. I hope I've given you enough information to fix it. If I haven't, let me know what else I can provide. Thanks, -- Matt Diephouse http://matt.diephouse.com

Re: Re: Re: RFC: Consolidate stack-unwinding code

2006-09-23 Thread Matt Diephouse
* work. I haven't applied it because it's not necessarily urgent that Tcl work in trunk. I'm okay with waiting a couple days to see if an actual fix can be found - instead of merely using a workaround. You can feel free to apply it yourself, of course. Thanks, -- Matt Diephouse http

Re: Re: Re: Re: RFC: Consolidate stack-unwinding code

2006-09-23 Thread Matt Diephouse
Bob Rogers [EMAIL PROTECTED] wrote: From: Matt Diephouse [EMAIL PROTECTED] Date: Sat, 23 Sep 2006 20:21:32 -0400 Bob Rogers [EMAIL PROTECTED] wrote: Try the attached patch . . . That *does* work. I haven't applied it because it's not necessarily urgent that Tcl work

Re: Re: PMC Methods, Inheritance, and User-visible Classes

2006-08-29 Thread Matt Diephouse
Joshua Juran [EMAIL PROTECTED] wrote: On Aug 28, 2006, at 12:18 PM, Matt Diephouse wrote: I would like to add some sort methods as well: quicksort(), mergesort(), etc. But as methods, there is potential for these to end up in a user-visible space. Say for example, that I add a mergesort

Why does writing PMCs suck?

2006-08-29 Thread Matt Diephouse
:slurpy, :optional, or :named arguments. Even if there's support under the hood, there's no way to write a PMC with these arguments. -- Matt Diephouse http://matt.diephouse.com

PMC Methods, Inheritance, and User-visible Classes

2006-08-28 Thread Matt Diephouse
classes. Would these each need to be split into 2 classes as well? If so, we'd want to make multiple inheritance really work with PMCs. Any thoughts? -- Matt Diephouse http://matt.diephouse.com

Re: Re: Re: resizablepmcarray, assign.

2006-08-08 Thread Matt Diephouse
ever finds himself or herself in the same position, a look at TclList's (languages/tcl/src/pmc/tcllist.pmc) assign_pmc method would probably be in order. -- Matt Diephouse http://matt.diephouse.com

Re: Re: a premature optimization

2006-08-06 Thread Matt Diephouse
; just that it's not always valid. -- Matt Diephouse http://matt.diephouse.com

Re: Re: resizablepmcarray, assign.

2006-08-04 Thread Matt Diephouse
as C goes, unfortunately. Otherwise I'd have fixed it already. :-) Thanks for taking a look at this. -- Matt Diephouse http://matt.diephouse.com

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

2006-08-01 Thread Matt Diephouse
of the typed interface? -- Matt Diephouse http://matt.diephouse.com

Re: Re: Checkin #13345

2006-07-19 Thread Matt Diephouse
chromatic [EMAIL PROTECTED] wrote: On Tuesday 18 July 2006 19:43, Matt Diephouse wrote: I know I'm a little late to the game here, but in the future it would be useful to mention this sort of info in a comment in the source. :-) And a comment might be a nice addition even now. (You

Re: Checkin #13345

2006-07-18 Thread Matt Diephouse
in the svn log, but a comment would really be the most useful.) -- Matt Diephouse http://matt.diephouse.com

[perl #39778] Segfault when using a Namespace with an Iterator

2006-07-16 Thread Matt Diephouse via RT
corrrectly (of course, you also have to remove C $S0 = $P0 ). -- Matt Diephouse 

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

2006-07-10 Thread Matt Diephouse
opcode mirrors the existing find_global exactly. :-) -- matt diephouse http://matt.diephouse.com

Re: Re: [perl #39777] Large Subroutine Segfaults IMCC

2006-07-10 Thread Matt Diephouse
.constants instead of just segfaulting? Thanks again, -- 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
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

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

2006-07-06 Thread Matt Diephouse
referencing originate at the root, or (c) add a special syntax, none of which is simple. -- matt diephouse http://matt.diephouse.com

Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Matt Diephouse
::, Foo::Bar $P1 = get_namespace $P0 It's definitely in the pdd; even the example here uses arrays (not too surprising, since I wrote it. ;-). Arrays are the easiest way to be able to get a namespace at runtime... which translates to the easiest way for Tcl to use namespaces. -- matt

Re: Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Matt Diephouse
/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
.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: 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 [...] It is, actually

Namespaces Redux

2006-06-29 Thread Matt Diephouse
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: [perl #39597] Problems with string constants in method calls

2006-06-24 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. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=39597 The following code in lines 108

Re: lexical lookup and OUTER::

2006-06-23 Thread Matt Diephouse
, 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: 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: [perl #39164] [PATCH] Cygwin: build with spaces in build_dir

2006-05-22 Thread Matt Diephouse
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: [perl #39173] Multi-Dispatch Incompatible with :flat Params

2006-05-21 Thread Matt Diephouse
(as chromatic did) and be done with it. -- matt diephouse http://matt.diephouse.com

languages/ Cleanup

2006-05-21 Thread Matt Diephouse
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 #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

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

2006-04-21 Thread Matt Diephouse
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
: *** 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
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 # 20 # 30 # 31 # 41 # 51 # 11 # ok These pass for me on 10.4.6 Intel. -- matt diephouse http://matt.diephouse.com

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

2006-04-07 Thread Matt Diephouse
¢. :-) -- 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: Heureka - from the -Ofun department

2006-02-10 Thread Matt Diephouse
(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: Q: pdd21 relative vs absolute

2006-01-25 Thread Matt Diephouse
# 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: pdd21 notes

2006-01-24 Thread Matt Diephouse
;) I'm not sure what you mean by seems to belong into the HLL. The typed interface is supposed to eliminate the need for an import hook. I gave it quite a bit of thought. (Hopefully enough for the both of us ;-) -- matt diephouse http://matt.diephouse.com

Re: pdd21 notes

2006-01-24 Thread Matt Diephouse
the typed interface anyway. So this won't generate less code, but it's possible that it will improve interoperability (and possibly speed). At this point, I'd probably say to just leave this until later. I'm not convinced that we need it. But if we do, it'll be simple to add. -- matt diephouse

[perl #38063] [TODO] Tcl: Correctly convert to a number or string in [expr]

2005-12-30 Thread Matt Diephouse via RT
This is done as of r10803.

Variables, Aliasing, and Undefined-ness

2005-12-15 Thread Matt Diephouse
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 Given that you are using DynLexPad, you just do: delete $P2['alias'] If only it were that simple

Re: [perl #37914] partcl expr bug.

2005-12-13 Thread Matt Diephouse
a 2] != {}} {} Generates an error in partcl: syntax error in expression [set a 2] != {}: premature end of expression I've fixed the syntax error (we weren't parsing {} constructs inside of [expr]), but it now dies with this error: MMD function __i_multiply not foundfor types (1, -100) -- matt

Re: Namespaces (At Long Last)

2005-12-04 Thread Matt Diephouse
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

Re: Namespaces (At Long Last)

2005-12-03 Thread Matt Diephouse
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-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 capitalize). So Perl 5's CGI module

  1   2   3   >