I thought of mentioning the Prolog heritage. Weirdly CSS (having the worst syntax consistency of any language I can think of) is hyphen-heavy and solves its negation infix operator ambiguity well: it needs to be surrounded by whitespace.
For Prolog/Erlang, I think the preceding syntax is disambiguating enough
Most other languages didn't want to handle the syntactic ambiguity of using the period as a decimal point and a statement separator.