JPS6051950A - Program outputting system - Google Patents

Program outputting system

Info

Publication number
JPS6051950A
JPS6051950A JP15950183A JP15950183A JPS6051950A JP S6051950 A JPS6051950 A JP S6051950A JP 15950183 A JP15950183 A JP 15950183A JP 15950183 A JP15950183 A JP 15950183A JP S6051950 A JPS6051950 A JP S6051950A
Authority
JP
Japan
Prior art keywords
program
data
converting
output
design
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
JP15950183A
Other languages
Japanese (ja)
Inventor
Haruhiko Wada
和田 晴彦
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP15950183A priority Critical patent/JPS6051950A/en
Publication of JPS6051950A publication Critical patent/JPS6051950A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To execute the maintenance and the change of a program by outputting in parallel a logical design package simultaneously with the conversion of the program in a system for converting the first program to the second program. CONSTITUTION:In case of converting a source program generated in the form of a table by the Japanese language to the COBOL program 2 of an intermediate language, a converting program 3 outputs the COBOL program 2 and also outputs the edited logical design package 4 expressed in the Japanese language. This logical design package 4 converts design information inputted by the source program 1 to a figure so as to be easily visible, and also shows a mutual relation between the design information in the form of a table to facilitate the design, maintenance and change of the program.

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は、高級言語プログラムを中間言語プログラムに
変換出力するプログラム出力方式に関する口 (b) 従来技術と問題点 データ処理システムに於ては利用者に便なる様にプログ
ラム記述言語が高級化され、最近ではC0BOL、FO
RTRAN等の高級言語が利用される。しかし、これら
の言語ではプログラムの手続き命令や、データの名前等
プログラムの記述を英数字を用いて表記するため1日本
人にとって理解しずらい欠点があった0更にこれらプロ
グラムの手続き命令の書き方1名前の付は方等は、個々
のプログラム作成者による違いが出やすく、不統一なプ
ログラムとなりやすかった@また、前記プログラムに関
する情報提供機能も乏しく、プログラムのテスト保守作
業の効率も低いものであった。
Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a program output method for converting and outputting a high-level language program to an intermediate language program (b) Prior art and problems Utilized in a data processing system Program description languages have become more advanced to make it more convenient for users, and recently C0BOL, FO
A high-level language such as RTRAN is used. However, in these languages, program procedure commands and program descriptions such as data names are written using alphanumeric characters, which has the disadvantage of making it difficult for Japanese people to understand.1 Furthermore, how to write these program procedure commands1 Naming methods tend to vary between individual program creators, resulting in inconsistent programs.In addition, the ability to provide information about the programs was poor, and the efficiency of program testing and maintenance was low. Ta.

(c) 発明の目的 本発明は、上記の欠点を解決するためになされたもので
、プログラムの設計及び保守を容易とするプログラム出
力方式及びプログラムに関する情報の提供を目的とする
(c) Purpose of the Invention The present invention was made to solve the above-mentioned drawbacks, and aims to provide a program output method and information regarding the program that facilitate program design and maintenance.

(d3 発明の構成 本発明は、所定形式の表の所定項の所定欄に日本語を用
いたデータを挿入すること1こより作成された第lのプ
ログラムを他の記述形式で構成されル1E2(7)フロ
グラムへ変換する処理システムに於て、前記第1のプロ
グラムの項単位の構文を解析する手段と、前記所定欄の
データを格納する第1のテーブルと、前記第1のプログ
ラム名及び翻訳実行される前記順番号を格納する第2の
テーブルと、前aeMIのテーブル及び$2のテーブル
のデータを表及びプログラム構造図に変換して出力する
手段とを備え、前記第1のプログラムを前記第2のプロ
グラムIこ変換する際、前記第1のプログラムに関する
情報を前記衣及びプログラム構造図の形式で、日本語を
用いて出力せしめることを特徴とするプログラム出力方
式である0以上のように本発明は1日本語により表形式
で作成された第[のプログラムを、躯2のプログラム(
中間言語、例えばC0BOLプログラム)に変換する際
、論理設計書(第1のプログラムによって入力された設
計情報を「表」などの図形に変換したもの)を、併せて
出力しうるように図ったものである。
(d3 Structure of the Invention The present invention provides a first program that is created by inserting data in Japanese into a predetermined field of a predetermined column of a table in a predetermined format, and is configured in another description format (1E2). 7) In a processing system for converting to a program, a means for parsing the syntax of the first program in units of terms, a first table storing data in the predetermined column, and a name and translation of the first program. a second table for storing the sequence number to be executed; and means for converting and outputting the data of the previous aeMI table and the $2 table into a table and a program structure diagram; 0 or above, which is a program output method characterized in that when converting the second program, information regarding the first program is output in the form of the program structure diagram and in Japanese. The present invention converts the first program created in Japanese in tabular form into the second program (
When converting to an intermediate language (e.g., a C0BOL program), the logical design document (design information input by the first program is converted into figures such as "tables") can also be output. It is.

(e)発明の実施例 以下1本発明を図面によって説明する。第1図は本発明
を説明するブロック図である。第1図において、ソース
プログラムLは日本語により表形式で作成されたプログ
ラムであり、これは中間言語であるC0BOLプログラ
ム2に変換される0本発明においては、変換プログラム
3は、C0BOLプログラム2を出力する一方、編集さ
れた論理設計書(日本語表記)4を出力するように図っ
たものである。この論理設計書4は、ソースプログラム
1によって入力された設計情報を1図形に変換してみや
すさをはかり、また設計情報間の相互関係を一覧表形式
で表わしたものであり、プログラムの設計保守あるいは
変更が容易になるという利点を有する。
(e) Embodiments of the Invention The present invention will be explained below with reference to the drawings. FIG. 1 is a block diagram illustrating the present invention. In FIG. 1, a source program L is a program created in Japanese in tabular form, and this is converted into a C0BOL program 2, which is an intermediate language.In the present invention, a conversion program 3 converts the C0BOL program 2 into At the same time, the edited logical design document (Japanese notation) 4 is also output. This logical design document 4 converts the design information input by the source program 1 into a single figure for ease of viewing, and also expresses the interrelationships between the design information in a list format, and is useful for program design and maintenance. Alternatively, it has the advantage of being easy to change.

第2図は本発明の一実施例を説明するブロック3− 図である。第2図において、バタン発生部5からのパタ
ンデータFは制御部6から、コンソール7の辰示部8へ
送られる。第3図はコンソール7の正面図であり1表示
部8には、図示の如く「表」が空欄で表示される(例え
ば順番号30)o利用者は、キーボード9のカーソルキ
ー10及びデータキーitを操作して、所要のデータを
入力する口項番20より前の項は入力済みの状態を示す
◎例えば最新環(項番30)の「処理」欄aには利率の
数値データ、また「条件」欄dには”子定期”の文など
を入力することにより、プログラムの作成を行うことが
できる。再び第2図において、コンソール7から入力(
作成)されたデータを、モニタプリンタ12から出力す
れば第4図に示すように、「表」形式の出力が得られる
。しかし本実施例では、入力された「表」データを、項
単位で変換処理する0第2図において、コンソール7か
らの環データEは、レジスタ13を経て処理部14へ送
られる・これを受けた処理部14は、主メモリ15内の
解析ルーチン16を起動する。解析ルー4− チン16は、入力データEの中から表外に記述されたモ
ジュール名(例えば「利率編集」)及び現在処理される
項番(例えばl”20J)をメモリ17の共通テーブル
18に格納する0また前記第3図に示した処理禰IL、
論理欄す及び条件欄dのデータを、メモリ17のスタッ
クテーブルT + 、T *及びT、に、それぞれ格納
する0なおこのスタックテーブルT1〜T、内のデータ
は、C0BOLの手続き部分を創成するためのデータで
ある0次に処理部14は、主メモリ15のC0BOL展
開ルーチン19を起動するO C0BOL展開ルーチン
19は、共通テーブル18及びスタックテーブルTI−
T、内のデータを基に、C0BOLプログラムの手続き
部PをメモIJ l 7の作業領域20に創成する0な
おこの際、処理部14は、主メモリ15円の変換プログ
ラム21を起動してシンボル変換を行い、その変換され
たデータを作業領域22に格納する0すなわち共通テー
ブル18内のモジュール名をシンボル変換し1項番を付
加し。
FIG. 2 is a block 3 diagram illustrating one embodiment of the present invention. In FIG. 2, pattern data F from the bang generation section 5 is sent from the control section 6 to the display section 8 of the console 7. FIG. 3 is a front view of the console 7, and the display section 8 displays a blank "table" as shown in the figure (for example, sequence number 30). ◎For example, in the "Processing" column a of the latest link (item number 30), the numerical data of the interest rate, etc. A program can be created by entering a sentence such as "child period" in the "condition" column d. Again in FIG. 2, the input from the console 7 (
If the created data is output from the monitor printer 12, an output in a "table" format can be obtained as shown in FIG. However, in this embodiment, the input "table" data is converted item by term. In FIG. The processing unit 14 starts up the analysis routine 16 in the main memory 15. The analysis routine 4-chin 16 stores the module name written outside the input data E (e.g. "Edit Interest Rate") and the item number currently being processed (e.g. l"20J) into the common table 18 of the memory 17. Also, the processing line IL shown in FIG.
The data in the logic column and condition column d are stored in the stack tables T+, T*, and T in the memory 17, respectively.0The data in the stack tables T1 to T create the procedure part of C0BOL. The 0-order processing unit 14 starts the COBOL expansion routine 19 in the main memory 15.
Based on the data in T, create the procedure section P of the C0BOL program in the work area 20 of the memo IJ l 7. At this time, the processing section 14 starts the conversion program 21 of main memory 15 yen and converts the symbol The converted data is stored in the work area 22.0, that is, the module name in the common table 18, is converted into a symbol and a 1 item number is added.

注釈文を作成する。以上の処理動作の繰返しにより得ら
れた作業領域20及び22のデータは、出力制御部23
からファイル装置24へと格納される。促ってファイル
装置に醪24に(ま、C0BOLプログラム25及び崗
理設it1′舊26が創成されるOなお第5図は、g2
図に変換プログラム21のシンボル変換の一例を説明す
るブロック図であるO第5図において、例えば「残高マ
スク」という入力かあったとき、変換プログラム21は
、変換テーブルT4を用いて、シンボル変換を行い、r
ZANDKAMSTJを出力する0 第6図は、第2図におけるファイル装置24内(7’)
COBOLプログラム25の一例であり、第7図は論理
設計書26を並行して出力(プリンタ27により)した
−例である0 (f) 発明の効果 以上のように本発明は、表形式で作成された高プログラ
ムの保守及び変更が容易となる利点を有する0
Create annotation text. The data in the work areas 20 and 22 obtained by repeating the above processing operations is sent to the output control unit 23.
The data is then stored in the file device 24. Then, a C0BOL program 25 and a program 26 are created in the file device.
In FIG. 5, which is a block diagram illustrating an example of symbol conversion by the conversion program 21, when there is an input such as "balance mask", the conversion program 21 performs symbol conversion using the conversion table T4. do, r
Output ZANDKAMSTJ 0 Figure 6 shows the inside of the file device 24 (7') in Figure 2.
FIG. 7 is an example of the COBOL program 25, and FIG. 7 is an example of the logical design document 26 being output (by the printer 27) in parallel. 0, which has the advantage of easy maintenance and modification of high-performance programs.

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

第1図は本発明を説明するブロック図、第2図は本発明
の一実施例を説明するブロック図、第3図は本発明の一
実施例を説明するコンソールの正面図、第4図及び第6
図は本発明の一実施例を説明する出力例、第5図は本発
明の一実施例におけるシンボル変換を説明するブロック
図、第7図は論理設計書の出力例であり、図中に用いた
符号は次の通りである0 1はソースプログラム、2はC0BOLプログラム、3
は変侠プログラム%4は論理設計督、5はバタン発生部
%6は制御部、7はコンソール%8は表示部、9はキー
ボード、lOはカーソルキー、ttはデータキー、12
はモニタプリンタ、13はレジスタ、14は処理部、1
5は主メモリ、16は解析ルーチン、17はメモリ、1
8は共通テーブル、19はC0BOL展開ルーチン、2
0.22は作業領域、23は出力制御部、24はファイ
ル装置、26は論理設計−4haは処理部、bは論理欄
、dは条件欄、Eは入力データ、Fはバタンデ7− 一タ、Kはカーソル、Pは手続き部、T1.Tt、T。 はスタックテーブル、T4は変換テーブルを示す。 8−
FIG. 1 is a block diagram explaining the present invention, FIG. 2 is a block diagram explaining an embodiment of the present invention, FIG. 3 is a front view of a console explaining an embodiment of the present invention, FIG. 6th
The figure shows an output example explaining an embodiment of the present invention, Fig. 5 is a block diagram explaining symbol conversion in an embodiment of the present invention, and Fig. 7 shows an output example of a logic design document. The codes are as follows: 0 1 is the source program, 2 is the C0BOL program, 3
%4 is a logic design director, 5 is a bang generation part, %6 is a control part, 7 is a console%8 is a display part, 9 is a keyboard, IO is a cursor key, tt is a data key, 12
is a monitor printer, 13 is a register, 14 is a processing unit, 1
5 is the main memory, 16 is the analysis routine, 17 is the memory, 1
8 is a common table, 19 is a C0BOL expansion routine, 2
0.22 is the work area, 23 is the output control unit, 24 is the file device, 26 is the logic design-4ha is the processing unit, b is the logic column, d is the condition column, E is the input data, F is the batande 7-1 data , K is a cursor, P is a procedure division, T1. Tt, T. indicates a stack table, and T4 indicates a conversion table. 8-

Claims (1)

【特許請求の範囲】[Claims] 所定形式の表の所定環の所定欄に日本語を用いたデータ
を挿入することにより作成された第1(7)プログラム
を他の記述形式で構成される第2のプログラムへ変換す
る処理システムに於て、前記第1のプログラムの項単位
の構文を解析する手段と、前記所定欄のデータを格納す
る第1のテーブルと、前記第1のプログラム名及び翻訳
実行される前記項番号を格納する第2のテーブルさ、前
記第1のテーブル及び第2のテーブルのデータを表及び
プログラム構造図に変換して出力する手段とを備え、前
記itのプログラムを前記第2のプログラムに変換する
際、前記第1のプログラムに関する情報を、前記衣及び
プログラム構造図の形式で、日本語を用いて出力せしめ
ることを特徴とするプログラム出力方式。
A processing system that converts a first (7) program created by inserting data using Japanese into a predetermined column of a predetermined ring of a table in a predetermined format into a second program configured in another description format. means for parsing the syntax of the first program in units of terms; a first table for storing data in the predetermined columns; and storing the name of the first program and the term number to be translated. a second table, and means for converting and outputting the data of the first table and the second table into a table and a program structure diagram, and when converting the IT program into the second program, A program output method characterized in that information regarding the first program is output in the form of the clothes and program structure diagram using Japanese.
JP15950183A 1983-08-31 1983-08-31 Program outputting system Pending JPS6051950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15950183A JPS6051950A (en) 1983-08-31 1983-08-31 Program outputting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15950183A JPS6051950A (en) 1983-08-31 1983-08-31 Program outputting system

Publications (1)

Publication Number Publication Date
JPS6051950A true JPS6051950A (en) 1985-03-23

Family

ID=15695144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15950183A Pending JPS6051950A (en) 1983-08-31 1983-08-31 Program outputting system

Country Status (1)

Country Link
JP (1) JPS6051950A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62126437A (en) * 1985-11-27 1987-06-08 Nec Corp Processing system for design specification description of programming language
JPH02110738A (en) * 1988-10-20 1990-04-23 Nec Corp Erroneous input detecting system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5680748A (en) * 1979-12-06 1981-07-02 Fujitsu Ltd Data processor programmable in ideographic language
JPS58109939A (en) * 1981-12-23 1983-06-30 Fujitsu Ltd Automatic formation of simple language data stream chart

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5680748A (en) * 1979-12-06 1981-07-02 Fujitsu Ltd Data processor programmable in ideographic language
JPS58109939A (en) * 1981-12-23 1983-06-30 Fujitsu Ltd Automatic formation of simple language data stream chart

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62126437A (en) * 1985-11-27 1987-06-08 Nec Corp Processing system for design specification description of programming language
JPH02110738A (en) * 1988-10-20 1990-04-23 Nec Corp Erroneous input detecting system

Similar Documents

Publication Publication Date Title
JPS6051950A (en) Program outputting system
JP2020115246A (en) Generation device, software robot system, generation method and generation program
JPS60186904A (en) Program input system
JP2866437B2 (en) Example dictionary registration method and device
JP2585930B2 (en) Commenting device for control drawings
JP2002287962A (en) Data processing system and interface system
JPS60100226A (en) Test processor for tree structure chart
JPH04344523A (en) Message generating system
JPH03225523A (en) Operation visualization device for software component
JPH03208122A (en) Setting method for screen item attribute
JPH0769917B2 (en) Interactive sentence processor
JPH08137885A (en) Multilingual document processor
JPH03122717A (en) Device for forming program comment sentence
JPS63156275A (en) Automatic kana and katakana name dictionary adding system
JPH07219942A (en) Automatic kana/kanji conversion system
JPH05158767A (en) Method and device for file conversion
JP2004227319A (en) Software code generating system and method, recording medium and program
JPH10177577A (en) System and method for converting language
Azarova et al. Content Structuring in the St Petersburg Corpus of Hagiographic Texts (SCAT)
JPH02250160A (en) Kanji code converting system
JP2001076023A (en) Device and method for converting language and storage medium
JPH0256059A (en) Document preparing device
JPH03257660A (en) Kana-kanji conversion display system
JPS6184721A (en) System information input system
JP2005352880A (en) Xml document creation system