Claims
- 1. A computer method for creating and modifying object rules stored in a computer system to be executed by said computer system, said object rules being in an object rule language which is executable by said computer system, said computer method comprising the steps of:
- a) branching to step j when a new object rule is to be generated;
- b) retrieving from said computer system a first object rule to be modified;
- c) translating said first object rule into a token rule in a token source code language;
- d) translating said token rule into a source rule in a source code language where said source rule comprises one or more lines of source code such that said source rule is a line by line textual representation of said first object rule and where said source code language further requires said source rules to be defined in accordance with grammatical criteria; and
- e) modifying at least one of said source rule in said source code language in accordance with said grammatical criteria for said source code language to form a modified source rule;
- f) performing lexical analysis for determining the grammatical validity of any said modified line in said modified source rule;
- g) translating, when valid, said modified rule into a modified token rule in said token source code language;
- h) translating said modified token rule into a modified object rule in said object code language; and
- i) storing in said computer system said modified object rule in place of the retrieved said first object rule that was modified thereby maintaining within said computer system only the most current version of an object rule expressed in said object code language so as to provide version control of object rules stored in said computer system;
- j) generating, in said computer system, at least one of source code in said source code language in accordance with said grammatical criteria for said source code language to form a new source rule;
- k) performing lexical analysis for determining the grammatical validity of all lines of said new source rule;
- l) translating, when valid, said new rule into a new token rule or in said token source code language;
- m) translating said new token rule into a new object rule in said object code language; and
- n) storing in said computer system said new object rule.
- 2. A computer method for creating and modifying object rules stored in a computer system to be executed by said computer system, said object rules being in an object rule language which is executable by said computer system, said computer system comprising a plurality of text editors where each said text editors uses a different source code language and each said source code language further requires that source code rules be defined in accordance with grammatical criteria, said computer method comprising the steps of:
- 1) selecting a text editor from said plurality of text editors for a desired source code language; and
- 2) editing where each said text editor performs the steps of:
- a) branching to step g when a new object rule is to be generated;
- b) retrieving from said computer system a first object rule to be modified;
- c) translating said first object rule from said object code language into a source rule in said desired source code language, said desired source code requiring said source rules to be defined according to grammatical criteria;
- d) modifying said source rule in accordance with said valid grammatical criteria for said desired source code language to form a modified source rule;
- e) translating said modified source rule into a modified object rule in said object code language; and
- f) storing in said computer system said modified object rule in place of the retrieved said first object rule thereby maintaining in computer system only the most current version of an object rule so as to provide version control of object rules stored in said computer system;
- g) generating in said computer system a new source rule in said desired source code language in accordance with said grammatical criteria for said desired source code language;
- h) translating said new source rule into a new object rule in said object code language; and
- i) storing in said computer system said new object rule.
- 3. The computer method of claim 2 wherein:
- step c comprises the steps of:
- c1) translating said first object rule into a token rule in a token source code language;
- c2) translating said token rule into a source rule in said desired source code language where said source rule comprises at least one line of source code such that said source rule is a line by line textual representation of said first object rule and where said desired source code language further requires said source rules to be defined in accordance with grammatical criteria;
- step e comprises the steps of:
- e1) performing lexical analysis for determining the grammatical validity of any said modified line in said modified source rule;
- e2) translating, when valid, said modified rule into a modified token rule in said token source code language;
- e3) translating said modified token rule into a modified object rule in said object code language; and
- step h comprises the steps of:
- h1) translating, when valid, said new rule into a new token rule in said token source code language;
- h2) translating said new token rule into a new object rule in said object code language.
- 4. The computer method of claims 1, 2 or 3 further comprising the steps of:
- displaying at least the last line of said source code for said new source rule being generated when a new rule is being generated and at least the last line which was modified for said modified source rule being modified when a source rule is being modified; and
- entering data into said computer system for generating all lines of said source code for said new source rule when a new source rule is being generated and for generating all modified lines of said source code for said modified source rule when a source rule is being modified.
- 5. The computer method of claims 1 or 2 further comprising the step of:
- deleting from the computer system said new source rule after said new object rule is stored in said computer system; and
- deleting from the computer system said modified source rule after said modified object rule is stored in said computer system.
- 6. The computer method of claims 1 or 3 further comprising the steps of:
- deleting from the computer system said new source rule and said new token rule after said new object rule is stored in said computer system; and
- deleting from the computer system said modified source rule and said modified token rule after said modified object rule is stored in said computer system.
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of Ser. No. 08/029,478, filed Mar. 11, 1993, now abandoned, which is a divisional of Ser. No. 07/968,237, filed Oct. 29, 1992, now abandoned, which is a continuation of Ser. No. 07/830,548, filed Jan. 31, 1992, now abandoned, which is a continuation of Ser. No. 07/450,298, filed Dec. 13, 1989, now abandoned, which is a continuation-in-part of Ser. No. 07/402,862, filed Sep. 1, 1989 now abandoned.
US Referenced Citations (2)
Number |
Name |
Date |
Kind |
4667290 |
Goss et al. |
May 1987 |
|
5005152 |
Knutsen |
Apr 1991 |
|
Foreign Referenced Citations (1)
Number |
Date |
Country |
0243110 |
Oct 1987 |
EPX |
Divisions (1)
|
Number |
Date |
Country |
Parent |
968237 |
Oct 1992 |
|
Continuations (3)
|
Number |
Date |
Country |
Parent |
29478 |
Mar 1993 |
|
Parent |
830548 |
Jan 1992 |
|
Parent |
450298 |
Dec 1989 |
|
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
402862 |
Sep 1989 |
|