发明公开
EP0588446A3 Programmable computer with automatic translation between source and object code with version control
失效
可编程计算机与源代码和对象代码之间进行自动翻译,具有版本控制
- 专利标题: Programmable computer with automatic translation between source and object code with version control
- 专利标题(中): 可编程计算机与源代码和对象代码之间进行自动翻译,具有版本控制
-
申请号: EP93203242.8申请日: 1990-09-04
-
公开(公告)号: EP0588446A3公开(公告)日: 1995-11-15
- 发明人: Knudsen,Helge , Chong, Daniel T. , Yaffe,John , Taugher,James , Robertson,Michael , Plazak, Zbigniew
- 申请人: AMDAHL CORPORATION
- 申请人地址: 1250 East Arques Avenue Sunnyvale, CA 94088 US
- 专利权人: AMDAHL CORPORATION
- 当前专利权人: AMDAHL CORPORATION
- 当前专利权人地址: 1250 East Arques Avenue Sunnyvale, CA 94088 US
- 代理机构: Crawford, Andrew Birkby
- 优先权: US402862 19890901; US450298 19891213
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F9/45
摘要:
A computer which executes rules which are defined according to a language having a valid grammar. The computer comprises input means for receiving and temporarily storing a first source code representation of a rule; object code translation means for translating the first source code representation into a first object code representation executable by the computer; storage means for storing the object code representations of rules; discard means for automatically discarding from the input means the first source code representation upon the storing of the first object code representation in the storage means; source code translation means for translating the first object code representation into a second source code representation where the second source code representation has lines of text; edit means for editing the second source code representation by deleting, adding, or changing one or more of the lines of text of the second source code representation; second object code translation means for translating the second source code representation, as edited, into a new object code representation of the edited rule for storage in the storage means; and the discard means discarding the first object code and second source code representations automatically upon the storing of the new object code representation of the edited rule in the storage means. The computer thereby minimizes the storage required in the storage means for storing rules and maintains version control over the object code representations of rules stored in the storage means. A method for manipulating a database of data and rules stored in a computer system where the computer operates in accordance with object-coded rules defined by a specified object code grammar. The computer including storage means for storing data and object-coded rules in tables in conformance with a storage architecture, control means for storing, retrieving and deleting data and object- coded rules from the tables, translator means for translating source-coded rules into object-coded rules, detranslator means for translating object-coded rules into source-coded rules and scanner means for determining lexical validity of an object-coded rule according to the grammar. The method first comprising the ordered steps of entering into the computer a first source-coded rule; storing the first source-coded rule into tables in the storage means; translating the first source-coded rule into a first object-coded rule; storing the first object-coded rule into the tables in the storage means; and discarding the first source-coded rule from the tables in the storage means. Secondly, the method comprises the steps of retrieving an object-coded rule from the tables in the storage means; translating the object-coded rule into a second source-coded rule; editing the second source- coded rule; storing the second source-coded rule, as edited, into the tables in the storage means; translating the second source-coded rule into a second object-coded rule; storing the second object-coded rule into the tables in the storage means and discarding the original object-coded rule and the second source-coded rule from the tables in the storage means. The method further requires that each translating step determines lexical validity or invalidity of the object-coded rule translated from the source-coded rule; that each storing step conditions the storage of an object-coded rule in the tables in the storage means upon the determination of validity of the object-coded rule to be stored and each discarding step conditions the discarding of the first source-coded rule upon the storing of said first object-coded rule into the tables in the storage means and of the original object-coded rule and the second source-coded rule upon the storing of the second object-coded rule in the tables in the storage means.
公开/授权文献
信息查询