Affiliation:
1. Univ. of Wisconsin-Madison, Madison
2. Cornell Univ., Ithaca, NY
Abstract
The ability to generate language-based editors depends on the existence of a powerful, language-independent model of editing. A model is proposed in which programs are represented as attributed abstract-syntax trees with an associated relational database. Relations can depend on the state of the attributed tree, and attributes can depend on the values in relations, provided there are no circular dependencies.
The power and the limitations of relational operations are demonstrated with respect to the support of static-semantic checking, anomaly detection, an interrogation facility, and the ability to define alternative program displays. The advantages of the hybrid system over both the purely relational and purely attribute-based systems are presented, and new algorithms are given for query evaluation and incremental view updating motivated by the efficiency requirements of interactive editing under the defined model. A prototype implementation of an editor generator is described, and suggestions for future research are made.
Publisher
Association for Computing Machinery (ACM)
Cited by
42 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Incremental Computation: What Is the Essence? (Invited Contribution);Proceedings of the 2024 ACM SIGPLAN International Workshop on Partial Evaluation and Program Manipulation;2024-01-11
2. Bibliography;Engineering a Compiler;2012
3. Systematic Program Design;2009
4. A voice-activated integrated development environment for manually disabled programmers;Disability and Rehabilitation: Assistive Technology;2008-01
5. Strengthening invariants for efficient computation;Science of Computer Programming;2001-10