RE: PMCs, setting, and suchlike things [forward from p6-internals]

2002-02-13 Thread Wizard
This came up on perl6-internals, and Dan liked the "try" suggestion and suggested That I post it here for comments. I'm not subscribed to p6-language, so you'll need to include me in any replies where you want a response from me. = Dave M

RE: PMCs, setting, and suchlike things

2002-02-13 Thread Wizard
Dan Sugalski wrote: > >my Complex $c = 3+4i; > >my Complex $d = 4i; > >my $plain = $c / $d; > > > >Does $plain get promoted, or does the result from the division > get demoted? > > Since $plain's not a fixed scalar type, it should be whatever the > division of $c and $d produces, presumably a comp

RE: PMCs, setting, and suchlike things

2002-02-13 Thread Wizard
> my Complex $c = 3+4i; > my $plain = 1.1; > $plain = $c; This might be even more "Complex" than that - what if Complex can be reduced? Should it? for instance: my Complex $c = 3+4i; my Complex $d = 4i; my $plain = $c / $d; Does $plain get promoted, or does the result from the division get demo

RE: Parrot Trooper

2002-02-08 Thread Wizard
Try this. It's might be too 1970's, though. Grant M. parrot.gif Description: GIF image

RE: How do we clean up?

2002-02-07 Thread Wizard
> What command can we agree on to leave only the files listed in MANIFEST > and no other files? It used to be that 'distclean' did that, but no more. Just from experience, "make clean" should remove any files that make created, and I believe that "make realclean" should remove everything that wa

email harvesting...

2002-01-29 Thread Wizard
I don't know who to send this to, but I just received several spams to my email address that I use only for this list (perl6-internals). If someone could let me know if someone is responsible for preventing this, please let me know, so that I can forward the information. Grant M.

RE: CPP Namespace pollution

2002-01-25 Thread Wizard
> See the FAQ. This really isn't a very good answer for several reasons (I know the answer, but that doesn't matter): 1.> There is no link to the FAQ on the Perl6 page (that I could find anyway). (http://www.panix.com/~ziggy/parrot.html - I think this it) 2.> "See the FAQ" for what? Not using

RE: SAPI (Was RE: args, argv in parrot?)

2001-12-04 Thread Wizard
> perl -e '' > is very essential; though I could see a compatibility mode being > enabled by > default with '-e' if necessary. But perl is not parrot, and parrot doesn't need -e (unless we expect people to write one-liners in actual bytecode). Perl will be sitting on top of parrot, so it will

RE: args, argv in parrot?

2001-12-03 Thread Wizard
> I'm getting tempted to have some sort of multi-level ENV thing that, for > most single-interpreter cases, collapses down to a plain getenv/putenv. What about an RPC/IPC API that communicates (bi-directionally) with the parent application if one exists, and if not, it runs inside a wrapper app th

RE: args, argv in parrot?

2001-12-03 Thread Wizard
> Oh, right, env messing needs to be special for a few reasons: > > *) Embedding > *) Threads > *) Various platform "quirks". (And no I'm not even talking about VMS or > Windows...) And potentially CORBA/COM/DCOM/RPC/IPC? or is that "Embedding"? Grant M.

Did I miss this?!?!

2001-11-22 Thread Wizard
I was wandering around looking for some non-parrot related stuff, and came across this wonderful tidbit. Was this mentioned somewhere in the mail list or on perl.com and I missed it? http://www.unixreview.com/documents/s=1780/urm0111h/0111h.htm If it wasn't posted to the prl6-* list, it should be

RE: Revamping the build system

2001-10-23 Thread Wizard
I don't think we can solve this here. This is something that has been a problem for some time, with solutions of various success. We already have the options of Ant, XPInstall, RPM, and many others, but I tend to believe that the most widely known tools are the auto* stuff. That counts for a lot.

RE: Languages in the core source tree?

2001-10-22 Thread Wizard
> 1) Do we put them all in the parrot CVS tree I think it would be good for the languages to be in tree, but I would like to have it under a different mechanism for cvs checkout. In other words, the default cvs checkout of parrot does NOT check out the languages tree, but a separate checkout is r

RE: CVS

2001-10-01 Thread Wizard
> Automated snapshots and e-mail notifications of CVS commits have both > stopped. What's going on? At some point, someone set the clock back on the machine that sends the mail (I noticed because all of my new mails are coming in as older than ones that I received earlier in the day). If this is

FYI, that last email was sent last night...

2001-09-10 Thread Wizard
I'm having trouble with my hosting company (wehost.net is poop!). That last email was a reply that I sent last night at 6pm. Please ignore it :-P Grant M.

RE: Math functions? (Particularly transcendental ones)

2001-09-10 Thread Wizard
Well, I used to do some embedded systems programming using C, and many of the compilers would make attempts to optimize logical ops like if( byte_variable & 0xF7 ){... into something using a processor op equivalent to the 8051C testbit( byte_variable, bit_offset). The 8051 processor has sever

RE: Math functions? (Particularly transcendental ones)

2001-09-10 Thread Wizard
Uri Guttman wrote: > but having parrot op codes map to special instructions > makes sense only if we are doing some form of machine instruction > generation as with JIT or TIL. Actually, I wasn't necessarily asking for any special ops (I'm not actually asking for anything, it's just a suggestion)

RE: Math functions? (Particularly transcendental ones)

2001-09-09 Thread Wizard
Just curious, would it be practical to design-in a boolean-specific register/set of registers? There are many processors (PICC, 8051, etc.) which would likely be better able utilize their own optimizations if this were the case ( bitset, testbit, high, low, etc.). It could be done without the regi

RE: Math functions? (Particularly transcendental ones)

2001-09-08 Thread Wizard
Questions regarding Bitwise operators: > =item rol tx, ty, tz * ... > =item ror tx, ty, tz * Are these with or without carry? If not, is there a need for a RCL/RCR (with carry...and carry where)? And what about a negate operator (neg)? Grant M.

RE: Deoptimizations

2001-09-02 Thread Wizard
> > 'use constant FOO => "foo"' could add some magic to never let FOO > being redefined (not a bad coice for a constant). > > -- Johan I like this idea best (for now). Perhaps 'constant sub foo' or 'sub foo:constant'? By doing it that way, it is apparent to both Perl and the developer that this i