efficiency hack
make handling of input byte mapping less random

* the writing of the lexer is still pretty unclear, this ought to
  be improved
ad-hockery to make the -f and -D switches work properly