[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] condition: OR of two string comparisons
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] condition: OR of two string comparisons |
Date: |
Thu, 20 Nov 2014 15:25:31 +0000 |
Hi Werner,
> Having `.if x' instead of a new keyword `.ifx' is appealing to me.
> Assuming that we have a global register to activate a novel
> interpretation of expressions (as suggested by Colin), we could indeed
> simply stay with the currently available keywords. A similar approach
> is already used by Heirloom troff to define various extensions.
>
> Note, however, that it gets tricky if groff tries to execute `modern'
> macros in compatibility mode (.cp 0), cf. `.de1' and friends.
I'd like to read `.nr i 3+4*6' and know if that's 27 or 42 without
having to know the value of a `new expression syntax' register; code is
often read by jumping in at a point and not following from the start of
execution. Altering the syntax, with a new request or invalid old
expression syntax, gives me that knowledge on the spot.
Cheers, Ralph.
- Re: [Groff] condition: OR of two string comparisons, (continued)
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/15
Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/23
Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/19
- Re: [Groff] condition: OR of two string comparisons, Werner LEMBERG, 2014/11/19
- Re: [Groff] condition: OR of two string comparisons, Tadziu Hoffmann, 2014/11/20
- Re: [Groff] condition: OR of two string comparisons, Mike Bianchi, 2014/11/20
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/21
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/21
- Re: [Groff] condition: OR of two string comparisons, Peter Schaffter, 2014/11/22
Re: [Groff] condition: OR of two string comparisons, Tadziu Hoffmann, 2014/11/26
Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/26