Abstract
It is evident that every computer language needs a graphics extension for the same reason as it needs input and output functions. Graphics may be seen as a powerful extension of the input and output facilities. This is even more evident for interactive languages like PROLOG. PROLOG is a computer language widely accepted for the purpose of symbolic computation. It is gaining popularity because of its simplicity and the new descriptive way of programming. A PROLOG program is a description of a problem in the form of some assertions and rules about how the solution may be inferred from the facts. It also provides some powerful data processing mechanisms, mainly relational data base facilities, tree searching with backtracking, and pattern matching. All these advantages make PROLOG suitable for many applications such as relational data bases, architectural design, natural language understanding and other AI fields. Most of the applications mentioned above also need computer graphics. Thus, integration of graphics into PROLOG can be seen as a step towards providing a more intelligent environment for these applications. The design of the graphics extension described in this paper is based on the principles and concepts of the Graphical Kernel System (GKS) [8], GKS provides all capabilities required by most of the PROLOG applications that produce computer generated pictures. It provides a suitable methodological framework for the creation of computer graphics programs because of its consistency, completeness, and compactness.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
W.F. Clocksin and C.S. Mellish, Programming in PROLOG, Springer-Verlag, Berlin (1981).
R.E. Davis, “Logic Programming and Prolog: A Tutorial,” IEEE Software 2(5), pp.53–62 (September 1985).
J. Encarnacao, “Incorporating knowledge engineering and computer graphics for efficient and user-friendly interactive graphics applications,” in Eurographics’85, ed. C. E. Vandoni, North-Holland, Amsterdam (1985).
J. Encarnacao, L.A. Messina, and Z.I. Markov, “Models and methods for decision support systems for evaluating and choosing CAD-Systems,” in IFIP W.G. 5.2. Working Conference on Design Theory for CAD, Tokyo, Japan (1985).
G. Enderle, K. Kansy, and G. Pfaff, Computer Graphics Programming: GKS, the Graphics Standard, Springer-Verlag, Heidelberg (1983).
Interface Computer GmbH, IF/PROLOG User’s Manual, 1984.
GTSGRAL, GKSGRAL User’s Manual, 1984.
ISO, “Information processing systems — Computer graphics — Graphical Kernel System (GKS) functional description,” ISO 7942, ISO Central Secretariat (August 1985).
S.M.P. Julien, “Graphical in Micro-PROLOG,” Research report DOC 8217, Imperial College-London (1982).
R. Kowalski, “Algorithm = Logic + Control,” Communications of the ACM 22(7), pp.424–436 (July 1979).
P. Sykes and R. Krishnamurti, “A Proposal for a Prolog Binding to GKS,” Technical Report EdCAAD, University of Edinburgh (1985).
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1987 EUROGRAPHICS The European Association for Computer Graphics
About this paper
Cite this paper
Huebner, W., Markov, Z.I. (1987). GKS Based Graphics Programming in PROLOG. In: Bono, P.R., Herman, I. (eds) GKS Theory and Practice. EurographicSeminars. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-72930-0_18
Download citation
DOI: https://doi.org/10.1007/978-3-642-72930-0_18
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-72932-4
Online ISBN: 978-3-642-72930-0
eBook Packages: Springer Book Archive