bug-make
[Top][All Lists]
Advanced

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

Re: Tail call elimination


From: Paul Smith
Subject: Re: Tail call elimination
Date: Mon, 18 May 2020 15:42:23 -0400

On Mon, 2020-05-18 at 21:05 +0200, Jouke Witteveen wrote:
> Otherwise, POSIX prescribes an expr command, so with:
> expr = $(shell expr '$1')
> you can already do $(call expr,2 * 3 + 5).

Please remember not every user of GNU make has access to a POSIX
environment.

I'm not suggesting we re-implement POSIX shell, coreutils, etc. inside
GNU make.  But, there may be a way to get a lot of bang for relatively
little buck, portability-wise.

It's at least worth discussing.




reply via email to

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