Parse goal input with babel