I\'m looking for algorithm to help me predict next token given a string/prefix and Context free grammar.
First question is what is the exact structure representing CF