← Back to Patent Explorer
US5481711A Expired / Lapsed US ⏱️ 0.0 years remaining

Program editing system

Assignee: NEC Corp
•
Filing: 1993-01-07
•
Granted: 1996-01-02
•
Expires: 2013-01-07
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract The present invention relates to a system for readily editing a text data program lexically and structurally. A first conversion is carried out such that the text data program is converted into a structure-type data internal representation by using the grammar rules of the program and the internal representation definition which defines the data structure of a structure-type data internal representation. The structure-type data internal representation has the structure information of the program as the structure-type data. This structure-type data internal representation is edited according to given editing instructions. By using the grammar rules of the program and the internal representation definition, a second conversion is carried out such that the edited structure-type data internal representation is converted into the corresponding text data program.

Inventors

  • 👤 Yoshikazu Sotani

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-30 23:01
CPC Classifications
G; G06; G06F; G06F40/00; G06F40/10; G06F40/166

Claims Analysis

Total Claims: 8
Claim 1
Independent Claim 203 words
A system for editing a first text data program written in a programming language having a plurality of grammar rules, said system comprising: first storage means for storing said plurality of grammar rules; second storage means for storing an internal representation definition defining a designated tree structure; conversion code generating means for generating a conversion code based on said plurality of grammar rules and on said internal representation definition, said conversion code including a directional conversion code for converting said first text data program to a first structure-type data internal representation program having said designated tree structure; and a reverse-directional conversion code for converting a second structure-type data internal representation program to a second text data program; third storage means for storing said first and second structure-type data internal representation programs; editing means for editing said first structure-type data internal representation program stored in said third storage means to produce said second structure-type data internal representation program; and execution control means for executing said directional conversion code when said first text data program is provided to said execution control means, and for executing said reverse-directional conversion code when said second structure-type data internal representation program has been provided to said execution control means.
Claim 2
Independent Claim 203 words
A system for editing a first text data program written in a programming language having a plurality of grammar rules, said system comprising: first storage means for storing said plurality of grammar rules; second storage means for storing an internal representation definition defining a designated tree structure; conversion code generating means for generating a conversion code based on said plurality of grammar rules and on said internal representation definition, said conversion code including a directional conversion code for converting said first text data program to a first structure-type data internal representation program having said designated tree structure; and a reverse-directional conversion code for converting a second structure-type data internal representation program to a second text data program; third storage means for storing said first and second structure-type data internal representation programs; editing means for editing said first structure-type data internal representation program stored in said third storage means to produce said second structure-type data internal representation program; and execution control means for executing said directional conversion code when said first text data program is provided to said execution control means, and for executing said reverse-directional conversion code when said second structure-type data internal representation program has been provided to said execution control means.
Claim 3
Dependent Claim 18 words
The system as set forth in claim 1, wherein said first text data program comprises a YACC program.
Claim 4
Independent Claim 186 words
A method for editing a first text data program written in a programming language having a plurality of grammar rules, said method comprising the steps of: (a) storing said plurality of grammar rules; (b) storing an internal representation definition defining a designated tree structure; (c) generating a conversion code based on said plurality of grammar rules and said internal representation definition, said conversion code including a directional conversion code for converting said first text data program to a first structure-type data internal representation program having said designated tree structure and a reverse-directional conversion code for converting a second structure-type data internal representation program to a second text data program; (d) executing said directional conversion code to convert said first text data program to said first structure-type data internal representation program; (e) editing said first structure-type data internal representation program which has been generated by executing said directional conversion code in step (d) to produce said second structure-type data internal representation program; and (f) executing said reverse-directional conversion code to convert said second structure-type data internal representation program from step (e) into said second text data program.
Claim 5
Independent Claim 186 words
A method for editing a first text data program written in a programming language having a plurality of grammar rules, said method comprising the steps of: (a) storing said plurality of grammar rules; (b) storing an internal representation definition defining a designated tree structure; (c) generating a conversion code based on said plurality of grammar rules and said internal representation definition, said conversion code including a directional conversion code for converting said first text data program to a first structure-type data internal representation program having said designated tree structure and a reverse-directional conversion code for converting a second structure-type data internal representation program to a second text data program; (d) executing said directional conversion code to convert said first text data program to said first structure-type data internal representation program; (e) editing said first structure-type data internal representation program which has been generated by executing said directional conversion code in step (d) to produce said second structure-type data internal representation program; and (f) executing said reverse-directional conversion code to convert said second structure-type data internal representation program from step (e) into said second text data program.
Claim 6
Dependent Claim 49 words
The method as set forth in claim 3, wherein step (c) comprises the steps of: reading said grammar rules; generating conversion routines corresponding to each of said grammar rules according to said internal representation definition; and linking conversion routines respectively corresponding to said grammar rules to generate conversion code.
Claim 7
Dependent Claim 18 words
The method as set forth in claim 3, wherein said first text data program comprises a YACC program.
Claim 8
Dependent Claim 18 words
The method as set forth in claim 4, wherein said first text data program comprises a YACC program.

References Cited (Backward Citations)

US5276880A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1999-01-01 1999-07-03 2000-01-02 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2003-01-01 2003-07-03 2004-01-02 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2007-01-01 2007-07-03 2008-01-02 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag