[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
Design of a multi-language editor with static error detection capabilities
Publisher:
  • University of California, Berkeley
Order Number:AAI8211964
Pages:
164
Reflects downloads up to 11 Dec 2024Bibliometrics
Skip Abstract Section
Abstract

Programmers who prepare programs interactively usually edit them in terms of text. Those few who use source language editors are restricted to a single language for which they have a tree structured editor.

The Babel set of programming tools is described. Babel has knowledge of the syntax and semantics of many languages. A language description language is used to make it easy to add a new language to the collection. Programs are represented as generalized parse trees.

The Babel system includes an editor that presents a text-like interface to the user. Commands utilizing the tree structure are possible, but need not be used. The user can be unaware of the underlying tree structure. The editor incrementally checks the syntax and semantics of the program and immediately notifies the user of errors. Human factors involving temporarily incorrect programs, program formatting, and responsiveness of the editor are addressed.

A prototype implementation has been built. Its design and characteristics are described.

Contributors
  • University of California, Berkeley
Please enable JavaScript to view thecomments powered by Disqus.

Recommendations