Bitwise operators Peter McGoron (17 Jan 2026 04:30 UTC)
Re: Bitwise operators jobol (19 Jan 2026 21:49 UTC)
Re: Bitwise operators jobol (21 Jan 2026 07:31 UTC)
Re: Bitwise operators Peter McGoron (21 Jan 2026 21:39 UTC)

Re: Bitwise operators jobol 21 Jan 2026 07:30 UTC

Le Fri, 16 Jan 2026 23:27:10 -0500,
Peter McGoron <xxxxxx@mcgoron.com> a écrit :

> I like it!
>
> I think it is a good idea to have bitwise operators in the grammar.
> Perhaps they can exist in the grammar and raise errors if the
> implementation does not support bitwise arithmetic. Similar comment
> for fixnum and flonum arithmetic.

Hi,

While thinking about how to add fixnum and flonum support, I can see
two way of doing so:

1. the specific operators are used. ex: fx+

2. the standard operators are mapped to specialized operators. ex: +
becomes fl+

So the question is "is it valuable to specialize (option 2) expr?". I
think so because mixing arithmetic is no the main use.

regards - josé

[snip]