object-oriented parser skeleton, dictionary-based token dispatch implemented