Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,380 of 2,753    |
|    Dmitry A. Kazakov to Andreas Schramm    |
|    Re: precedences vs. hierarchy    |
|    06 Jun 16 17:08:10    |
      From: mailbox@dmitry-kazakov.de              On 06/06/2016 09:08, Andreas Schramm wrote:              > for specifying the syntax of operator expressions       > with multiple levels of precedences,       > there are essentially two approaches:       > (i) by precedence and associativity declarations, and       > (ii) by a hierarchy of non-terminals.              (iii) By only precedence, which I prefer. Associativity is not needed if       operator precedence is split into the left and right ones. That allows       to express any associativity, unary operators included.              --       Regards,       Dmitry A. Kazakov       http://www.dmitry-kazakov.de              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca