Parsing and State Machines
This section daily deals with state machines and the use of visitors as events.
We'll cover the following...
Parsing a Config File
The idea comes from the previous example of a command line. In the case of a configuration file, we usually work with pairs of <Name, Value>
. Where Value
might be a different type: string
, int
, ...