I would like to implement a program that accepts if statements and then based on grammar rules provided, validates those statements by parsing each statement into tokens. I thought about it and thought that I would read each line in as a string, break it into tokens and validate each token first and then validate the order of the tokens in the statement. does anyone have any links I could browse to get more knowledge on?Does anyone have any suggestions as to how to do this?