@techreport{R-87-02, TITLE = {A Token-Based Syntax Sensitive Editor}, AUTHOR = {Rober Bilos}, YEAR = {1987}, NUMBER = {R-87-02}, INSTITUTION = ida, ADDRESS = idaaddr, ABSTRACTURL = {/publications/cgi-bin/tr-fetch.pl?r-87-02+abstr}, ABSTRACT = {This paper presents TOSSED, a token-oriented syntax sensitive editor being implemented at Link{\"o}ping University, Link{\"o}ping, Sweden.The main objectives of the editor is to enable the users to edit programs as easily and freely as with a conventional text editor and give them some features offered by a syntax-directed editor as template instantiation, automatic indentation and prettyprinting, lexical and syntactic error handling.Almost all syntax-directed editors are primarily designed to enter program text but they are awkward to use when modifying program structure. TOSSED is designed to handle both entering and modification of programs in a flexible way and has commands for template insertion, deletion, conversion etc.The user is guaranteed a lexically and syntactically correct program on exit from the editor which avoids many unnecessary compilations.}, IDANR = {LiTH-IDA-R-87-02}