Re: De Morgan's theorum

2002-02-19 Thread Brian Lee Ray
From: "Nicholas Clark" <[EMAIL PROTECTED]> Sent: Tuesday, February 19, 2002 3:15 PM Subject: De Morgan's theorum > I have remembered the name correctly, haven't I? Yes. If we were really serious about optimizing logical expressions, we would probably want to use Karnaugh maps. However, I just don

Re: [REPATCH] Re: [PATCH] Bash some more warnings

2002-02-19 Thread Josh Wilmes
Any chance of getting this in some time soon? The key.c part of it fixes the broken tcc (and probably lcc) builds. All tests passed with tcc for me, which is neat. --Josh At 21:06 on 02/18/2002 GMT, Jonathan Stowe <[EMAIL PROTECTED]> wrote: > On Mon, 18 Feb 2002, Dan Sugalski wrote: > > >

De Morgan's theorum

2002-02-19 Thread Nicholas Clark
I have remembered the name correctly, haven't I? Would it gain us much implementing De Morgan's theorem in the peephole optimiser? nick@Bagpuss [nick]$ perl -le 'for $l (0,1) {for $r (0, 1) {print 0+(!$l && !$r) }}' 1 0 0 0 nick@Bagpuss [nick]$ perl -le 'for $l (0,1) {for $r (0, 1) {print 0+!($l

Re: [COMMIT] Embedding enhancements

2002-02-19 Thread Melvin Smith
Well if you look at it from the point of view that we are developing the ANSI Parrot spec there is no collision. :P -Melvin Smith IBM :: Atlanta Innovation Center [EMAIL PROTECTED] :: 770-835-6984

Re: Keys and Indices PDD

2002-02-19 Thread Nicholas Clark
On Sun, Feb 17, 2002 at 05:51:32PM +, Simon Cozens wrote: > =head2 Aggregate and non-aggregate PMCs > > We've already said that what separates the aggregate PMCs from the > non-aggregates is their implementation of the C<_keyed> vtable methods. > So it is Hereby Decreed that the default vtab

Re: [COMMIT] Embedding enhancements

2002-02-19 Thread Tom Hughes
In message <[EMAIL PROTECTED]> Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Sat, Feb 16, 2002 at 01:46:56AM -0800, Brent Dax wrote: > > NEW CONVENTIONS FOR DATA EXPOSED TO EMBEDDERS: > > > > -All structs should have a name of the form parrot_system_t. This name > > should never be d

RE: [PATCH] inline and win32 w/ msvc++

2002-02-19 Thread Hong Zhang
If the function is intended to be inlined, why we need prototype for it. The INLINE function should have immediate implementation, and not prototype. I will use the following macro to handle this. #if defined(__GNUC__) /* && __GNUC__ > nnn */ # define INLINE __inline__ #elif defined(_MSC_VER) /*

Re: [COMMIT] Embedding enhancements

2002-02-19 Thread Nicholas Clark
On Sat, Feb 16, 2002 at 01:46:56AM -0800, Brent Dax wrote: > NEW CONVENTIONS FOR DATA EXPOSED TO EMBEDDERS: > > -All structs should have a name of the form parrot_system_t. This name > should never be directly used outside the subsystem in question. > > struct parrot_foo_t { > ... > }; A

Re: [PATCH] inline and win32 w/ msvc++

2002-02-19 Thread Ritz Daniel
> What version of VC++ are you using? That will work with 6 and 7--and if > it doesn't, you have much bigger problems than rx.h, like a compiler > that's completely on crack. it's vstudio 6.0 enterprise with service pack 5, the compiler (cl) itself shows 12.00.8804, linker shows 6.00.8447 and i

Re: Keys and Indices PDD

2002-02-19 Thread Dave Mitchell
Simon Cozens <[EMAIL PROTECTED]> wrote: > Need discussion on whether C is a good exception for > this, or whether something else should be used. It's really a compiler > screw-up, since code which indexes a non-aggregate shouldn't be > generated. Except of course references, where the compiler ca

Re: PDDs, guys.

2002-02-19 Thread Piers Cawley
Dan Sugalski <[EMAIL PROTECTED]> writes: > The first person to say "But XP says code first!" will be summarily > mocked, as that's completely full of crap. You have been warned. :) Actually, XP says tests/interface first and be prepared to change it if the code tells you to. But XP is specifical

Re: PDDs, guys.

2002-02-19 Thread Dave Mitchell
Dan Sugalski <[EMAIL PROTECTED]> wrpote: > Implementation should be capable of being yanked out and replaced > with no notice, and things still work. It is, and should be, > considered ephemeral. It's the least important thing to get right, > since it can be fixed or completely replaced as we n