Is there such thing as a "human talk"-to-"code" programming language?

0 votes
asked May 15, 2012 by RafalChmiel (491 points)
I was thinking if there is a programming language (or rather a **compiler**!) that "understands" human talk. So basically something like Siri, but you only write text, debug it and it works. I know it would be incredibly hard (interpreting human talk, catching errors, debugging, etc. - I know, I know, it's just a question) to do but is there something like that and/or is this possible? Example:

    Declare a integer variable called "int" and set its value to "64".

Which in code (VB here) would be:

    Dim int As Integer = 64

Thanks! Can't wait to hear from you!
commented May 16, 2012 by RafalChmiel (491 points)
**In fact, screw this. It was a bad idea. I have another one at . I'll choose the longest answer as the answer to this question.**

4 Answers

0 votes
answered May 15, 2012 by Cornelia Cornflake (880 points)
No, no .... and frankly what would be the point? If you're going to go to all the trouble of interpreting human commands why waste it on writing/compiling programs? When Jean Luc wants 'tea, Earl Grey, hot' he's not going to stand there for half an hour writing a program to do it!
0 votes
answered May 15, 2012 by Compucore (2,451 points)
Well I know the current voice to text or in your case voice to source code. Would still be in the same situation for the software to still be able to understand your voice correctly. I have tried one a long time ago where it transcribes it to word. But there is no easy way to do that. Even with current technology for it. It still has trouble understanding human voice since we all speak a little differently than each other. Some have a very thick accent while others may not have any accent at all. Even for a standard voice to text still has a long way to go before you will get to see that in out lifetime. I had seen one time when I was working for an employer a long time ago when y2k was around and tried one from IBM. There was not way that it was able to work with since it need to be trained for each person's voice. And even to get it right it would need to get at least 90-95% accuracy in order to do it.
0 votes
answered May 16, 2012 by trueb (80,880 points)
What you propose is left up to interpretation, and a computer cannot have that.
+1 vote
answered May 16, 2012 by Jackster1337 (8,481 points)
If you know what "Declare a integer variable called "int" and set its value to "64"." means then you can code it....
commented May 16, 2012 by RafalChmiel (491 points)
True. I scrapped that idea. It was rubbish. I had a new one though (
Welcome to Q&A, where you can ask questions and receive answers from other members of the community.