Using a file of strings and a grammar specification file as input, determine if the string is correct with the grammar