[M3devel] small set comparisons understood, now just to understand the front end code..
hendrik at topoi.pooq.com
hendrik at topoi.pooq.com
Tue Apr 15 14:09:13 CEST 2008
On Tue, Apr 15, 2008 at 07:07:40AM -0400, hendrik at topoi.pooq.com wrote:
> On Mon, Apr 14, 2008 at 11:22:35AM -0400, Tony Hosking wrote:
> >
> > Yes, that seems quite wrong. I can't imagine things ever worked
> > properly if that is how they are implemented.
>
> Maybe stick a test in the compiler to see if < > <= >= are ever used on
> small sets anywhere in the m3 system? You might want to do this anyway
> in case anyone is relying on them doing integer comparisons.
>
> I seem to remember using them for subset comparisons in a Pascal program
> I converted to modula 3 many years ago. I was using the PM3 compiler
> then, and I haven't tried it on cm3 yet. I'd have to check the code to
> see what I was really doing, though.
Found it. I didn't actually use < or <=. I used *.
- hendrik
More information about the M3devel
mailing list