August 1, 2006
Parse your Text with Yacc and Lex
IdaAshley writes "Examine the processes behind building a parser using the lex/flex and yacc/bison tools, first to build a simple calculator and then delve into how you can adopt the same principles for text parsing. Parsing text is an important part of many applications. Within UNIX, several elements of the OS rely on parsing text, from the shell you use to interact with the system, through to common tools and commands like awk or Perl, right through to the C compiler you use to build software and applications."