KUP:以知识为基础的PROLOG理解
KUP:Knowledge-Based PROLOG Understanding
-
摘要: 本文描述了 KUP 程序,KUP 能分新和理解由初学者所编的 PROLOG 程序。用户将自己的需要以主题词形式输入给 KUP,KUP 通过对知识库进行一系列操作,编出满足用户要求的多种形式的等价程序。用户还可输入自己所编的程序给 KUP,KUP 通过分析和理解用户程序对其正确性给予一定的判定,并对 buggy 程序给出一些信息。Abstract: Abstract:This paper describes a program called KUP which analyzes and unders- tands PROLOG written by novice programmers.KUP takes as input a subject of the user's requirements,and gives many forms of equal-value programs with a series of operation on knowledge base.On the other hand,KUP also takes the user's program.as input.By analysing and understanding the program,KUP can decide the program corre- ctness in certain range and gives information for buggy program.
下载: