Paper record

W2339920159

Comprehension syntax

Peter Buneman, Leonid O. Libkin, Dan Mircea Suciu, Val Tannen, Limsoon Wong

Year
1994
Venue
ACM SIGMOD Record
References
41
Cited by
238

Details and counts from OpenAlex.

Abstract

The syntax of comprehensions is very close to the syntax of a number of practical database query languages and is, we believe, a better starting point than first-order logic for the development of database languages. We give an informal account of a language based on comprehension syntax that deals uniformly with a variety of collection types; it also includes pattern matching, variant types and function definition. We show, again informally, how comprehension syntax is a natural fragment of structural recursion, a much more powerful programming paradigm for collection types. We also show that a very small "abstract syntax language" can serve as a basis for the implementation and optimization of comprehension syntax.