JPH03226834A - Program chart generating tool - Google Patents
Program chart generating toolInfo
- Publication number
- JPH03226834A JPH03226834A JP2274790A JP2274790A JPH03226834A JP H03226834 A JPH03226834 A JP H03226834A JP 2274790 A JP2274790 A JP 2274790A JP 2274790 A JP2274790 A JP 2274790A JP H03226834 A JPH03226834 A JP H03226834A
- Authority
- JP
- Japan
- Prior art keywords
- program
- program chart
- file
- program diagram
- chart
- 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
Links
- 230000006870 function Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、ソフトウェア生産ツール(装置)に関する
ものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a software production tool (device).
第4図は、従来のプログラム図生成ツールの動作を示す
流れ図である。図において(1)は、ソースプログラム
(5)を、プログラム図に変換するプログラム図変換手
段、(3)は、プログラム図表示手段、(8)はプログ
ラム図表示手段(3)が出力する表示画面、(4)はプ
ログラム図印刷手段、(9)はプログラム図印刷手段(
4)が出力する出力リストである次に動作につい゛C説
明する。FIG. 4 is a flow chart showing the operation of a conventional program diagram generation tool. In the figure, (1) is a program diagram conversion means for converting a source program (5) into a program diagram, (3) is a program diagram display means, and (8) is a display screen output by the program diagram display means (3). , (4) is a program diagram printing means, and (9) is a program diagram printing means (
4) is the output list that is output.Next, the operation will be explained.
第4図におい゛C1プログラム図変換手段(1)は、ソ
ースプログラムファイル(5)を読み、プログラムの構
文を解析し、木構造形式に変換する。木構造形式に変換
したデータを、対象とする本構造プログラム図記号に対
応させて、プログラム図ファイル(6)を出力する。In FIG. 4, the C1 program diagram conversion means (1) reads a source program file (5), analyzes the syntax of the program, and converts it into a tree structure format. The data converted into the tree structure format is made to correspond to the target main structure program diagram symbol, and a program diagram file (6) is output.
プログラム図表示手段(3)は、プログラム図ファイル
(6)を読み、ワークチージョン、又はパソコンなどの
表示画面(8)に、プログラム図をグラフィック表示す
る。The program diagram display means (3) reads the program diagram file (6) and graphically displays the program diagram on a display screen (8) of a work team or a personal computer.
プログラム図印刷手段(4)は、プログラム図ファイル
(6)を読み、ラインプリンタなどの印刷装置によって
、プログラム図を印刷した出力リスト(9)を出力する
。The program diagram printing means (4) reads the program diagram file (6) and outputs an output list (9) in which the program diagrams are printed using a printing device such as a line printer.
第5図に、ソースプログラムの例を示し、第6図に、第
4図のプログラム図生成ツールが出力した表示画面(8
)の例を示す。Figure 5 shows an example of a source program, and Figure 6 shows the display screen (8) output by the program diagram generation tool in Figure 4.
) is shown below.
従来のプログラム図生成ツールは、第4図のように構成
されているので、ソースプログラムのコメント文が英語
である場合、出力されたプログラム図が、日本人にとっ
0分り難いという問題点があった。この発明は、上記の
ような問題点を解消するためになされたもので、プログ
ラム図中のコメント文を翻訳して(例えば、英語を日本
語に翻訳する)表示することにより、プログラム図を理
解しやすくシ、プログラム囚生成ツールの適用効果を高
めることを目的とする。Conventional program diagram generation tools are configured as shown in Figure 4, so if the comment text of the source program is in English, the problem is that the output program diagram is difficult for Japanese people to understand. Ta. This invention was made to solve the above-mentioned problems, and it is possible to understand the program diagram by translating and displaying the comment sentences in the program diagram (for example, translating English to Japanese). The purpose is to make it easier to use and increase the effectiveness of the application of the program generation tool.
この発明に係るコメント詞訳機能を備えたプログラム図
生成ツールは、従来のプログラム図生成ツールにプログ
ラム図ファイルのコメント文を翻訳する手段を追加した
ものである。A program diagram generation tool equipped with a comment word translation function according to the present invention is a conventional program diagram generation tool with a means for translating comment sentences of a program diagram file added.
〔作用〕
この発明におけるコメント翻訳機能付プログラム図ファ
イルは、コメント文翻訳手段により、ソースプログラム
中のコメント文を、例えば、英語から日本語に翻訳し°
C1出カプログラムに表示する。[Operation] The program diagram file with a comment translation function according to the present invention is capable of translating comment sentences in a source program from, for example, English to Japanese using a comment sentence translation means.
Display on C1 output program.
以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図において、(1)、 (3)〜(6)、 (8L
(9)は第4図の従来例に示したものと同等であるの
で説明を省略する。(2)はコメント文翻訳手段、(7
)はコメント文翻訳手段(2)が出力する翻訳プログラ
ム図ファイルである。In Figure 1, (1), (3) to (6), (8L
Since (9) is the same as that shown in the conventional example of FIG. 4, its explanation will be omitted. (2) is a comment sentence translation means, (7
) is a translation program diagram file output by the comment sentence translation means (2).
次に動作につい゛C説明する。プログラム図変換手段(
1)は、ソースプログラムファイル(5)を読み、構文
解析を行い、プログラムを本構造形式のプログラム図(
例えばHCP (Hierarohioal an、c
l Compactdescription Cha、
rt )図)に変換して、プログラム図ファイル(6)
を出力する。コメント文翻訳手段(2)は、プログラム
図ファイル(6)を読み、プログラム図ファイル(6)
内のコメント文を翻訳して、翻訳プログラム図ファイル
(7)を出力する。Next, the operation will be explained. Program diagram conversion means (
1) reads the source program file (5), performs syntax analysis, and converts the program into a program diagram in this structural format (
For example, HCP (Hierarohial an, c
l Compact description Cha,
rt ) diagram) and convert it to program diagram file (6)
Output. The comment text translation means (2) reads the program diagram file (6) and converts it into a program diagram file (6).
Translate the comment text within and output a translation program diagram file (7).
第2図は、第1図に示すコメント文翻訳手段(2)の処
理を、HCP図で示した流れ図である。FIG. 2 is a flowchart showing the processing of the comment text translation means (2) shown in FIG. 1 in an HCP diagram.
第1図に示すプログラム図表示手段(3)は、翻訳プロ
グラム図ファイル(7)を読み、第3図に示すコトくグ
ラフィック画面上に、プログラム図を表示画面(8)と
し゛C出力する。The program diagram display means (3) shown in FIG. 1 reads the translation program diagram file (7) and outputs the program diagram as a display screen (8) on the graphic screen shown in FIG.
プログラム図印刷手段(4)は、翻訳プログラム図ファ
イル(7)を読み、ラインプリンタに、プログラム図を
リスト出力(9)として出力する。The program diagram printing means (4) reads the translated program diagram file (7) and outputs the program diagram to the line printer as a list output (9).
なお、上、記実施例は、英語から日本語へコメント文を
翻訳する場合について説明したが、例えば、日本語から
英語からドイツ語など、他の言語への翻訳も同様の構成
で実現できる。この場合、プログラム図生成ツールの実
行は翻訳の対象となる言語に対応した表示・出力装置で
なければならないことはもちろんである。In addition, although the above-mentioned embodiment described the case of translating a comment sentence from English to Japanese, translation from Japanese to other languages such as English to German can also be realized with a similar configuration. In this case, it goes without saying that the program diagram generation tool must be executed on a display/output device compatible with the language to be translated.
以上のように、この発明によれば、プログラム図生成ツ
ールが出力・表示するプログラム図中のコメントを、例
えば、操作者が日本人の場合、日本語で表示することが
でき、プログラム図が分り易(なる。As described above, according to the present invention, comments in the program diagram output and displayed by the program diagram generation tool can be displayed in Japanese when the operator is Japanese, and the program diagram can be easily understood. It becomes easy.
このプログラム図を、プログラム設計書などのドキュメ
ントにすることにより、プログラムの保守・改良の能率
を高める効果がある。又、同時に、プログラム改良の際
のソフトウェア品質向上に寄与する。By converting this program diagram into a document such as a program design document, it has the effect of increasing the efficiency of program maintenance and improvement. At the same time, it also contributes to improving software quality when improving programs.
第1図は、この発明の一実施例によるプログラム生成ツ
ールの動作を示す流れ図、第2図は第1図に示すコメン
ト文翻訳手段の処理の流れをHCPで示した流れ図、第
3図は第1図に示す表示画面の例を示す正面図、第4図
は、従来のプログラム図生成ツールの動作を示す流れ図
、第5図はソースプログラムの例を示す図、第6図は第
4図に示す表示画面の例を示す正面図である。
図において、(1)はプログラム図変換手段、(2)は
コメント文翻訳手段、(3)はプログラム図表示手段、
(4)はプログラム図印刷手段、(5)はソースプログ
ラムファイル、(6)はプログラム図ファイル、(7)
は翻訳プログラム図ファイル、(8)は表示画面、(9
)は出力リストである。
なお、図中、同一符号は同一、又は相当部分を示す。FIG. 1 is a flowchart showing the operation of a program generation tool according to an embodiment of the present invention, FIG. 2 is a flowchart showing the processing flow of the comment sentence translation means shown in FIG. 1 in HCP, and FIG. Figure 1 is a front view showing an example of the display screen, Figure 4 is a flowchart showing the operation of a conventional program diagram generation tool, Figure 5 is a diagram showing an example of a source program, and Figure 6 is similar to Figure 4. FIG. 3 is a front view showing an example of a display screen shown in FIG. In the figure, (1) is a program diagram conversion means, (2) is a comment text translation means, (3) is a program diagram display means,
(4) is a program diagram printing means, (5) is a source program file, (6) is a program diagram file, (7)
is the translation program diagram file, (8) is the display screen, (9
) is the output list. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.
Claims (1)
ソースプログラムのコメント文を別の言語に変換する手
段とを有し、コメント翻訳機能を備えたことを特徴とす
るプログラム図生成ツール。means for converting a source program into a program diagram;
1. A program diagram generation tool characterized by having means for converting comment sentences of a source program into another language, and having a comment translation function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2274790A JPH03226834A (en) | 1990-02-01 | 1990-02-01 | Program chart generating tool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2274790A JPH03226834A (en) | 1990-02-01 | 1990-02-01 | Program chart generating tool |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03226834A true JPH03226834A (en) | 1991-10-07 |
Family
ID=12091289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2274790A Pending JPH03226834A (en) | 1990-02-01 | 1990-02-01 | Program chart generating tool |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03226834A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007034813A (en) * | 2005-07-28 | 2007-02-08 | National Institute Of Advanced Industrial & Technology | Software manual generation system in two or more natural languages |
JP2008186311A (en) * | 2007-01-31 | 2008-08-14 | National Institute Of Advanced Industrial & Technology | File conversion system for source file with comment described by plurality of kinds of natural languages |
-
1990
- 1990-02-01 JP JP2274790A patent/JPH03226834A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007034813A (en) * | 2005-07-28 | 2007-02-08 | National Institute Of Advanced Industrial & Technology | Software manual generation system in two or more natural languages |
JP2008186311A (en) * | 2007-01-31 | 2008-08-14 | National Institute Of Advanced Industrial & Technology | File conversion system for source file with comment described by plurality of kinds of natural languages |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6244877A (en) | Machine translator | |
US5093788A (en) | Translation machine system with splitting and combining of sentences | |
JPH03226834A (en) | Program chart generating tool | |
KR920006835A (en) | Computer input device | |
JPS6319275A (en) | Printer | |
JPS60186904A (en) | Program input system | |
JPS63184872A (en) | Mechanical translating device | |
JPS6376055A (en) | Original word/translated word display system in document forming device | |
JPH03271965A (en) | Document elaborating device | |
JPH0421173A (en) | Machine translation device | |
JPH0668746B2 (en) | Japanese word processor | |
JPH01113871A (en) | Mechanical translating device | |
JPS61267093A (en) | Sentence processor | |
JPS62174867A (en) | Chinese character input device | |
JPH06236399A (en) | Word processor with translation function | |
JPS62190551A (en) | Word processor | |
JPS63111566A (en) | Composition system | |
JPS63316232A (en) | Processing for program preparation | |
JPH02294824A (en) | Table design document creation device | |
JPH0239227A (en) | Computer | |
JPH03273449A (en) | Machine translation device | |
JPS584425A (en) | Input device of character train | |
JPH08329071A (en) | Information processor | |
JPS61243563A (en) | Cursor moving device | |
JPH02139666A (en) | Language translating device |