Compilation of generic regular path expressions using C++ class templates

0Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

Various techniques for the navigation and matching of data structures using path expressions have been the subject of extensive investigations. No matter whether such techniques are based on type information, indexing, automata, it is desirable to synthesize implementations automatically, starting from a high-level description of the path expressions to be traversed. In this paper we present a library of C++ templates for the representation of regular path expressions and their compilation into efficient backtracking algorithms. The resulting code can be used to implement visitors, pattern matchers, node collectors on regular paths over possibly heterogeneous, linked data structures. The point of the paper is on the path compilation technique, which was inspired by a continuation-passing, functional semantics of the path expressions. We rely on some peculiar aspects of C++ templates to create a compilation framework that closely follows the given semantics. © Springer-Verlag Berlin Heidelberg 2005.

Cite

CITATION STYLE

APA

Padovani, L. (2005). Compilation of generic regular path expressions using C++ class templates. In Lecture Notes in Computer Science (Vol. 3443, pp. 27–42). Springer Verlag. https://doi.org/10.1007/978-3-540-31985-6_3

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free