TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is anyone working on teaching machines to write code?

8 点作者 normalocity大约 11 年前
I&#x27;m not talking about metaprogramming, exactly. I&#x27;m talking about actually building some kind of framework by with you can:<p>a) specify attributes of, say, a method or library, and have a machine produce code that meets those specifications<p>b) the machine can ask clarifying questions, such as, &quot;do you need this function to handle UTF-8 input?&quot; and other things that, also need to be taught to the machine<p>c) eventually, a refactoring pass that causes the machine to refine its programmatic output for human consumption, without changing the functional output<p>Does anyone know of a library or research that&#x27;s being done to have software that you can teach to write software?<p>Honestly, I&#x27;d be happy even if someone had a teachable module that had to be taught inch by inch. I&#x27;m looking, in a sense, for something to which I can offload my knowledge, to teach it basics, and then have it do tasks for me and others in return.

1 comment

hershel大约 11 年前
a. There&#x27;s this work is robotics[1]: You specify at a very high level the required robot behavior.The system analyzes it and if it find contradictions or things that are not fully specified it points you to them. After solving the issues it verifies the program behaves according to your spec.<p>b. see &quot;Making programming more conversational &quot; [2]<p>c. see &quot;Integrating Programming by Example and Natural Language Programming&quot; [3]<p>[1]<a href="https://www.youtube.com/watch?v=G_uVE86dJYI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=G_uVE86dJYI</a><p>[2<a href="http://www.cs.colorado.edu/~ralex/papers/PDF/Conversational-Programming%20VL-hcc2011.pdf" rel="nofollow">http:&#x2F;&#x2F;www.cs.colorado.edu&#x2F;~ralex&#x2F;papers&#x2F;PDF&#x2F;Conversational-...</a><p>[3]<a href="http://www.aaai.org/ocs/index.php/AAAI/AAAI13/paper/view/6477" rel="nofollow">http:&#x2F;&#x2F;www.aaai.org&#x2F;ocs&#x2F;index.php&#x2F;AAAI&#x2F;AAAI13&#x2F;paper&#x2F;view&#x2F;647...</a>
评论 #7458967 未加载