This document contains code for lexical and syntactic analyzers for a simple calculator language using Flex and Bison. The Flex files define patterns for tokens like numbers, operators, parentheses. The Bison grammars define the calculator language syntax with rules for expressions, terms, factors and numbers. Main functions are included to run the generated parsers. Comments provide additional context about using Flex to generate a lexer, Bison to generate a parser, and compiling the resulting files into a calculator program. Later sections show similar grammars for expressions, regular expressions and an if-else statement language.