Parser generator tool