parse chains of binary ~ as a macro call to `@~`. closes #4882