kast parser

I am not at all satisfied about how you are getting the labels from the image of the tokens here. There is a lot of hacky string manipulation going on here. Find a way to rewrite the grammar or else create a centralized helper method which clearly converts back and forth.