Paper record
W2075994573CDuce: an XML-centric general-purpose language
Véronique Benzaken, Giuseppe Castagna, Alain Frisch
- Year
- 2003
- Venue
- ACM SIGPLAN International Conference on Functional Programming (ICFP)
- References
- 13
- Cited by
- 299
Details and counts from OpenAlex.
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..