JPS62126437A - Processing system for design specification description of programming language - Google Patents

Processing system for design specification description of programming language

Info

Publication number
JPS62126437A
JPS62126437A JP26663285A JP26663285A JPS62126437A JP S62126437 A JPS62126437 A JP S62126437A JP 26663285 A JP26663285 A JP 26663285A JP 26663285 A JP26663285 A JP 26663285A JP S62126437 A JPS62126437 A JP S62126437A
Authority
JP
Japan
Prior art keywords
design specification
source program
specification description
pseudo
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP26663285A
Other languages
Japanese (ja)
Inventor
Susumu Kamiya
紙谷 進
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP26663285A priority Critical patent/JPS62126437A/en
Publication of JPS62126437A publication Critical patent/JPS62126437A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To execute program forming work only by programming language starting from a design stage by providing a pseudo sentence reading means for selectively reading out design specification description described as a pseudo sentence. CONSTITUTION:A source program 1 including the design specification description is read out by a source program reading part 2 and sent to a pseudo sentence reading part 3. The reading part 3 reads out the existence of the design specification description described as a pseudo sentence, and is the pseudo sentence appears, sends design specification information to a design specification control part 4 and sends also the received source program 1 to an edition part 5. The edition part 5 receives the specification description existence information from the control part 4, edits the source program 1 on the basis of said information and sends the edited program to an output part 6. The output part 6 outputs an edited program list 7 to an output medium.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、言語翻訳プログラム(コンパイラ)におけ
る設計仕様記述処理方式、特に自然言語による設計仕様
記述を可能とすることを目的としたソースプログラムの
翻訳処理方式に関する。
[Detailed Description of the Invention] "Field of Industrial Application" This invention relates to a design specification description processing method in a language translation program (compiler), and in particular to a source program for the purpose of enabling design specification description in natural language. Regarding translation processing methods.

「従来の技術」 プログラムの開発を行5ためには、設計者からプログラ
マ(製造者)への設計仕様情報の伝達が必要不可欠であ
るが、従来のプログラミング言語ではその伝達手段とし
ては不適切であり、全くの自然言語で記述した設計仕様
書か、あるいは利用に高度な知識を必要とする設計用仕
様記述言語によるしか方法がなかった。
``Conventional technology'' In order to develop a program, it is essential to convey design specification information from the designer to the programmer (manufacturer), but conventional programming languages are inappropriate as a means of conveying this information. The only methods available were design specifications written in completely natural language, or design specification description languages that required advanced knowledge to use.

[発明が解決しようとする問題点」 上述した従来のプログラム言語とその処理方式では、設
計仕様情報は全くの自然言語で記述した設計仕様書か、
あるいは専用の設計仕様記述言語による仕様書により伝
達することになり、プログラマはプログラミング言語を
用いて全体を書き換えなければならなかった。しかもプ
ログラミング言語の文法の範囲で記述せざるを得す詳細
化されていない部分はプログラミングできないか、せい
ぜい注釈文によることとなり、これでは完全なプログラ
ムになったかどうかの判定は人間に任されることとなり
、誤りが発生するという欠点がある。
[Problem to be solved by the invention] In the conventional programming language and its processing method described above, design specification information is either a design specification written in completely natural language or
Alternatively, specifications were communicated using a dedicated design specification language, and programmers had to rewrite the entire system using a programming language. Moreover, undetailed parts that have to be described within the grammar of the programming language cannot be programmed, or at best can be written with comments, leaving it up to humans to judge whether the program is complete or not. This has the disadvantage of causing errors.

「問題点を解決するための手段」 この発明の設計仕様情報記述方式は、ソースプログラム
を読み取るソースプログラム読取手段と、疑似文として
記述された設計仕様記述を選択的に読み出す疑似大判読
手段と、設計仕様記述情報を管理する設計仕様管理手段
と、プログラムリストを編集する編集手段と編集済プロ
グラムリストを出力する出力手段を備え、本来の、プロ
グラミング言語の文法内で完全に記述できないレベルに
おいては自然言語による仕様記述を疑似文で行っても翻
訳処理可能としており、かつ疑似文の存在チェックを行
う能力を有している。
"Means for Solving Problems" The design specification information description method of the present invention includes a source program reading means for reading a source program, a pseudo large-reading means for selectively reading a design specification description written as a pseudo sentence, It is equipped with a design specification management means for managing design specification description information, an editing means for editing a program list, and an output means for outputting an edited program list. It is capable of translating a specification description in a language using pseudo-sentences, and has the ability to check the existence of pseudo-sentences.

「実施例」 次に、この発明について図面を参照して詳細に説明する
。図に示すように、この発明の処理方式は、疑似文とし
て自然言語による設計仕様記述を含むソースプログラム
1と、このソースプログラム1を読み取るソースプログ
ラム読取部2と、疑似文(設計仕様記述)を選択的に読
み取る疑似文判読部3と、設計仕様情報を管理する設計
仕様管理部4と、プログラムリストを編集する編集部5
と、編集済プログラムリストを出力する出力部6と、編
集済プログラムリストアとから構成されている。
"Example" Next, the present invention will be described in detail with reference to the drawings. As shown in the figure, the processing method of the present invention includes a source program 1 that includes a design specification description in natural language as a pseudo sentence, a source program reading section 2 that reads this source program 1, and a source program that reads the pseudo sentence (design specification description). A pseudo sentence interpretation unit 3 that selectively reads, a design specification management unit 4 that manages design specification information, and an editing unit 5 that edits a program list.
, an output unit 6 that outputs an edited program list, and an edited program restorer.

以下、その動作を説明する。設計仕様記述(疑似文)を
含むソースプログラム1は、ソースプログラム読取部2
により読み取られ、疑似文判読部3に送出される。疑似
文判読部3では、疑似文として記述されている設計仕様
記述の存在を判読し、疑似文が現われたならば、設計仕
様情報を設計仕様管理部4に送出する。また同時に、受
取ったソースプログラム1を編集部5に送出する。編集
部5では、設計仕様管理部4からの仕様記述の存在情報
を受取り、これに基づいてソースプログラム1を編集し
、出力部6に送出する。出力部6では出力媒体に編集済
プログラムリストアを出力する。
The operation will be explained below. A source program 1 including design specification descriptions (pseudo sentences) is read by a source program reader 2.
and sent to the pseudo sentence interpretation section 3. The pseudo sentence reading section 3 interprets the existence of a design specification description written as a pseudo sentence, and if a pseudo sentence appears, sends design specification information to the design specification management section 4. At the same time, the received source program 1 is sent to the editing section 5. The editing section 5 receives specification description existence information from the design specification management section 4, edits the source program 1 based on this information, and sends it to the output section 6. The output unit 6 outputs the edited program restore onto an output medium.

「発明の効果」 以上説明したようにこの発明は、自然言語による設計仕
様記述を含むソースプログラムであっても翻訳処理でき
ることにより、設計段階からプログラミング言語のみで
プログラム作成作業ができることになり、仕様記述から
プログラムへ転記するといった無駄な工数を削減できる
効果がある。
``Effects of the Invention'' As explained above, this invention enables translation processing even for source programs that include design specification descriptions in natural language, making it possible to create programs using only programming languages from the design stage. This has the effect of reducing wasted man-hours such as transferring from to program.

さらに、設計仕様記述は単なる注釈文としてではなく文
法の範囲での疑似文として記述できるため、正確性が向
上し、しかも自然語による疑似文であるか本来の文法の
範囲での文であるかはコンパイラが自動的に判定できる
ことにより、詳細化完了の判定がなされるため、注釈文
のみにたよって実行文にすべき注釈文を見落すといった
誤りがなくなる効果がある。
Furthermore, design specification descriptions can be written not as mere commentary sentences but as pseudo-sentences within the scope of the grammar, improving accuracy. Since the compiler can automatically determine whether refinement is complete, this has the effect of eliminating errors such as relying only on comment statements and overlooking comment statements that should be made into executable statements.

【図面の簡単な説明】[Brief explanation of drawings]

図はこの発明の一実施例の構成を示すブロック図である
。 ■=設計仕様記述を含むソースプログラム、2:ソース
プログラム読取部、3:疑似文判読部、4:設計仕様管
理部、5:編集部、6:出力部、7:編集済プログラム
リスト。
The figure is a block diagram showing the configuration of an embodiment of the present invention. ■=source program including design specification description, 2: source program reading section, 3: pseudo-text interpretation section, 4: design specification management section, 5: editing section, 6: output section, 7: edited program list.

Claims (1)

【特許請求の範囲】[Claims] (1)ソースプログラムを読み取るソースプログラム読
取手段と、 そのソースプログラム読取手段で読み取られたソースプ
ログラムから疑似文として記述された設計仕様記述を選
択的に読み出す疑似文判読手段と、その読み出された疑
似文の設計仕様記述が送られ、設計仕様記述情報を管理
する設計仕様管理手段と、 上記疑似文判読手段より上記読み取られたソースプログ
ラムと、上記設計仕様管理手段からの設計仕様記述の存
在情報とを受取り、これに基づき、プログラムリストを
編集する編集手段と、 その編集済プログラムリストを出力する出力手段とを備
えるプログラミング言語における設計仕様記述処理方式
(1) A source program reading means for reading a source program; a pseudo-text interpretation means for selectively reading a design specification description written as a pseudo-sentence from the source program read by the source program reading means; The design specification description of the pseudo sentence is sent to a design specification management means for managing the design specification description information, the source program read by the pseudo sentence interpretation means, and the existence information of the design specification description from the design specification management means. A design specification description processing method in a programming language, comprising an editing means for receiving and editing a program list based on the edited program list, and an output means for outputting the edited program list.
JP26663285A 1985-11-27 1985-11-27 Processing system for design specification description of programming language Pending JPS62126437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26663285A JPS62126437A (en) 1985-11-27 1985-11-27 Processing system for design specification description of programming language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26663285A JPS62126437A (en) 1985-11-27 1985-11-27 Processing system for design specification description of programming language

Publications (1)

Publication Number Publication Date
JPS62126437A true JPS62126437A (en) 1987-06-08

Family

ID=17433522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26663285A Pending JPS62126437A (en) 1985-11-27 1985-11-27 Processing system for design specification description of programming language

Country Status (1)

Country Link
JP (1) JPS62126437A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58121450A (en) * 1982-01-14 1983-07-19 Nec Corp Automatic comment implementing device
JPS59231649A (en) * 1983-06-15 1984-12-26 Fujitsu Ltd Output processing system for compiled program list
JPS6051950A (en) * 1983-08-31 1985-03-23 Fujitsu Ltd Program outputting system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58121450A (en) * 1982-01-14 1983-07-19 Nec Corp Automatic comment implementing device
JPS59231649A (en) * 1983-06-15 1984-12-26 Fujitsu Ltd Output processing system for compiled program list
JPS6051950A (en) * 1983-08-31 1985-03-23 Fujitsu Ltd Program outputting system

Similar Documents

Publication Publication Date Title
JP2008505423A (en) Generation of unwind information for optimized programs
DE69419036D1 (en) DATA PROCESSING SYSTEM AND OPERATING METHOD
JPS54100634A (en) Computer
JPS5642804A (en) Sequence controller
JPS62126437A (en) Processing system for design specification description of programming language
Fritzson Towards a distributed programming environment based on incremental compilation
JPH1185486A (en) Program edition device, its method, and computer-readable medium
JPS61211738A (en) Source program comment managing system
JPS58168153A (en) Data processing system
JPS59183441A (en) Debug processing system of extended language
Cassez Formal Semantics for Reactive {GRAFCET}
JPH0358232A (en) Preprocessor calling system
JPH02165339A (en) Compile device
JPH02211542A (en) Module management information calculating system
JPS59231649A (en) Output processing system for compiled program list
CN114637696A (en) Bootimage generation method for multi-core DSP and engineering program
JPH0776928B2 (en) USE procedure processing method in COBOL compiler
JPS62285134A (en) Processing system for sepalation and output of comment sentence of program list
JPH0383104A (en) Programmable sequencer
JPH0480828A (en) Program analyzing method
JPH0328932A (en) Compiling system for extended language specifications
JPS62127942A (en) Integration processing system for programs parts
JPH05265721A (en) Differential compiling method and device therefor
JPS63213031A (en) System for avoiding error check processing in compiler
JPH02307129A (en) Setting/deleting system for snap id output sentence