tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: proplib and the jet age

David Holland wrote:
> Developers need to learn parsing tools anyway, but that's not much of
> an argument since the only parsing tools you need for handling simple
> config files are fgets(3), strchr(3), and strtok_r(3). In languages
> like Perl and Python it's even easier.

I agree that they need to learn parsing tools but I was talking about
more complicated config files and using tools like bison, yacc, lemon,
peg, etc. Because the last thing I would do is writing 4.7Kloc to parse
a config file:

$ wc -l dist/dhcp/common/parse.c
4845 dist/dhcp/common/parse.c


Home | Main Index | Thread Index | Old Index