This is horrid, and not how math works. Spaces necessarily mean nothing, and
imbuing them with meaning is nonsense.
Please reconsider your grammar.
> On Sep 22, 2022, at 8:28 PM, Lukas Arsalan wrote:
>
> On 2022-09-22T15:54:31UTC Hans Åberg wrote:
>> Context switches are best avoided unles
On 2022-09-22T15:54:31UTC Hans Åberg wrote:
> Context switches are best avoided unless absolutely necessary, in my
> experience.
> So if one designs ones own language, it might be good to try to avoid them
> by a change in the grammar.
>
OK... I know that there are no signed numbers usually...
> On 22 Sep 2022, at 21:02, Lukas Arsalan wrote:
>
> On 2022-09-22T15:54:31UTC Hans Åberg wrote:
>> Context switches are best avoided unless absolutely necessary, in my
>> experience.
>> So if one designs ones own language, it might be good to try to avoid them
>> by a change in the grammar.
On 2022-09-22T07:57:45UTC Hans Åberg wrote:
> On 22 Sep 2022, at 08:30, Lukas Arsalan wrote:
>> [1] -1 --> "num"
>> [2] 1-2 --> "num" "-" "num"
>> [3] (-1^-2) --> "(" "num" "^" "num" ")"
>> [4] 1--2 --> "num" "-" "num"
>> [5] 1---3 --> "num" "-" "-" "num"
>> [6] 1-2^3 --> "num" "-" "num" "^" "num
> On 22 Sep 2022, at 16:52, Lukas Arsalan wrote:
>
> On 2022-09-22T07:57:45UTC Hans Åberg wrote:
>> On 22 Sep 2022, at 08:30, Lukas Arsalan wrote:
>>> [1] -1 --> "num"
>>> [2] 1-2 --> "num" "-" "num"
>>> [3] (-1^-2) --> "(" "num" "^" "num" ")"
>>> [4] 1--2 --> "num" "-" "num"
>>> [5] 1---3 --
> On 22 Sep 2022, at 08:30, Lukas Arsalan wrote:
>
> Hi,
>
> At 2022-09-22T07:08:55CEST Akim Demaille wrote:
>> This snippet is clearly ambiguous, since it allows two different parses of
>> -1, which -Wcex nicely showed.
>>
> yes. right.
>
>> If I were you, I would handle this in the scann