A Stack-Based Approach to Query Languages

نویسندگان

  • Kazimierz Subieta
  • Catriel Beeri
  • Florian Matthes
  • Joachim W. Schmidt
چکیده

Scoping, naming and binding are central concepts in the deenition and understanding of programming languages. With the introduction of sophisticated data models, these issues become important for query languages as well. Additionally, the goal of integrating query and programming languages requires a common basis for their operational semantics. We ooer here an approach to the deenition of the operational semantics of query languages based on an abstract machine, in which names, their bindings, and scopes deened by query and data structure are central. The machine has own simple data model for its store, and has a stack for dealing with scopes. We argue for the generality of the approach and illustrate it by deening the semantics of many query language primitives. Finally, we brieey consider how assignment and procedures can be neatly added.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

PySBQL - Python-like query language constructed using stack base approach

PySBQL (Python-like Stack Based Query Language) is a full scale programming and query language. Its syntax is based upon the Python’s syntax, which makes PySBQL highly readable and easy to use. Contrary to the classical approach in query languages, semantics is defined using a common structure for programming languages – the Environment Stack (ENVS). As a query language it is similar to SBQL pr...

متن کامل

انتخاب مناسب‌ترین زبان پرس‌وجو برای استفاده از فرا‌‌پیوندها جهت استخراج داده‌ها در حالت دیتالوگ در سامانه پایگاه داده استنتاجی DES

Deductive Database systems are designed based on a logical data model. Data (as opposed to Relational Databases Management System (RDBMS) in which data stored in tables) are saved as facts in a Deductive Database system. Datalog Educational System (DES) is a Deductive Database system that Datalog mode is the default mode in this system. It can extract data to use outer joins with three query la...

متن کامل

Procedures in Object-Oriented Query Languages

We follow the stack-baaed approach to query languages which is a new formal and intellectual paradigm for integrating querying and programming for object-oriented databases. Queries are considered generalized programing expressions which may be used within macroscopic imperative statements, such as creating, updating, inserting, and deleting data objects. Queries may be also used as procedures’...

متن کامل

Processing Semi-Structured Data in Object Bases

We address the problem of null values and other forms of semi-structured data in object-oriented databases. Various aspects and issues concerning semi-structured data that are currently presented in the literature are discussed in the paper. We propose a new universal approach to semi-structured data based on the idea of absent objects. The idea covers null values and union types and can be smo...

متن کامل

Updateable Views for an XML Query Language

We present an approach to updateable XML views, which is based on the Stack-Based Approach to query languages. Its novelty consists in introducing procedures overloading generic updating operations on virtual objects into a view definition. This overloading is implicit and users update virtual objects like stored objects. Due to procedures we support full algorithmic power of view definitions, ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994