Hugo Liu: Metafor: visualizing stories as code
https://gyazo.com/9717b46fa3c784fb6ccbb32260804ff9
タイトル
Metafor: visualizing stories as code
著者
ソース
Proceedings of the 10th international conference on Intelligent user interfaces (IUI2005)
ページ
305–307
年
2005
月
Volume
Number
概要
Every program tells a story. Programming, then, is the art of constructing a story about the objects in the program and what they do in various situations. So-called programming languages, while easy for the computer to accurately convert into code, are, unfortunately, difficult for people to write and understand.We explore the idea of using descriptions in a natural language as a representation for programs. While we cannot yet convert arbitrary English to fully specified code, we can use a reasonably expressive subset of English as a visualization tool. Simple descriptions of program objects and their behavior generate scaffolding (underspecified) code fragments, that can be used as feedback for the designer. Roughly speaking, noun phrases can be interpreted as program objects; verbs can be functions, adjectives can be properties. A surprising amount of what we call programmatic semantics can be inferred from linguistic structure. We present a program editor, Metafor, that dynamically converts a user's stories into program code, and in a user study, participants found it useful as a brainstorming tool.
コメント
自然言語でテキストを書くとPythonプログラムの雛形ができる
URL
ISBN
1581138946
DOI
10.1145/1040830.1040908
キーワード
case tools, storytelling, natural language programming