Primitive token parse and functor, applicative and alternative implementations.

The continuation passing style causes stack overflows. Next step is to use
trampoline.