Topic: Lex and Yacc fried my brains
Have been writing a configuration parser with Lex and YACC.
Not only have I learnt a lot, but I have also come to realise just how powerful they are. I'm not saying I've learnt all there is about them or all the features they have to offer; in fact, I'd say I've only touched on the most minimal features. However, I'm seriously thinking I'll never manually write a config parser again.
On the downside, it has seriously fried my brains in terms of understanding how to move the data around and how to get it into memory from the config file.
For completeness, I used this guide: http://tldp.org/HOWTO/Lex-YACC-HOWTO.html
-- Copyright BSDnexus