Jean Abou Samra <j...@abou-samra.fr> writes:

> On 24/01/2023 00:41, David Kastrup wrote:
>> At any rate, postfix expressions require lookahead, and ** requires more
>> than one token of lookahead.  What constructs would you see as
>> candidates before ** ?
>
>
> Without agreeing or disagreeing with the '**' idea, couldn't
> the lexer just emit a different token for '**'?

I am not too enthused about composite tokens.  That makes for awkward
stuff in lyrics, for example.  At any rate, any postfix sequence
requires lookahead.

-- 
David Kastrup

Reply via email to