Jim Gifford wrote: > Jim Gifford wrote: > >> The only one I know if in BLFS is tetex. Correct me if I'm wrong. >> > That is require flex. A lot of developers are moving away from flex. >
To what? I don't know of any other library that lets you build your own lexer. (Doesn't mean they don't exist, though -- and if they do, I'd like to know what they are.) If there is no other such library, then what do programs that need to parse text (like config files, for instance) use? Do they all just roll their own? That seems a bit wasteful. The obvious answer (for me anyway) to "how do I parse a config file" is "use flex and bison to build a grammar". (Note also that since flex generates a .c file, it's usually run on a developer's machine, and the resulting C file is usually distributed as part of the package. But to link, the package might still require libl.a or libfl.a.)
signature.asc
Description: OpenPGP digital signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page