Re: NASL2: precedence of 'logical NOT'
Michel Arboi <[email protected]>
| Newsgroups | gmane.comp.security.nessus.devel |
|---|---|
| Organization | Compilo ergo sum |
| Message-ID | <[email protected]> |
"Jim Cervantes" <[email protected]> writes: > I really think you are setting people up to be confused and having > to code against their intuition. OK, for the moment, nothing is broken because the NASL1 scripts are full of parenthesis but we have to chose something before NASL2 is released as "stable". 1. Change ! so that its precedence is similar to && and || (counter-intuitive, different from C and Perl, but rather logical) 2. Leave ! as it is and hope that the script writers will put parenthesis where needed 3. Leave ! as it is and add a low priority "not" operator After all, that may be a good compromise