Parsing logic boolean operators