A special-purpose language for picture-drawing

  • Authors:
  • Samuel N. Kamin;David Hyatt

  • Affiliations:
  • Computer Science Department, University of Illinois at Urbana-Champaign, Urbana, Illinois;Netscape Communications Corp., Mountain View, CA and Computer Science Department, University of Illinois at Urbana-Champaign, Urbana, Illinois

  • Venue:
  • DSL'97 Proceedings of the Conference on Domain-Specific Languages on Conference on Domain-Specific Languages (DSL), 1997
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

Special purpose languages are typically characterized by a type of primitive data and domain-specific operations on this data. One approach to special purpose language design is to embed the data and operations of the language within an existing functional language. The data can be defined using the type constructions provided by the functional language, and the special purpose language then inherits all of the features of the more general language. In this paper we outline a domain-specific language, FPIC, for the representation of two-dimensional pictures. The primitive data and operations are defined in ML. We outline the operations provided by the language, illustrate the power of the language with examples, and discuss the design process.