NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Extension of TypeBased Approach to Generation of Stream-Processing Programs by Automatic Insertion of Buffering Primitives

Kohei Suenaga, Naoki Kobayashi, Akiyoshi Yonezawa

Abstract

Abstract. In our previous paper, we have proposed a framework for automatically translating tree-processing programs into stream-processing programs. However, in writing programs that require buffering of input data, a user has to explicitly use buffering primitives which copy data from input stream to memory or copy constructed trees from memory to an output stream. Such explicit insertion of buffering primitives is often cumbersome and worsens the readability of the program. We overcome the above-mentioned problems by developing an algorithm which, given any simply-typed tree-processing program, automatically inserts buffering primitives. The resulting program is guaranteed to be well-typed under our previous ordered-linear type system, so that the program can be further transformed into an equivalent stream-processing program using our previous framework. 1
BibTeX
@inproceedings{suenaga2005extension,
  author = {Kohei Suenaga and Naoki Kobayashi and Akiyoshi Yonezawa},
  title = {{Extension of TypeBased Approach to Generation of Stream-Processing Programs by Automatic Insertion of Buffering Primitives}},
  booktitle = {LOPSTR},
  year = {2005},
  doi = {10.1007/11680093\_7},
}

Loading related content...

Figure