Merge pull request #1 from procr/master

IR
add while for and foreach
Merge pull request #2 from procr/master

cr...
Merge pull request #1 from frankfzw/master

cr