Rewrote the notf ssyntax so that it can work with macros.

For example ~or is now valid.