I've had this one in my head for a while now, at least since seeing all of those _Scientific_American_Frontiers_ shows about robots when i was a kid. Basically, the problem is to design a robot that will be able to respond to commands adaptively, as a person would. For example, if i say to my robot, "Fetch me a shrubbery!", it should be able to look up what a shrubbery is and where to find one, surmount obstacles enroute, call me from the shrubbery store to ask what kind I want, and truck it home (and know not to dump the thing in my living room - this is important).
So, IMHO, an english-language programming language would function in much the same way, just scripted. I might say to my computer, "create a new task - call it 'maintain shrubberies'. Whenever we are short on shrubberies (it would automatically interface with iShrub for this

), go online and find the lowest price for a new shrubbery, and order it if I can afford it. Then hire someone to come plant it. End task." The computer would then pipe up and ask for you to fill in necessary specifics (i.e. what kind of shrubbery, what you mean by "if I can afford", etc.) Then you could say, "Maintain shrubberies continuously", and your box would run the task until you, or its good common sense (also important) told it to stop.
There would have to be some standard vocab though.
I disagree. The whole point of makeing the thing fluent in English is so that you can tell it what you want in any form, and (just like a person) it would be able to figure out the best way of doing it. Replace russ-iha's example with:
"Print 'Hello, world!' 20 times, one per line" No x's to deal with - leave that to the compiler.
Programming languages must be precise; the rigid form and syntax helps programmers by making bugs stand out as programmers by making bugs stand out as programmers by making bugs stand out as breaks in the standard rules.
Again - the compiler would be
intelligent - it would ask you questions until it understood exactly what you wanted to accomplish. Then, it would write the optimized code itself, bugless and concise. A person would not even need to see it, unless one was writing a compiler.
Who wants all that crap when something like:
for(int x = 0; x < 20; ++x) cout << "Hello World!" << endl;
Which is easier to parse, shorter to write, and more precise. All of which are good things.
Unlike yours, it specifies the increment, the kind of number, and inserts new lines between each "hello world", which is surely a good thing
Refer to above Hello world example. You would rarely, if ever, have to see your commands written. If you were curious, you could ask, "What does the 'maintain shrubbery' task do?", upon which your box would respond, "It checks that we have enough shrubberies, and orders new ones if we run short." You could ask it for more details if you desired.
"Easier to parse" is irrelevant, at least on the GodBox.
And man will never walk on the moon
seriously, given an exponential increase in computing power, why not? I mean, if people can speak and think inelligently (at least some of the time), why couldn't we one day build a box that simulates a human brain in its entirely? (YES, far fetched. NO, not impossible) That would certainly be able to speak and interpret language, and since it would have the advantages of precise machine memory and logic, it would have no problem writing perfect code from a set of human instructions.
Wow, longest post ever. *whew*
-Gabe