From a39bf3da7b13baff1326acbd25d69183ff00e11e Mon Sep 17 00:00:00 2001
From: Reid Spencer
The answer is that it uses a table driven generic parser (unless you specify your own parser, as described in the Extension -Guide). This parser maps literal strings to whatever type is required, are +Guide). This parser maps literal strings to whatever type is required, and requires you to tell it what this mapping should be.
-Lets say that we would like to add four optimizations levels to our +
Lets say that we would like to add four optimization levels to our optimizer, using the standard flags "-g", "-O0", "-O1", and "-O2". We could easily implement this with boolean options like above, but there are several problems with this strategy: