A friend of mine without programming knowledge asked me this question and I found it interesting.   I think it is not possible because it would require a really advanced artificial intelligence capable of analyzing the text of a problem, think about a solution and program it. Just thinking about a machine being able to program a simple calculator seems pretty advanced to me.But maybe I'm wrong and I would like to know what do you think about it and if you are aware of any articles/researches on the subject, or if it already exists or if the possibility exists of selecting a specification, and getting the machine to self-program to this spec?
Is it imaginable to teach a machine how to program itself to a defined specification?
artificial intelligence;machine learning