Programming errors in traversal programs over structured data

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

Traversal strategies \'a la Stratego (also \'a la Strafunski and 'Scrap Your Boilerplate') provide an exceptionally versatile and uniform means of querying and transforming deeply nested and heterogeneously structured data including terms in functional programming and rewriting, objects in OO programming, and XML documents in XML programming. However, the resulting traversal programs are prone to programming errors. We are specifically concerned with errors that go beyond conservative type errors; examples we examine include divergent traversals, prematurely terminated traversals, and traversals with dead code. Based on an inventory of possible programming errors we explore options of static typing and static analysis so that some categories of errors can be avoided. This exploration generates suggestions for improvements to strategy libraries as well as their underlying programming languages. Haskell is used for illustrations and specifications with sufficient explanations to make the presentation comprehensible to the non-specialist. The overall ideas are language-agnostic and they are summarized accordingly.

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

Programming errors in traversal programs over structured data 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 Programming errors in traversal programs over structured data, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Programming errors in traversal programs over structured data will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-379290

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