Grammatical Analysis and Semantic Analysis Program Design of Boolean Expressions