rewrite WhileStatement in spider
spider is now self-hosted.