bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tail call elimination


From: Pete Dietl
Subject: Re: Tail call elimination
Date: Wed, 20 May 2020 10:34:28 -0500

I really like the idea of using GMP to do the math.
Does it make sense to restrict ourselves to integer only? Probably,
but just a thought. Could always introduce it later.
Yes there is the question of use case and YAGNI, but there's also the
case of why artificially restrict the abilities of $(expr).

Assuming we at least do GMP with integers, I want to know the
operators that we should support.
I propose:

Arithmetic Functions:
---------------------------
* add
* subtract
* multiply
* divide
* negate
* absolute value
* exponentiate

Bit Manipulation:
----------------------
* and
* or
* xor
* complement
* left shift
* right shift

Comparison Functions:
------------------------------
* >
* >=
* <
* <=
* ==

If this looks ok then I can proceed with making a proposal document.
I can format it to resemble a Make documentation page.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]