This study details the design and implementation of the LSD program, a syntax-directed editor for use in editing the source code for Borland’s Turbo Pascal. LSD is a dual-mode editor which allows both traditional text editing and also grammar-based editing. LSD promotes better programming for novice users by allowing the user to edit the program with a graphical representation of a parse tree. A list of syntactically correct choices is displayed at each point where a choice must be made in the structure of the program. Since only these choices are available, no syntax errors are possible. For more advanced users, the ability to take an existing program and display the syntax tree will help show the underlying structure of the Pascal language grammar.
Ham, John Gatewood and Sager, Thomas J., "A Syntax-Directed Editor for Borland’s Turbo Pascal" (1993). Computer Science Technical Reports. 64.
© 1993 University of Missouri--Rolla, All rights reserved.