首页 | 本学科首页   官方微博 | 高级检索  
     


Spreadsheets with Incremental Queries as a user interface for logic programming
Authors:M. H. van Emden  Masaru Ohki  Akikazu Takeuchi
Affiliation:1. Department of Computer Science, University of Waterloo, Waterloo, Ontario, Canada
2. Institute for New Generation Computer Technology, ICOT Research Center, Mita, Minato-ku, 108, Tokyo, Japan
Abstract:We believe that currently marketed programs leave unexploited much of the potential of the spreadsheet interface. The purpose of our work is to obtain suggestions for wider application of this interface by showing how to obtain its main features as a subset of logic programming. Our work is based on two observations. The first is that spreadsheets would already be a useful enhancement to interactive languages such as APL and Basic. Although Prolog is also an interactive language, this interface cannot be used in the same direct way. Hence our second observation: the usual query mechanism of Prolog does not provide the kind of interaction this application requires. But it can be provided by the Incremental Query, a new query mechanism for Prolog. The two observations together yield the spreadsheet as a display of the state of the substitution of an incremental query in Prolog. Recalculation of dependent cells is achieved by automatic modification of the query in response to a new increment that would make it unsolvable without the modification.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号