toOperator

Converts a parser-level operator definition to its core equivalent.