Parser knows if a number is a prime or not