remove krun dependence on parser code

@radumereuta @bmmoore please review
This is the only thing I wanted/needed from this fix, so as long as tests still pass I'm fine with this pull request.