[Ur] Change grammar to swap precedence of "&&" and "||"?

Adam Chlipala adamc at csail.mit.edu
Fri May 15 14:47:24 EDT 2020


Way back when, in Ur/Web's grammar, I apparently gave these two 
quintessential Boolean operators different relative precedences, 
compared to other widely used languages, as has been pointed out 
<https://github.com/urweb/urweb/issues/202>. Would anyone object to 
swapping them?  It's entirely possible that there has not yet been 
written an Ur/Web program that would parse differently depending on this 
choice, but it seems worth checking for strong opinions.  A week from 
posting this message, I'll consider it safe to take the proposed action, 
if no one has complained.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20200515/26ee1b1c/attachment.html>


More information about the Ur mailing list