arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0711.0348cs.PLcs.SE
收藏

将ER规范编译为声明式程序

Compiling ER Specifications into Declarative Programs

Bernd Braßel, Michael Hanus, Marion Muller

摘要:

本文提出了一个环境,以支持高级数据库编程的声明式程序设计语言。为了确保安全的数据库更新,所有与数据库相关的访问和更新操作都是从实体关系(ER)模型中的高级描述中生成的。我们提出了一个表示ER图的声明性语言咖喱,使他们可以通过各种工具构建,然后翻译成这种表示。此外,我们已经实现了一个编译器,从这个表示到一个咖喱程序,提供访问和更新操作的基础上,一个高层次的API数据库编程。

英文摘要:

This paper proposes an environment to support high-level database programming in a declarative programming language. In order to ensure safe database updates, all access and update operations related to the database are generated from high-level descriptions in the entity- relationship (ER) model. We propose a representation of ER diagrams in the declarative language Curry so that they can be constructed by various tools and then translated into this representation. Furthermore, we have implemented a compiler from this representation into a Curry program that provides access and update operations based on a high-level API for database programming.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑