Investigation of languages including stochastic ones that are parsed in a linear or quadratic time resulted in these papers:
See also tutorial Finite State Machines.
Need to relax? Try brain teasers. I would recommend those marked 'cool'.