Improve the performance of parser

Instead of doing a  during tokenization, do a  and reverse tokens list at the end