Abstract
In this chapter, we demonstrate the programming techniques needed for performing the manipulations required in a Prolog text editor. An editor may handle text in units of lines, structures (such as Prolog clauses), or screens. Since Prolog-KABA, the Prolog implementation used by us, is supplied with a screen editor ‘ProEdit’, what follows will be concerned with the implementation of a line editor and a clause editor. Although it is possible to control a mouse with Prolog-KABA, and then use it for screen editing, this issue will not be discussed in the present chapter.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1991 Springer Science+Business Media Dordrecht
About this chapter
Cite this chapter
Mizoguchi, F. (1991). The construction of a text editor in Prolog. In: Mizoguchi, F. (eds) Prolog and its Applications. Springer, Boston, MA. https://doi.org/10.1007/978-1-4899-7144-9_3
Download citation
DOI: https://doi.org/10.1007/978-1-4899-7144-9_3
Publisher Name: Springer, Boston, MA
Print ISBN: 978-0-412-37770-9
Online ISBN: 978-1-4899-7144-9
eBook Packages: Springer Book Archive