These chapters and the two that follow provide technical information for the now experienced lex and yacc programmer to use while developing new lex and yacc applications.Ĭhapter 8, Yacc Ambiguities and Conflicts, explains yacc ambiguities and conflicts, which are problems that keep yacc from parsing a grammar correctly. First we use the parser as a syntax checker, then extend it into a simple preprocessor for SQL embedded in C programs.Ĭhapter 6, A Reference for Lex Specifications, and Chapter 7, A Reference for Yacc Grammars, provide detailed descriptions of the features and options available to the lex and yacc programmer. It develops lex applications that count words in files, analyze program command switches and arguments, and compute statistics on C programs.Ĭhapter 3, Using Yacc, gives a full example using lex and yacc to develop a fully functional desktop calculator.Ĭhapter 4, A Menu Generation Language, demonstrates how to use lex and yacc to develop a menu generator.Ĭhapter 5, Parsing SQL, develops a parser for the full SQL relational data base language. It also introduces basic terms we use throughout the book.Ĭhapter 2, Using Lex, describes how to use lex. Chapter 1, Lex and Yacc, gives an overview of how and why lex and yacc are used to create compilers and interpreters, and demonstrates some small lex and yacc applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |