[m-users.] Determinism issue with parser
Volker Wysk
post at volker-wysk.de
Mon Jul 5 03:55:06 AEST 2021
Am Montag, den 05.07.2021, 03:34 +1000 schrieb Zoltan Somogyi:
> > I'm still not sure what you mean by "disambiguation code", though.
>
>
> I meant any code that tells the compiler that there will be only one
> solution
>
> even though its old version would be able to generate more than one
> solution
>
> as far as the compiler is concerned.
>
>
>
> Your code immediately above does this: by replacing the original second
>
> and third clauses (an implicit disjunction) with an if-then-else, you told
> the compiler
>
> that there will be a solution from either then then-part or the else-part,
> BUT NOT BOTH.
>
> So it seems you understood my hint sufficiently well, even if you did not
> think so :-)
Okay, thanks! :-)
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mercurylang.org/archives/users/attachments/20210704/e95fd506/attachment.sig>
More information about the users
mailing list