So I went to work on foreach. The thread about for loops in the last posting was actually pretty insightful. In general people seem not to care for the C style loop so much. And while it might be interesting to leave such a construct to the library, I think it's something that's used enough that it should be dealt with.
"Make the easy things easy."
So, foreach will exist at least as a statement; mostly the same as C#:
It's slightly unlike C# in that it is built after generics. The IEnumerable expression must be of a compatible type to the variable; I'm not auto-casting from Object.
The parser and code generation worked pretty well with minor bughunting. Unfortunately, I ran into IEnumerable importing problems (since fixed) and bug #14 (the runtime doesn't generate local variables within sub-blocks). So it looks like I'll need to get to that bug a little before I anticipated.
That'll be a bit of work, but should then allow this to work as expected. Then on to yield completion and a few example programs. By then I'll probably need to do some backfill on phrases and generics where I missed some stuff.