Kast in k

I created this diff for use in managing the discussion on the KORE syntax. We may choose to close it rather than merge it, I just need a place to put comments.
We can take care of the details later. Let's make a minimal functioning prototype first.