Patent
1995-07-06
1998-05-12
Burwell, Joseph R.
395789, 395781, 395776, 395701, G06F 1721
Patent
active
057520585
ABSTRACT:
A user-friendly editor for structurally represented computer programs is disclosed. The present editor combines advantages of text editors and structure editors by transforming, as the user types, the text stream entered by the user into a token stream, where the tokens of the token stream constitute the words of the program being entered. Each of the tokens is classified by the editor as one of group of extended lexemes defined by the language in which the program being edited is written. These extended lexemes are defined similarly to lexemes that might be used in a batch lexer, but are more numerous as the present editor must account for the incomplete and ill-formed lexemes that arise as the user types the program. Based on information in the token stream, the editor prettyprints the program as the user types. This prettyprinting step involves typesetting each of the tokens in a visually distinct manner and displaying a varying amount of visual whitespace between the tokens, each of these operations being based on the lexical types of the tokens. The editor also allows the user to edit the program from the prettyprinted display as if the program were internally represented as text via a cursor whose position and appearance depends on the lexical types of tokens adjacent to the cursor. The present editor also allows the user to periodically request a syntactical analysis of the program, wherein the structure of the program is represented in a syntax tree that references the token stream.
REFERENCES:
patent: 4989145 (1991-01-01), Kyushima
patent: 5493678 (1996-02-01), Arcuri et al.
patent: 5513305 (1996-04-01), Maghbouleh
Brun et al., "The Token-Oriented Approach to Program Editing", Sigplan Notices, v. 20, n. 2, pp. 17-20, Feb. 1985.
Kitchovitch, "Parsing Method Supporting the Process of Program Editing with On-line Syntax Checking", Problems of Engineering, Cybernetics, and Robotics, v. 40, p. 49-59, Jan. 1993.
Shilling, "Incremental LL(1) parsing in language-based editors", IEEE Transactions on Software Engineering, v. 19, n. 9, pp. 935-940, Sep. 1992.
Lunney et al., "Syntax-directed editing", Software Engineering Journal, v. 3, n. 2, pp. 37-46, Mar. 1988.
Madhavji et al., "Semi-structured cursor movements in MUPE-2", Software Engineering Journal, v. 4, no. 6, pp. 309-317, Nov. 1989.
Zelkowitz et al., "Experiences building a syntax-directed editor", Software Engineering Journal, v. 4, no. 6, pp. 294-300, Nov. 1989.
Video: Siggraph Video Review: Magpie -Tektronix. (Item #9), Issue 19, CHI 95, Jun. 1985.
Oman, et al., Typographic Style Is More Than Cosmetic Communications of the ACM, May 1990, vol. 33, No. 5, pp. 506-520.
Reps. et al., The Synthesizer Generator Reference Manual (Jul. 1987) Dept. of Computer Science, Cornell University, Section 3, pp. 79-106.
Van de Vanter, User Interaction In Language-Based Editing Systems Chapter 4 and Chapter 5, pp. 35-111 & List of References, Dec. 1992.
Ballance, et al., Grammatical Abstraction And Incremental Syntax Analysis pp. 185-198, Sigplan '88, Jun. 1988.
Calliss, Problems with Automatic Restructurers University of Durham, Durham, England, pp. 13-21, Nov. 1987.
Ballance et al., The Plan Language-Based Editing System ACM Transactions on Software Engineering & Methodology, vol. 1, pp. 95-127, Jan. 1992.
Schwartz et al., Incremental Compilation In Magpie Sigplan Notice, vol. 19, No. 6, pp. 122-131, Jun. 1984.
Teitelbaum, et al., The Cornell Program Synthesizer: A Syntax-Directed Programming Environment, Comm. of the ACM, v. 24, n. 9, pp. 563-573, Sep. 1981.
Baecker, et al., Human Factors and Typography For More Readable Programs Chapter 6, pp. 259-279 + List of References & Bibliography, Jan. 1987.
Burwell Joseph R.
Crisman Douglas J.
Sun Microsystems Inc.
LandOfFree
System and method for inter-token whitespace representation and does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with System and method for inter-token whitespace representation and , we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for inter-token whitespace representation and will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-994833