Publications:A Library for Processing Ad hoc Data in Haskell : Embedding a Data Description Language
From CERES
Title | A Library for Processing Ad hoc Data in Haskell : Embedding a Data Description Language |
---|---|
Author | Yan Wang and Veronica Gaspes |
Year | 2011 |
PublicationType | Conference Paper |
Journal | |
HostPublication | Implementation and application of functional languages |
DOI | |
Conference | 20th International Symposium, Implementation and Application of Functional Languages, IFL 2008 |
Diva url | http://hh.diva-portal.org/smash/record.jsf?searchId=1&pid=diva2:235614 |
Abstract | Ad hoc data formats, i.e. semistructured non-standard dataformats, are pervasive in many domains that need software tools—bioinformatics,demographic surveys, geophysics and network software are justa few. Building tools becomes easier if parsing and other standard inputoutputprocessing can be automated. Modern approaches for dealingwith ad hoc data formats consist of domain specific languages based ontype systems. Compilers for these languages generate data structures andparsing functions in a target programming language in which tools andapplications are then written. We present a monadic library in Haskellthat implements a data description language. Using our library, Haskellprogrammers have access to data description primitives that can be usedfor parsing and that can be integrated with other libraries and applicationprograms without the need of yet another compiler. |