Sun Nov 22 12:16:30 CET 2009

select() based event loop

Essentially, this consists of a list of file descriptors and
associated actions.

Currently the actions are:
  - INPUT:  read when ready + parse
  - OUTPUT: write when ready

The assumption can be made that the tasks are representable as state
machines.  Push-down automata will then need an explicit stack
structure, or somehow wrap the C stack.