CDuce: an XML-centric general-purpose language

  • Authors:
  • Véronique Benzaken;Giuseppe Castagna;Alain Frisch

  • Affiliations:
  • Université Paris-Sud, Orsay, France;CNRS, Département d'Informatique, Paris, France;CNRS, Département d'Informatique, Paris, France

  • Venue:
  • ICFP '03 Proceedings of the eighth ACM SIGPLAN international conference on Functional programming
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present the functional language CDuce, discuss some design issues, and show its adequacy for working with XML documents. Distinctive features of CDuce are a powerful pattern matching, first class functions, overloaded functions, a very rich type system (arrows, sequences, pairs, records, intersections, unions, differences), precise type inference for patterns and error localization, and a natural interpretation of types as sets of values. We also outline some important implementation issues; in particular, a dispatch algorithm that demonstrates how static type information can be used to obtain very efficient compilation schemas..