Première page Précédent Suivant Dernière page Résumé Texte


No operator precedence problem in NASL1 as it just did not allowed complex expressions.
As NASL syntax looks like C, we used C priority but fixed a couple of brain-damaged ideas:
Higher priority for & and |
Association is forbidden where it does not make sense.
Logical not should have a low priority, but people consider that “short” operators have a higher priority. “!” is not “fixed”.
We added negation to all operators (>!< was missing) to avoid use of “!” most of the time.