Here's all my pending eval patches after a bit more polish.  In
particular, I'm liking the idea in patch 4 of having eval default to
32-bit mode when eval64 is also easy to access, but defaulting to the
size of 'signed long' as a platform-dependency in 'm4 -G', plus a new
command-line option '--eval=32' or '--eval=64' to force the size.

But I'm still open to any comments on whether this is the best
approach for gaining a bit more POSIX compability (remember, in one
place, POSIX says eval must use at least 32-bit signed math; in
another, it says math operators of all the standard utilities must
default to 'signed long').

Eric Blake (4):
  eval: Document some more corner cases
  eval: Add >>> operator
  eval: Add eval64 builtin
  eval: Fine-tune default size of eval

 NEWS            |  16 +++-
 doc/m4.texi     | 201 +++++++++++++++++++++++++++++++++++++++---------
 src/Makefile.am |   2 +-
 src/builtin.c   |  50 +++++++++---
 src/eval.c      |  76 +++++++++++-------
 src/eval64.c    |  39 ++++++++++
 src/m4.c        |  16 ++++
 src/m4.h        |  14 +++-
 8 files changed, 330 insertions(+), 84 deletions(-)
 create mode 100644 src/eval64.c


base-commit: 881dc481baa282decc134227996000f22fc56358
-- 
2.49.0


_______________________________________________
M4-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to