math expressions (was: Re: Tail call elimination)

2020-05-19 Thread Paul Smith
On Tue, 2020-05-19 at 15:21 +0100, Tim Murphy wrote: > A question would be do we want to use GMP or are 64 bit ints enough? > I'm inclined to say ints are ok of they are wide. Straight 64bit integer arithmetic is fine IMO. I'm definitely not interested in adding another library dependency. > So

Re: Tail call elimination

2020-05-19 Thread Tim Murphy
A question would be do we want to use GMP or are 64 bit ints enough? I'm inclined to say ints are ok of they are wide. Sorry to jump to such a basic question. I sort of think it helps frame a discussion about what people really want. I mostly needed addition, comparison and decrement of values th

Re: Tail call elimination

2020-05-19 Thread Paul Smith
On Mon, 2020-05-18 at 21:40 -0400, Daniel Herring wrote: > This decision causes a difficult and error-prone ambiguity when the > return value is really true and empty. For example, the operation > succeeded and the result was "", versus the operation failed and thus > returned "". So Scheme added

Re: error checking version of $(shell)

2020-05-19 Thread Paul Smith
On Mon, 2020-05-18 at 19:16 -0800, Britton Kerin wrote: > # I'm hoping > # for a little more feedback from paul declaring that the parser is indeed > # sequential and .SHELLSTATUS is indeed per-process, so that this is ok. GNU make is not multithreaded and all invocations of $(shell ...) functions