Abstract
A standard approach to describe pictures is the use of formal grammars. This, and the strong link between definite clause grammars and logic programming, motivates the design of the declarative picture specification language presented here. The language is relational and rule based. A specification is akin to a definite clause grammar and may be executed bottom-up for picture recognition or top-down for generation. Picture execution provides features of constraint based graphic programming. A picture specification may be viewed as a data structure allowing programs to reason about a picture's structure and to manipulate it for dynamic and interactive applications.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
A. Borning, The Programming Language Aspects of ThingLab, a Constraint-Oriented Simulation Laboratory, ACM Trans. Prog. Lang. and Systems Vol. 3, (4), Oct. 1981, 343–387.
M.H. Brown & R. Sedgwick, A System for Algorithm Animation, Computer Graphics SIGGRAPH 84 ACM, Vol. 18, (3) July 1984, 177–186.
T.Y. Chen, J. Lassez & G.S. Port, Maximal Unifiable Subsets and Minimal Non-Unifiable Subsets, Tech. Rep. 84/16, Dept. of Computer Science, University of Melbourne, 1984.
A. Colmerauer, Metapmorphosis Grammars, Natural Language Communication with Computer, (L. Bolc,Ed), Springer Verlag, 1978, 133–189.
A. Doman, Graphic Procedures for Prolog. SzKI, Hungary, June 1984.
P. Eggert & K. Chow, Logic Programming Graphics and Infinite Terms. TR-83-02, Dept. of Computer Science, UCSB, June 1983.
J.D. Foley & A.V. Dam, Fundamentals of Interactive Computer Graphics, The Systems Programming Series, Addison-Wesley, 1982.
K.S. Fu, Syntactic Pattern Recognition and Applications, Prentice-Hall, 1982.
R.P. Futrelle & G. Barta, Towards the Design of an Intrinsically Graphical Language, Computer Graphics SIGGRAPH 78, Vol. 12 (3), Aug. 1978, 28–32.
J. Gips, Shape Grammars and their Uses, Birkhauser-Verlag, Basel 1975
J.C. Gonzalez, M.H. Williams & I.E. Aitchison, Evaluation of the Effectiveness of Prolog for a CAD Application, Computer Graphics and Applications, IEEE, Mar. 1984, 67–75.
A.R. Helm & K. Marriott, Declarative Graphics, Melbourne University, Forthcoming.
S.M.P. Julien, Graphics in Micro-PROLOG, DOC 82/17, Imperial College, London, Sept. 1982.
B.W. Kernighan, PIC — A Language for Typesetting Graphics, Software Practice & Experience, Vol. 12 (1), Jan. 1982, 1–21.
R.A. Kowalski, Logic as a Computer Language for Children, ECAI-82, 1982.
R.A. Kowalski, Logic Programming, IFIP, 1983, 133–145.
J.W. Lloyd, Foundations of Logic Programming, Springer-Verlag, 1984.
W.R. Mallgren & A.C. Shaw, Graphical Transformations and Hierarchic Picture Structures, Computer Graphics and Image Processing, Academic Press, Vol. 8, 1978, 237–258.
W.R. Mallgren, Formal Specification of Graphic Data Types, Transactions on Programming Languages, ACM, Vol. 4, (4), 1982, 687–710.
L. Naish, Negation and Control in Prolog, Ph.D. thesis, Dept. Computer Science, Melbourne University, 1985
W.M. Newman, R.F. Sproull, Principles of Interactive Computer Graphics, McGraw Hill Ltd. 1979
F. Pereira, Can Drawing be Liberated from the Von Neumann Style? Tech. Note 282, AI Center, SRI International. June 1983
F.C.N. Pereira, D.H.D. Warren, Definite Clause Grammars for Language Analysis — A Survey of the Formalism and a Comparison with Augmented Transition Networks, Artificial Intelligence North Holland Vol. 13 1980 231–278
R. Pike, Graphics in Overlapping Bitmap Layers, Transactions on Graphics ACM New York Vol. 2 (2) 1983 135–160
T. Porter, T. Duff, Compositing Digital Images, Computer Graphics SIGGRAPH 84 ACM Vol. 18 (3) July 1984 253–259
G. Stiny, Pictorial and Formal Aspects of Shape and Shape Grammars, Birkhauser-Verlag, Basel 1975
I.E. Sutherland, Computer Graphics: 10 Unsolved Problems, Datamation 22–27 May 1966
J.Y.L. Texier, A. Doman, B.S. Marksjo, R. Sharpe, Use of Prolog with Graphics including CAD, Ausgraph 85 Brisbane August 1985 81–85
D.H.D. Warren, F. Pereira. An Efficient, Easily Adaptable System for Interpreting Natural Language Queries, Am. J. Computational Linguistics. 8(3–4),110–119. 1982
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1986 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Helm, R., Marriott, K. (1986). Declarative graphics. In: Shapiro, E. (eds) Third International Conference on Logic Programming. ICLP 1986. Lecture Notes in Computer Science, vol 225. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-16492-8_99
Download citation
DOI: https://doi.org/10.1007/3-540-16492-8_99
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-16492-0
Online ISBN: 978-3-540-39831-8
eBook Packages: Springer Book Archive