Substitute ampersands with dollars and vice versa
Added signed non-strict comparison operators