small steps towards peg.js