Scratch IDE

My 10 year old daughter has been learning to program using Scratch, a graphical programming environment developed for kids in the MIT Media Lab.
It's a great sandbox to learn programming in because it represents all the core concepts of programming, but you don't have to compile code or deal with syntax issues.
Learning a new programming language is always frustrating because of the necessary syntax. You know how to program, but do you put a colon here? a semicolon there? etc...
What if you have a similar tool, but instead of creating a scratch program, you selected the programming language to output, and it spit out your code formatted correctly in whatever language you wanted (java, c, php, javascript, actionscript, c#, perl, etc) Then all you would need to know is how to program.
It's a great sandbox to learn programming in because it represents all the core concepts of programming, but you don't have to compile code or deal with syntax issues.
Learning a new programming language is always frustrating because of the necessary syntax. You know how to program, but do you put a colon here? a semicolon there? etc...
What if you have a similar tool, but instead of creating a scratch program, you selected the programming language to output, and it spit out your code formatted correctly in whatever language you wanted (java, c, php, javascript, actionscript, c#, perl, etc) Then all you would need to know is how to program.