• Documents
  • Authors
  • Tables
  • Other Seers ▼
    RefSeer AckSeer CollabSeer SeerSeer
  • Log in
  • Sign up
  • MetaCart

CiteSeerX logo

Advanced Search Include Citations
Advanced Search Include Citations | Disambiguate

Translation of tree-processing programs into stream-processing programs based on ordered linear type

Cached

  • Download as a PDF

Download Links

  • [pakirapon.sakura.ne.jp]
  • [www.kb.ecei.tohoku.ac.jp]
  • [web.yl.is.s.u-tokyo.ac.jp]
  • [www.yl.is.s.u-tokyo.ac.jp]
  • [pakirapon.sakura.ne.jp]
  • [www.kb.ecei.tohoku.ac.jp]
  • [www.yl.is.s.u-tokyo.ac.jp]
  • [web.yl.is.s.u-tokyo.ac.jp]

  • Save to List
  • Add to Collection
  • Correct Errors
  • Monitor Changes
by Koichi Kodama , Kohei Suenaga , Naoki Kobayashi
Citations:7 - 2 self
  • Summary
  • Active Bibliography
  • Co-citation
  • Clustered Documents
  • Version History

BibTeX

@MISC{Kodama_translationof,
    author = {Koichi Kodama and Kohei Suenaga and Naoki Kobayashi},
    title = {Translation of tree-processing programs into stream-processing programs based on ordered linear type },
    year = {}
}

Bookmark

citeulike Connotea Bibsonomy Del.icio.us Digg Reddit

OpenURL

 

Abstract

There are two ways to write a program for manipulating tree-structured data such as XML documents and S-expressions: One is to write a tree-processing program focusing on the logical structure of the data and the other is to write a stream-processing program focusing on the physical structure. While tree-processing programs are easier to write than stream-processing programs, tree-processing programs are less efficient in memory usage since they use trees as intermediate data. Our aim is to establish a method for automatically translating a tree-processing program to a stream-processing one in order to take the best of both worlds. We define a programming language for processing binary trees and a type system based on ordered linear type, and show that every well-typed program can be translated to an equivalent stream-processing program.

Citations

375 Deforestation: Transforming programs to eliminate trees - Wadler - 1990
275 Functional Programming with Bananas, Lenses, Envelopes and Barbed - Meijer, Fokkinga, et al. - 1991
139 CDuce: an XML-centric general-purpose language - Benzaken, Castagna, et al. - 2003
125 Stream Processing of XPath Queries with Predicates - Gupta, Suciu - 2003
122 XDuce: A typed XML processing language - Hosoya, Pierce - 2003
107 Processing xml streams with deterministic automata and stream indexes - Green, Gupta, et al.
105 Extensible markup language (XML) 1.0 (second edition - Bray, Paoli, et al. - 2000
83 Resource usage analysis - Igarashi, Kobayashi
77 Once upon a type - Turner, Wadler, et al. - 1995
49 Attribute coupled grammars - Ganzinger, Giegerich - 1984
33 Ordered Linear Logic and Applications - Polakow - 2001
28 XQuery 1.0: An XML Query Language. World Wide Web Consortium - Boag, Chamberlin, et al. - 2007
25 A type theory for memory allocation and data layout - Petersen, Harper, et al. - 2003
21 Attribute grammars for scalable query processing on XML streams - Koch, Scherzinger
12 R.: Functional Programming with Bananas - Meijer, Fokkinga, et al. - 1991
9 Deriving event-based document transformers from tree-based specifications - Nakano, Nishimura - 2001
6 Composing Stack-Attributed Tree Transducers - Nakano - 2004
6 Extension of TypeBased Approach to Generation of Stream-Processing Programs by Automatic Insertion of Buffering Primitives - Suenaga, Kobayashi, et al. - 2005
5 XML path language (XPath) 2.0. World Wide Web Consortium - Berglund, Boag, et al. - 2003
5 Attribute grammars for unranked trees as a query language for structured documents. Journal of computer and system sciences - Neven - 2005
3 Buffering in query evaluation over XML streams. Pages 216–227 of - Bar-Yossef, Fontoura, et al. - 2005
3 XML query (XQuery) requirements. World Wide Web Consortium. http:/ /www.w3.org/TR/xquery-requirements - Chamberlin, Frankhauser, et al. - 2003
3 A Transducer-Based XML Query - Ludäscher, Mukhopadhyay, et al. - 2002
2 Lively Linear Lisp - Baker - 1992
2 Resource Usage Analysis. Pages 331–342 of - Igarashi, Kobayashi - 2002
2 Once Upon A Type. Pages 1–11 of - Turner, Wadler, et al. - 1995
2 XPath: Looking Forward. Pages 109–127 of - Olteanu, Meuss, et al. - 2002
2 Automatic insertion of buffering primitives for generating XML stream processor (in Japanese - Sato - 2007
2 XPath Requirements Version 2.0. World Wide Web Consortium - Scardina, Fernandez - 2003
2 The XML benchmark project. Tech. rept. Centrum voor Wiskunde en Informatica - Schmidt, Waas, et al. - 2001
1 Lively linear lisp – look ma, no garbage - Co - 1992
1 Compilers. Addison-Wesley Pub Co. of Tree-processing Programs into Stream-processing Programs 31 - Aho, Sethi, et al. - 1986
1 Deriving Event-Based Document Trans- Koichi Kodama, Kohei Suenaga and Naoki Kobayashi formers from Tree-Based Specifications - Nakano, Nishimura - 2001
The National Science Foundation
  • About CiteSeerX
  • Submit Documents
  • Privacy Policy
  • Help
  • Data
  • Source
  • Contact Us

Developed at and hosted by The College of Information Sciences and Technology

© 2007-2010 The Pennsylvania State University