[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/7] rule actions cannot be typed
From: |
Akim Demaille |
Subject: |
Re: [PATCH 6/7] rule actions cannot be typed |
Date: |
Sat, 11 Aug 2018 18:02:11 +0200 |
> Le 5 août 2018 à 21:54, Hans Åberg <address@hidden> a écrit :
>
>
>> On 5 Aug 2018, at 16:09, Akim Demaille <address@hidden> wrote:
>>
>> Make sure that we cannot apply a type to the (main) action of a rule.
>
> It might be retained, in case one wants to display it for clarity, say in a
> long grammar.
But then you have to make sure it’s consistent.
Rici suggested a similar feature at the bottom of this message.
https://lists.gnu.org/archive/html/bug-bison/2018-06/msg00002.html
His suggestion is more ‘factored’: you’d do it once for the LHS
of typically many rules, instead of doing it for each action.
- [PATCH 0/7] RFC: typed midrule actions, Akim Demaille, 2018/08/05
- [PATCH 2/7] add support for typed mid-rule actions, Akim Demaille, 2018/08/05
- [PATCH 1/7] tests: make room for more cases, Akim Demaille, 2018/08/05
- [PATCH 4/7] tests: check typed mid-rule actions, Akim Demaille, 2018/08/05
- [PATCH 5/7] warn about typed mid-rule actions in Yacc mode, Akim Demaille, 2018/08/05
- [PATCH 6/7] rule actions cannot be typed, Akim Demaille, 2018/08/05
- [PATCH 3/7] regen, Akim Demaille, 2018/08/05
- [PATCH 7/7] NEWS: update, Akim Demaille, 2018/08/05