The Design of the Zinc Modelling Language

  • Authors:
  • Kim Marriott;Nicholas Nethercote;Reza Rafeh;Peter J. Stuckey;Maria Garcia De La Banda;Mark Wallace

  • Affiliations:
  • Clayton School of IT, Monash University, Victoria, Australia 3800;National ICT Australia, Melbourne, Australia 3010;Clayton School of IT, Monash University, Victoria, Australia 3800;National ICT Australia, Melbourne, Australia 3010;Clayton School of IT, Monash University, Victoria, Australia 3800;Clayton School of IT, Monash University, Victoria, Australia 3800

  • Venue:
  • Constraints
  • Year:
  • 2008

Quantified Score

Hi-index 0.01

Visualization

Abstract

Zinc is a new modelling language developed as part of the G12 project. It has four important characteristics. First, Zinc allows specification of models using a natural mathematical-like notation. To do so it supports overloaded functions and predicates and automatic coercion and provides arithmetic, finite domain and set constraints. Second, while Zinc is a relatively simple and small language, it can be readily extended to different application areas by means of powerful language constructs such as user-defined predicates and functions and constrained types. Third, Zinc provides sophisticated type and instantiation checking which allows early detection of errors in models. Finally, perhaps the main novelty in Zinc is that it is designed to support a modelling methodology in which the same conceptual model can be automatically mapped into different design models, thus allowing modellers to easily "plug and play" with different solving techniques and so choose the most appropriate for that problem. We describe in detail the various language features of Zinc and the many trade-offs we faced in its design.