ridm@nrct.go.th   ระบบคลังข้อมูลงานวิจัยไทย   รายการโปรดที่คุณเลือกไว้

Applied logic : its use and implementation as a programming tool

หน่วยงาน Edinburgh Research Archive, United Kingdom

รายละเอียด

ชื่อเรื่อง : Applied logic : its use and implementation as a programming tool
นักวิจัย : Warren, David H. D.
คำค้น : Logic , programming , Prolog , implementation , compiler , data structures , matching , compiler specification
หน่วยงาน : Edinburgh Research Archive, United Kingdom
ผู้ร่วมงาน : Michie, Donald , SRC research studentship.
ปีพิมพ์ : 2521
อ้างอิง : http://hdl.handle.net/1842/6648
ที่มา : -
ความเชี่ยวชาญ : -
ความสัมพันธ์ : Warren D H D [1974] Warplan : a system for generating plans. DCL Memo 76, Dept. of AI, Edinburgh. Jun 1974. , Warren D H D [1976] Generating conditional plans and programs. Procs. AISB Conf., pp.344-354, Edinburgh. Jul. 1976. , Warren D H D, Pereira L M and Pereira F [1977] Prolog - the language and its implementation compared with Lisp. Procs. ACM SIGART-SIGPLAN Symp. on AI and Programming Languages. Aug 1977.
ขอบเขตของเนื้อหา : -
บทคัดย่อ/คำอธิบาย :

The first Part of the thesis explains from first principles the concept of "logic programming" and its practical application in the programming language Prolog. Prolog is a simple but powerful language which encourages rapid, error-free programming and clear, readable, concise programs. The basic computational mechanism is a pattern matching process ("unification") operating on general record structures ("terms" of logic). IThe ideas are illustrated by describing in detail one sizable Prolog program which implements a simple compiler. The advantages and practicability of using Prolog for "real" compiler implementation are discussed. The second Part of the thesis describes techniques for implementing Prolog efficiently. In particular it is shown how to compile the patterns involved in the matching process into instructions of a low-level language. This idea has actually been implemented in a compiler (written in Prolog) from Prolog to DECsystem-10 assembly language. However the principles involved are explained more abstractly in terms of a "Prolog Machine". The code generated is comparable in speed with that produced by existing DEC10 Lisp compilers. Comparison is possible since pure Lisp can be viewed as a (rather restricted) subset of Prolog. It is argued that structured data objects, such as lists and trees, can be manipulated by pattern matching using a "structure 'sharing" representation as efficiently as by conventional selector and constructor functions operating on linked records in "heap" storage. Moreover the pattern matching formulation actually helps the implementor to produce a better implementation.

บรรณานุกรม :
Warren, David H. D. . (2521). Applied logic : its use and implementation as a programming tool.
    กรุงเทพมหานคร : Edinburgh Research Archive, United Kingdom .
Warren, David H. D. . 2521. "Applied logic : its use and implementation as a programming tool".
    กรุงเทพมหานคร : Edinburgh Research Archive, United Kingdom .
Warren, David H. D. . "Applied logic : its use and implementation as a programming tool."
    กรุงเทพมหานคร : Edinburgh Research Archive, United Kingdom , 2521. Print.
Warren, David H. D. . Applied logic : its use and implementation as a programming tool. กรุงเทพมหานคร : Edinburgh Research Archive, United Kingdom ; 2521.