Program Synthesis Demo
research.microsoft.com
research.microsoft.com
Le and Gulwani's paper does cite Little, but the refutation is a bit weak.
> Little and Miller propose a code completion tool that synthesizes the most likely Java expression in a code context from a set of keywords [23]. Smart-Synth is different, in that it synthesizes a complete script and does not require extra contextual information.
From the video, a "complete script" appears to be 1 or 2 simple expressions. And not requiring contextual information sounds like it can't take advantage of contextual information.
Interesting technology, but I doubt it will ever replace or even be used in a proper piece of code.
"Get all current running processes, select the ones that use over 5% CPU, and display them to me sorted descending by CPU usage"
More verbose than the normal, but damn it would make things easier for the non-initiated.
Why wouldn't it be used in a "proper piece of code"? You ask Visual Studio/XCode/Eclipse for something and it gives you back a snippet that you can use as a starting point.
pics := media -> pictures
pic := pics -> random
pic -> tint (colors -> sepia)
c := colors -> blue
All the components are there but not in the right order -- it still tints with the default color.For instance, static touch controls grid are pretty efficient, see:
http://www.malacria.fr/pdf/gutwin14-fasttap.pdf http://www.malacria.fr/video/fasttap-video.mp4