Incremental parsing of expressions

Frans C. Heeman

Research output: Contribution to journalArticlepeer-review

2 Scopus citations

Abstract

In syntax-directed editors, the user edits some object on the screen according to the structure of that object. The appearance of the object is derived from some internal representation maintained by the editor. If the object is an expression, the editor maintains a tree-representation internally. During editing of an expression, a minor change in the appearance of an expression (e.g., ab × c is to be changed into a + b ×c) may necessitate a significant restructuring of this tree-representation. This article describes an algorithm that incrementally adjusts the tree-representation of an expression, while the user edits the expression in terms of its appearance rather than in terms of tree-transformations.

Original languageEnglish
Pages (from-to)55-69
Number of pages15
JournalJournal of Systems and Software
Volume13
Issue number1
DOIs
StatePublished - Sep 1990
Externally publishedYes

Fingerprint

Dive into the research topics of 'Incremental parsing of expressions'. Together they form a unique fingerprint.

Cite this