Flux: FunctionaL Updates for XML (extended report)

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Extended version of ICFP 2008 paper

Scientific paper

XML database query languages have been studied extensively, but XML database updates have received relatively little attention, and pose many challenges to language design. We are developing an XML update language called Flux, which stands for FunctionaL Updates for XML, drawing upon ideas from functional programming languages. In prior work, we have introduced a core language for Flux with a clear operational semantics and a sound, decidable static type system based on regular expression types. Our initial proposal had several limitations. First, it lacked support for recursive types or update procedures. Second, although a high-level source language can easily be translated to the core language, it is difficult to propagate meaningful type errors from the core language back to the source. Third, certain updates are well-formed yet contain path errors, or ``dead'' subexpressions which never do any useful work. It would be useful to detect path errors, since they often represent errors or optimization opportunities. In this paper, we address all three limitations. Specifically, we present an improved, sound type system that handles recursion. We also formalize a source update language and give a translation to the core language that preserves and reflects typability. We also develop a path-error analysis (a form of dead-code analysis) for updates.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Flux: FunctionaL Updates for XML (extended report) does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Flux: FunctionaL Updates for XML (extended report), we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Flux: FunctionaL Updates for XML (extended report) will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-268638

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.