rewrite token parsing – fixes one-more-minute/Jewel#15