Token-by-token Syntax-directed Editing (Using an LR Parser)
This paper demonstrates a new approach to the building of a syntax‐directed editor (SDE). The approach does not force the user to adopt a top‐down syntax‐oriented view of editing but supports the traditional text‐editing approach of deciding which token to write next. Choices are made from menus lis...
Saved in:
Published in | Software, practice & experience Vol. 26; no. 11; pp. 1247 - 1260 |
---|---|
Main Authors | , |
Format | Journal Article |
Language | English |
Published |
New York
John Wiley & Sons, Ltd
01.11.1996
Wiley |
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | This paper demonstrates a new approach to the building of a syntax‐directed editor (SDE). The approach does not force the user to adopt a top‐down syntax‐oriented view of editing but supports the traditional text‐editing approach of deciding which token to write next. Choices are made from menus listing only the tokens that are syntactically legal at a given point. The actual menus used by the editor are created by reference to the tables used by an LALR parser‐generator. |
---|---|
Bibliography: | istex:458443ED60F324F0396B12854208CEACE4FADEBF ArticleID:SPE59 ark:/67375/WNG-F86GZ2JG-V ObjectType-Article-2 SourceType-Scholarly Journals-1 ObjectType-Feature-1 content type line 23 |
ISSN: | 0038-0644 1097-024X |
DOI: | 10.1002/(SICI)1097-024X(199611)26:11<1247::AID-SPE59>3.0.CO;2-N |