发明名称 System and method for textual editing of structurally-represented computer programs with on-the-fly typographical display
摘要 <p>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 event stream 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 similar 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. The editor also allows the user to edit the program from the prettyprinted display as if the program were internally represented as text. 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. &lt;IMAGE&gt;</p>
申请公布号 EP0752649(A2) 申请公布日期 1997.01.08
申请号 EP19960304977 申请日期 1996.07.05
申请人 SUN MICROSYSTEMS, INC. 发明人 VAN DE VANTER, MICHAEL L.
分类号 G06F9/06;G06F9/44;(IPC1-7):G06F9/44;G06F9/45 主分类号 G06F9/06
代理机构 代理人
主权项
地址