Creating a parser with Bisonc++ and flex

Jurjen Bokma

January 2008

I used flex and bisonc++ to create a rudimentary parser for syslinux config files. I realize that a parser is overkill to extract the location of the image-to-boot and the boot parameters from such a simple file, but I also needed a way to distinguish these config files from others, and I just longed to have a go at creating a parser. These are the guidelines I set myself for the next time: