[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: documentation for typed mid-rule actions
From: |
Hans Åberg |
Subject: |
Re: RFC: documentation for typed mid-rule actions |
Date: |
Mon, 13 Aug 2018 15:17:54 +0200 |
> On 13 Aug 2018, at 09:15, Akim Demaille <address@hidden> wrote:
>
>> Le 12 août 2018 à 17:57, Hans Åberg <address@hidden> a écrit :
>>
>>
>>> On 12 Aug 2018, at 11:33, Akim Demaille <address@hidden> wrote:
>>>
>>> I would also like to enforce consistency in Bison which uses
>>> both midrule and mid-rule. I am in favor of ‘midrule'
>>> (shorter, consistent with our move to lookahead instead of
>>> look-ahead, more consistent between code and doc as there is
>>> no conversion from dash to underscore, etc.), but I am not
>>> a native! To which one should we stick? (FWIW, neither
>>> appear in the manual of YACC, only ‘An action appearing in the
>>> middle of a rule […]’ does).
>>
>> Use midrule: all search hits seem to refer to Bison.
>
> Good point :)
>
> Also, on ‘mid-rule’, Google asks me ‘did you mean midrule?’.
> But it seems that it’s mainly because of LaTeX’s \midrule.
In English, the variants separate, hyphen, or joined, will be pronounced the
same, so it is merely an orthographic question.