|Applications using Lex/Flex & Yacc/Bison firstname.lastname@example.org (Partha S Panda) (2013-11-07)|
|Re: Applications using Lex/Flex & Yacc/Bison email@example.com (Timothy Knox) (2013-11-08)|
|Re: Applications using Lex/Flex & Yacc/Bison DrDiettrich1@aol.com (Hans-Peter Diettrich) (2013-11-09)|
|Re: Applications using Lex/Flex & Yacc/Bison firstname.lastname@example.org (mac) (2013-11-13)|
|Re: Applications using Lex/Flex & Yacc/Bison email@example.com (Tero Koskinen) (2013-12-05)|
|From:||Hans-Peter Diettrich <DrDiettrich1@aol.com>|
|Date:||Sat, 09 Nov 2013 05:42:52 +0100|
|Posted-Date:||10 Nov 2013 09:17:17 EST|
Partha S Panda schrieb:
> I am trying to figure out hardware or software applications other then
> compiler-related that utilize yacc/bison and lex/flex respectively.
Do you mean existing programs, or what *could* be done?
Most applications I know of use other parsers, not lex/yacc. It would be
interesting, though, *why* they use other parsers. I could imagine that
e.g. counting words or sentences in natural language text could be done
using lex/yacc, but would be easier to accomplish, and faster, by other
In general lex/yacc allows to parse whatever can be represented in an LR
(LALR(1)?) grammar, but not all grammars are acceptable due to
restrictions (ambigous...). This could be any formatted data, like BNF,
HTML, RTF, TEX, phonebooks, log files, man/info files, or (textual)
output of many other programs. I'm not sure whether binary data can be
parsed as well, it may be necessary to modify lex/flex for that purpose.
Many other parsers come with example grammars that can *not* be used
Return to the
Search the comp.compilers archives again.