Introduction - If you have any usage issues, please Google them yourself
Design a simple lexical analyzer to further deepen the understanding of the lexical analyzer works. Compiler theory to understand the principles of lexical analyzer, and using a programming language specific code to achieve a simple lexical analyzer function (here I use the C language, the code can complete a simple C language program in the key words, variables, delimiter, numbers, operators, assignment operator.)