A generic programming toolkit for PADS/ML: First-class upgrades for third-party developers

Mary Fernández, Kathleen Fisher, J. Nathan Foster, Michael Greenberg, Yitzhak Mandelbaum

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

Domain-specific languages facilitate solving problems in a targeted domain by providing features particular to the domain. Declarative domain-specific languages have the additional benefit that users specify what something means rather than how to do something. As a result, the language compiler is free to choose the best implementation strategies and to generate multiple artifacts from a single description. PADS/ML is a declarative data description language designed to facilitate ad hoc data management. From a single description, the compiler generates a myriad of artifacts, including data structures for the in-memory representation of the data and parsers and printers. In this paper, we describe a new generic programming infrastructure for PADS/ML that allows third-party developers to define additional useful artifacts without modifying the compiler. We report on two case studies that use this infrastructure. In the first, we build a version of PADX for PADS/ML, allowing any data source with a PADS/ML description to be queried as if it were XML. In the second, we extend Harmony with the ability to synchronize any data with a PADS/ML description.

Original languageEnglish
Title of host publicationPractical Aspects of Declarative Languages - 10th International Symposium, PADL 2008, Proceedings
Pages133-149
Number of pages17
StatePublished - 2007
Event10th International Symposium on Practical Aspects of Declarative Languages, PADL 2008 - San Francisco, CA, United States
Duration: 7 Jan 20088 Jan 2008

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4902 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference10th International Symposium on Practical Aspects of Declarative Languages, PADL 2008
Country/TerritoryUnited States
CitySan Francisco, CA
Period7/01/088/01/08

Fingerprint

Dive into the research topics of 'A generic programming toolkit for PADS/ML: First-class upgrades for third-party developers'. Together they form a unique fingerprint.

Cite this