Iterative parse optimization

Major changes are
1. Manual inlining
2. Use token table
3. Remove stack size limit feature