groff
[Top][All Lists]
Advanced

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

Re: [Groff] condition: OR of two string comparisons


From: Tadziu Hoffmann
Subject: Re: [Groff] condition: OR of two string comparisons
Date: Thu, 20 Nov 2014 19:31:23 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

> This is a valid concern.  Whoever is going to implement one of
> the suggested solutions: It seems that a poll is needed...

I say we shouldn't change the interpretation of
numeric expressions.

  1. The arithmetic is well documented in the
     Troff User's Manual.

  2. It's going to make things more confusing
     by having n different compatibility levels.

  3. It's not necessary, because order of operations
     can always be specified by using parentheses.

If you don't like the basic design of the troff language,
start from scratch and write your own formatter using a
complete redesign of the syntax.

Otherwise it feels a bit like "I don't like the C++ syntax and
I can't be bothered to learn something new from the ground up.
Let's change it so it feels more like Fortran, then it might
finally become a useful language."





reply via email to

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