sentence: bison reads a specification of a context-free language , warns about any parsing ambiguities , and generates a parser ( either in c , c++ , or java ) which reads sequences of tokens and decides whether the sequence conforms to the syntax specified by the grammar .