JPH05265733A - Program producing/executing device - Google Patents

Program producing/executing device

Info

Publication number
JPH05265733A
JPH05265733A JP4094814A JP9481492A JPH05265733A JP H05265733 A JPH05265733 A JP H05265733A JP 4094814 A JP4094814 A JP 4094814A JP 9481492 A JP9481492 A JP 9481492A JP H05265733 A JPH05265733 A JP H05265733A
Authority
JP
Japan
Prior art keywords
flowchart
program
flow chart
function
source program
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
JP4094814A
Other languages
Japanese (ja)
Inventor
Yasuo Hayashi
泰男 林
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.)
Nippon Steel Corp
Original Assignee
Sumitomo Metal Industries 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 Sumitomo Metal Industries Ltd filed Critical Sumitomo Metal Industries Ltd
Priority to JP4094814A priority Critical patent/JPH05265733A/en
Publication of JPH05265733A publication Critical patent/JPH05265733A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide a program producing/executing device which automatically converts a produced program of a flow chart form into a source program and then interprets and immediately carries out the source program by securing a constitution where a system designer or a programmer produces a program to show the system processing procedure by means of the flow chart form. CONSTITUTION:A program producing/executing device is provided with a flow chart production function 100 which includes a graphic processing/editing function that produces and edits a flow chart, a flow chart file 200 which stores the data on the flow chart produced by the function 100, a flow chart converting function 300 which interprets the data stored in the file 200 and converts the data into a source program, an execution form file 400 which stores the source program converted by the function 300, and a flow chart executing function 500 which interprets and executes the source program stored in the file 400.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、システム設計者または
プログラマがフローチャート作成機能を用いてフローチ
ャート形式にてプログラムを作成・編集することによ
り、フローチャートの作成が終了した後は作成されたフ
ローチャートを自動的にソースプログラム(実行形式フ
ァイル)に変換し、且つそのプログラムを解釈し、作成
した元のフローチャートの論理に従って実行することが
可能なプログラム作成実行装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention allows a system designer or programmer to create and edit a program in a flow chart format using a flow chart creating function so that the created flow chart is automatically created after the creation of the flow chart. The present invention relates to a program creating and executing apparatus that can be converted into a source program (executable file), interpret the program, and execute the program according to the logic of the original flowchart created.

【0002】[0002]

【従来の技術】コンピュータのプログラム開発は、まず
プログラムの仕様を決定し、その仕様に合うようにプロ
グラムを設計・作成し、作成されたプログラムが当初に
決定された仕様通りに動作するか否を確認して完成す
る。
2. Description of the Related Art In developing a program for a computer, first, the specifications of the program are determined, and the program is designed and created so as to meet the specifications, and whether or not the created program operates according to the initially determined specifications. Confirm and complete.

【0003】上述のプログラムの開発過程において、ソ
ースプログラムの作成に際しては、まず処理のアルゴリ
ズムをフローチャートに形に表現し、このフローチャー
トに基づいて所望のプログラミング言語を用いてコーデ
ィングするという手順で行われる。このような手法で
は、システム設計者がグラフィック作成ツールあるいは
手書き作業によってアルゴリズムをフローチャートの形
に表現し、それに基づいてプログラマがエディタを用い
てコーディングを行うのが一般的である。この場合、フ
ローチャートはプログラマが参考とするのみであり、コ
ンピュータはフローチャートの情報は全く用いない。
In the process of developing the above-mentioned program, when the source program is created, the processing algorithm is first expressed in the form of a flow chart, and coding is performed using a desired programming language based on this flow chart. In such a method, it is general that the system designer expresses the algorithm in the form of a flow chart by a graphic creation tool or a handwriting work, and based on this, the programmer performs coding using an editor. In this case, the flow chart is for reference only by the programmer, and the computer does not use the flow chart information at all.

【0004】また、大規模なプログラムでは、コーディ
ングにかなりの時間と工程とを要するためプログラマに
かかる負担は非常に大きい。プログラムが膨大になって
も、人海戦術により作業を行うことは可能ではあるが、
コーディングのミスが多発する可能性があり信頼性の面
から問題が生じ、デバッグの負担も大きくなる。
Further, in a large-scale program, coding requires a considerable amount of time and steps, so that the burden on the programmer is very large. Even if the program becomes enormous, it is possible to work with human tactics,
Coding mistakes may occur frequently, causing problems in terms of reliability and increasing the burden of debugging.

【0005】このような事情から、プログラム作成を自
動的に行う装置が種々提案されている。たとえば、特開
昭62− 282301(1987) 号公報, 特開昭63-10233(1988)号
公報等に開示されている発明が公知である。
Under these circumstances, various devices for automatically creating programs have been proposed. For example, the inventions disclosed in JP-A-62-282301 (1987) and JP-A-63-10233 (1988) are known.

【0006】前者の発明は、モニタ上にフローチャート
を作成し、このフローチャートを所定のプログラム言語
に変換することにより、プログラムを作成するプログラ
ム作成実行装置である。
The former invention is a program creating and executing apparatus for creating a program by creating a flowchart on a monitor and converting the flowchart into a predetermined programming language.

【0007】また後者の発明は、モニタ上にフローチャ
ートを作成し、フローチャートを構成する各パターンを
プログラム言語に変換し、不足部分をプログラマが書込
むというプログラム作成の支援装置である。
The latter invention is a program creation support device in which a flowchart is created on a monitor, each pattern forming the flowchart is converted into a programming language, and a programmer writes the lacking part.

【0008】[0008]

【発明が解決しようとする課題】ところで上述のいずれ
の発明においても、フローチャートをプログラム言語に
変換しているため、作成されたプログラムの実行に際し
てはコンパイルする必要が生じるという問題がある。
However, in any of the above-mentioned inventions, since the flowchart is converted into the programming language, there is a problem that the created program needs to be compiled when it is executed.

【0009】本発明はこのような事情に鑑みてなされた
ものであり、システム設計者またはプログラマが、フロ
ーチャート形式を用いてシステムの処理手順を表すプロ
グラムを作成するこにより、作成されたフローチャート
形式のプログラムを自動的にソースプログラムに変換し
てそれを解釈し、直ちに実行することが可能なプログラ
ム作成実行装置の提供を目的とする。
The present invention has been made in view of the above circumstances, and a system designer or a programmer creates a program representing a processing procedure of a system by using the flowchart format. An object of the present invention is to provide a program creating and executing apparatus capable of automatically converting a program into a source program, interpreting the program, and immediately executing the program.

【0010】[0010]

【課題を解決するための手段】本発明のプログラム作成
実行装置は、フローチャートの作成・編集を行う図形処
理編集能力を有するフローチャート作成手段と、フロー
チャート作成機能にて作成されたフローチャートのデー
タを記憶するフローチャート記憶手段と、フローチャー
ト記憶手段に記憶されているデータを解釈してソースプ
ログラムに変換するフローチャート変換手段と、フロー
チャート変換手段により変換されたソースプログラムを
記憶する実行形式プログラム記憶手段と、実行形式プロ
グラム記憶手段に記憶されているソースプログラムを解
釈して実行するフローチャート実行手段とを備えたこと
を特徴とする。
A program creating and executing apparatus of the present invention stores flowchart data created by a flowchart creating function and a flowchart creating means having graphic processing editing capability for creating and editing a flowchart. Flow chart storage means, flow chart conversion means for interpreting data stored in the flow chart storage means and converting it into a source program, execution format program storage means for storing the source program converted by the flow chart conversion means, and execution format program Flowchart execution means for interpreting and executing the source program stored in the storage means.

【0011】[0011]

【作用】本発明のプログラム作成実行装置では、フロー
チャート作成機能によりフローチャートの作成・編集が
行われ、フローチャートファイルに記憶される。このフ
ローチャート記憶手段に記憶されているデータがフロー
チャート変換機能により解釈してソースプログラムに変
換され、実行形式ファイルに記憶される。そして、実行
形式プログラム記憶手段に記憶されているソースプログ
ラムがフローチャート実行機能により解釈されて実行さ
れる。
In the program creating and executing apparatus of the present invention, a flowchart is created and edited by the flowchart creating function and stored in the flowchart file. The data stored in the flowchart storage means is interpreted by the flowchart conversion function, converted into a source program, and stored in the executable file. Then, the source program stored in the executable program storage means is interpreted and executed by the flowchart execution function.

【0012】[0012]

【実施例】以下、本発明をその実施例を示す図面に基づ
いて詳述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings showing the embodiments thereof.

【0013】図1は本発明のプログラム作成実行装置の
基本的な機能構成を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing the basic functional configuration of the program creating and executing apparatus of the present invention.

【0014】図1に示されているように、本発明のプロ
グラム作成実行装置は、フローチャート作成手段として
のフローチャート作成機能100,フローチャート記憶手段
としてのフローチャートファイル200,フローチャート変
換手段としてのフローチャート変換機能300, 実行形式
プログラム記憶手段としての実行形式ファイル400 及び
フローチャート実行手段としてのフローチャート実行機
能500 にて構成されている。
As shown in FIG. 1, the program creating and executing apparatus of the present invention includes a flowchart creating function 100 as a flowchart creating means, a flowchart file 200 as a flowchart storing means, and a flowchart converting function 300 as a flowchart converting means. It is composed of an execution format file 400 as an execution format program storage means and a flowchart execution function 500 as a flowchart execution means.

【0015】フローチャート作成機能100 は、たとえば
CRTディスプレイ等の表示装置の画面上に描画され表示
されている図のコピー・削除・移動等を自由に行いなが
ら専用のエディタ上にフローチャートを作成・編集す
る。このフローチャート作成機能100 における特徴の一
つは、マルチウィンドウ機能を有しており、フローチャ
ートを階層化して作成することが出来る点である。もう
一つの特徴は、フローチャートを構成している各図形を
オブジェクトと称し、各図形の大きさ, ウィンドウ上の
位置, 貼り付けられたテキストの内容, 及び他の図形と
の接続関係等の属性をその図形自身が有している点であ
る。
The flow chart creating function 100 is, for example,
Create / edit flowcharts on a dedicated editor while freely copying / deleting / moving drawings drawn and displayed on the screen of a display device such as a CRT display. One of the features of the flowchart creating function 100 is that it has a multi-window function and that the flowcharts can be created hierarchically. Another feature is that each figure that makes up the flowchart is called an object, and the attributes such as the size of each figure, the position on the window, the content of the pasted text, and the connection relationship with other figures are described. This is the point of the graphic itself.

【0016】フローチャートファイル200 は、フローチ
ャート作成機能100 により作成されたフローチャートの
データを記憶するためのデータファイルである。
The flowchart file 200 is a data file for storing the flowchart data created by the flowchart creation function 100.

【0017】ここで、図2の模式図にフローチャートを
構成する図形の一例を示す。「開始」601 は楕円形また
は長円形にて表示され、フローチャートの処理の開始を
表す。この「開始」601 には、プログラム開始のコメン
ト文あるいは画面に対する表示文等が記述可能である。
Here, an example of the graphics forming the flowchart is shown in the schematic view of FIG. “Start” 601 is displayed in an elliptical shape or an oval shape, and represents the start of the processing of the flowchart. In this "start" 601, a comment statement for starting the program, a display statement for the screen, or the like can be described.

【0018】「処理」602 は長方形にて表示され、計算
式, 変数の中間情報を表示する式等が記述可能である。
「判断」603 は六角形にて表示され、判定式 (大小比
較, 論理演算) 、あるいは基準値等を記述可能である。
「終了」604 は長方形の四隅を面取りした形状にて表示
され、処理の終了を示す。この「終了」604 は処理の最
終結果を出力する式等を記述可能である。
The "process" 602 is displayed in a rectangle, and a calculation formula, a formula for displaying intermediate information of variables, and the like can be described.
“Judgment” 603 is displayed in a hexagon, and judgment formulas (size comparison, logical operation) or reference values can be described.
“End” 604 is displayed in a shape in which the four corners of the rectangle are chamfered, and indicates the end of the process. This “end” 604 can describe an expression or the like that outputs the final result of the processing.

【0019】「処理の流れ」605 は直線にて表示され、
各オブジェクト間を結んでプログラムの処理の流れを表
す。この「処理の流れ」605 によってオブジェクト間を
接続するのみで接続された個々のオブジェクト間の接続
関係を自動的に表すことが出来る。
"Process flow" 605 is displayed as a straight line,
The flow of processing of the program is represented by connecting each object. By this "processing flow" 605, it is possible to automatically represent the connection relationship between the individual objects connected by simply connecting the objects.

【0020】次に、フローチャート変換機能300 では、
フローチャートファイル200 に格納されている各オブジ
ェクトの属性データを用いてフローチャートを順にたど
ることにより、各オブジェクトに貼り付けられているテ
キストを取り出してソースプログラムに変換し、フロー
チャートを実行形式ファイル400 に格納する。
Next, in the flow chart conversion function 300,
By tracing the flowchart using the attribute data of each object stored in the flowchart file 200 in order, the text attached to each object is extracted and converted into a source program, and the flowchart is stored in the executable file 400. ..

【0021】フローチャート実行機能500 は実行形式フ
ァイル400 に格納されているソースプログラムの内容を
1実行単位ずつ読み込んで解釈・実行するインタプリー
タ形式のプログラム実行機能であり、フローチャート作
成機能100 により作成されたフローチャートの論理に従
ってソースプログラムが実行される。
The flow chart execution function 500 is an interpreter format program execution function that reads the contents of the source program stored in the execution format file 400 one execution unit at a time and interprets / executes them. The source program is executed according to the logic of.

【0022】図3は本発明に係るプログラム作成実行装
置の具体的構成例を示すブロック図である。
FIG. 3 is a block diagram showing a concrete configuration example of the program creating / executing apparatus according to the present invention.

【0023】図3に示されている実施例では、プログラ
ム作成実行装置としての計算機10と、この計算機10に接
続されている CRTディスプレイ1,プリンタ2,データ
ベース3,キーボード4及びマウス5等にて構成されて
いる。なお、プログラム作成実行装置としての計算機10
は大型のコンピュータシステムまたはマイクロコンピュ
ータ等が使用可能である。
In the embodiment shown in FIG. 3, a computer 10 as a program creating and executing device, a CRT display 1, a printer 2, a database 3, a keyboard 4, a mouse 5 and the like connected to the computer 10 are used. It is configured. It should be noted that the computer 10 as the program creation execution device
Can use a large computer system or a microcomputer.

【0024】CRTディスプレイ1はその表示画面がフロ
ーチャートの作成作業領域として使用される。プリンタ
2は CRTディスプレイ1の表示画面上に作成されたフロ
ーチャートをドキュメントとして残すためにハードコピ
ーを印刷する。キーボード4及びマウス5はフローチャ
ートの作成,編集のための入力作業を行うための入力装
置である。
The display screen of the CRT display 1 is used as a work area for creating a flowchart. The printer 2 prints a hard copy to leave the flowchart created on the display screen of the CRT display 1 as a document. The keyboard 4 and the mouse 5 are input devices for performing input work for creating and editing the flowchart.

【0025】計算機10は大きくは記憶装置とこの記憶装
置に予め格納されているプログラムに従って動作するCP
U とで構成されているが、フローチャート作成機能100,
フローチャート変換機能300 及びフローチャート実行機
能500 は具体的にはCPU で実現され、フローチャートフ
ァイル200 及び実行形式ファイル400 は具体的には記憶
装置で実現されている。
The computer 10 is mainly a storage device and a CP that operates according to a program previously stored in this storage device.
Although it is composed of U and 100,
The flowchart conversion function 300 and the flowchart execution function 500 are specifically realized by a CPU, and the flowchart file 200 and the execution format file 400 are specifically realized by a storage device.

【0026】フローチャート作成機能100 は、図4にそ
のより詳細な機能構成が示されているが、フローチャー
ト作成部101 と、テキスト文法チェック部102 とから構
成されている。
The flow chart creating function 100, whose detailed functional configuration is shown in FIG. 4, comprises a flow chart creating section 101 and a text grammar checking section 102.

【0027】フローチャート作成部101 は、フローチャ
ートの作成・編集を行い、フローチャートファイル200
を管理する。この際、データベース3に予め登録されて
いるフローチャートそれぞれに使用されるユニークな変
数(フローチャート変数)の型あるいはデータ取得先を
利用する。
The flowchart creating unit 101 creates and edits a flowchart and creates a flowchart file 200.
Manage. At this time, the type of the unique variable (flowchart variable) used for each flowchart registered in advance in the database 3 or the data acquisition source is used.

【0028】テキスト文法チェック部102 は、オブジェ
クトにテキストを貼り付ける際に、その構文に誤りが無
いか否かをチェックする。その際、必要に応じてデータ
ベース3を参照し、使用している変数の型がテキストの
内容と合致しているか否かをチェックする。データベー
ス3には上述の如く、フローチャートそれぞれに使用さ
れるユニークな変数(フローチャート変数)の型あるい
はデータ取得先を登録する。
The text grammar checking unit 102, when pasting text on an object, checks whether or not the syntax is correct. At that time, the database 3 is referred to as necessary, and it is checked whether the type of the variable used matches the content of the text. As described above, the types of unique variables (flowchart variables) used for each flowchart or the data acquisition destination are registered in the database 3.

【0029】フローチャート変換機能300 は、フローチ
ャートを構成するオブジェクトの属性データを利用して
フローチャートを順にたどってソースプログラムに変換
して実行形式ファイル400 に格納する。以下にその変換
の手法について説明する。
The flow chart conversion function 300 uses attribute data of objects forming the flow chart to sequentially follow the flow charts to convert them into a source program and store them in the executable file 400. The conversion method will be described below.

【0030】基本的な考え方は図5に示されている。な
お、図5において参照符号21はフローチャート全体を、
参照符号24は変換後のソースプログラムをそれぞれ示し
ている。
The basic idea is shown in FIG. In FIG. 5, reference numeral 21 indicates the entire flow chart,
Reference numeral 24 indicates the source program after conversion.

【0031】フローチャートをソースプログラムに変換
する際には、フローチャート全体を一つの大きなルール
としてとらえ、「判断」603 から分岐している個々の部
分的なフローチャートをサブルールとしてとらえる。図
5に示されている例では、フローチャート全体をルール
21としてとらえ、「判断」:C603 から分岐している個々
の部分的なフローチャートをそれぞれ第1サブルール2
2, 第2サブルール23としてとらえる。即ち、サブルー
ル22,23としてとらえられるのは、「判断」603から分
岐している個々のフローチャートが「処理」602 または
「判断」603 で始まっている場合であり、「終了」604
が接続されている場合には規則に従って記述する。
When converting a flowchart into a source program, the entire flowchart is regarded as one large rule, and each partial flowchart branched from the "judgment" 603 is regarded as a sub-rule. In the example shown in FIG. 5, the entire flowchart is ruled
Considered as 21, "Judgment": each partial flowchart branching from C603 is the first subrule 2
2, Taken as the second sub-rule 23. That is, what is considered as the sub-rules 22 and 23 is when the individual flowcharts branching from the “judgment” 603 start with “process” 602 or “judgment” 603, and “end” 604.
If is connected, describe according to the rules.

【0032】各ルールはシステムが決定するルール名25
から始まる。一つの実行単位はセミコロン (;)26 で区
切られる。各ルールの最後は「end 」27で終了する。
Each rule is a rule name 25 determined by the system.
start from. A run unit is separated by a semicolon (;) 26. The end of each rule ends with "end" 27.

【0033】「開始」601,「処理」602 及び「終了」:D
604 の変換規則について図6を参照して説明する。な
お、図6は「開始」:A601,「処理」:B, :C602 及び「終
了」:D604 のみで記述されたフローチャートの変換例で
あり、参照符号28にてその変換後のソースプログラムが
示されている。「開始」:A601,「処理」:B, :C602 につ
いては、テキストの内容がそのままソースプログラムに
記述される。「終了」:D604 についてはテキストの内容
の前にシャープ (#) を付けてソースプログラムに記述
される。
"Start" 601, "Process" 602 and "End": D
The conversion rule 604 will be described with reference to FIG. 6 is a conversion example of the flow chart described only by "start": A601, "process": B,: C602 and "end": D604. Reference numeral 28 indicates the source program after the conversion. Has been done. For "Start": A601, "Process": B,: C602, the contents of the text are described as they are in the source program. "End": D604 is described in the source program with a pound (#) before the text content.

【0034】「判断」603 の”if then else endif”文
への変換規則について以下に説明する。図7は「判
断」:A603 において”if then else endif”文への変換
例を示す模式図であり、参照符号29にて変換後のソース
プログラムが示されている。なお、図7に示されている
例は、「判断」:A603 から接続している「処理の流れ」
605 が2本あり、それぞれの「処理の流れ」605 に貼り
付けられているテキストがY(YES)とN(NO) とである場合
であり、それぞれの「処理の流れ」605 が第1,第2サ
ブルールになる。
The conversion rule of the "judgment" 603 to the "if then else endif" statement will be described below. FIG. 7 is a schematic diagram showing an example of conversion into “if then else endif” statement in “judgment”: A603, and reference numeral 29 shows the source program after conversion. In addition, the example shown in FIG. 7 is "judgment": "process flow" connecting from A603.
This is a case where there are two 605 and the texts pasted to the respective “flows of processing” 605 are Y (YES) and N (NO). It becomes the second subrule.

【0035】次に「判断」603 の”case endcase”文へ
の変換規則について以下に説明する。図8は「判断」:A
603 において”case endcase”文への変換例を示す模式
図であり、参照符号30にて変換後のソースプログラムが
示されている。なお、図8に示されている例は、「判
断」:A603 から接続している3本の「処理の流れ」605
にそれぞれ貼り付けられているテキストが数字(1, 2)ま
たはOTHER である場合であり、3本の「処理の流れ」60
5 それぞれが第1,第2,第3サブルールになる。
Next, the rules for converting the "judgment" 603 into the "case endcase" sentence will be described below. Figure 8 shows "Judgment": A
603 is a schematic diagram showing an example of conversion into a “case endcase” statement in 603, and the reference numeral 30 represents the source program after conversion. Note that the example shown in FIG. 8 is “judgment”: three “processing flows” 605 connected from A603.
When the text pasted to each is a number (1, 2) or OTHER, the three "flows of processing" 60
5 Each becomes the first, second, and third subrules.

【0036】以上の規則に則ってあらゆる場合のフロー
チャートをフローチャート変換機能300 によりソースプ
ログラムに変換して実行形式ファイル400 に格納するこ
とが可能である。
In accordance with the above rules, it is possible to convert a flowchart in any case into a source program by the flowchart conversion function 300 and store it in the executable file 400.

【0037】フローチャート実行機能500 は、図9の模
式図にそのより詳細な機能構成が示されているが、字句
解析部501 と構文解析・処理実行部502 とで構成されて
いる。
The flow chart execution function 500 is composed of a lexical analysis unit 501 and a syntax analysis / process execution unit 502, the detailed functional configuration of which is shown in the schematic diagram of FIG.

【0038】字句解析部501 は実行形式ファイル400 か
ら読み込んだソースプログラムの有効な文字列を1語単
位で切り出し、その結果を構文解析・処理実行部502 へ
送る。構文解析・処理実行部502 は、字句解析部501 で
切り出されたソースプログラムの各1語がいずれの1実
行単位の構文に合致するかを解析する。合致する構文が
ある場合にはその処理を実行し、ユーザ31またはデータ
ベース3から値を取得して次へ処理を移す。この処理を
反復することにより、ユーザが作成したフローチャート
の論理に基づいてインタプリータ形式でプログラムが実
行される。
The lexical analysis unit 501 cuts out a valid character string of the source program read from the execution format file 400, word by word, and sends the result to the syntax analysis / process execution unit 502. The syntax analysis / process execution unit 502 analyzes which one execution unit each word of the source program cut out by the lexical analysis unit 501 matches the syntax of which one execution unit. If there is a matching syntax, the processing is executed, the value is acquired from the user 31 or the database 3, and the processing is moved to the next. By repeating this process, the program is executed in the interpreter format based on the logic of the flowchart created by the user.

【0039】[0039]

【発明の効果】以上に詳述したように本発明のプログラ
ム作成実行装置によれば、難解なプログラミング手法を
理解していなくとも、プログラムの処理手順をフローチ
ャートに記述するのみにてそれをプログラムして実行す
ることが可能になる。
As described above in detail, according to the program creating / executing apparatus of the present invention, even if an incomprehensible programming method is not understood, it can be programmed only by describing the processing procedure of the program in the flowchart. It becomes possible to execute it.

【0040】また、ソースプログラムをそのまま実行す
るインタプリータ形式を採用しているので、C言語等の
ようなコンパイル作業なしに直ちにプログラムを実行す
ることが出来る。
Further, since the interpreter format for directly executing the source program is adopted, the program can be immediately executed without compiling work such as C language.

【0041】更に、フローチャート形式によるプログラ
ムは、処理の流れを視覚的にたどることが出来るので、
第3者でも容易に理解可能になる。
Further, since the program in the flow chart format can visually trace the flow of processing,
Even a third party can easily understand.

【0042】また更に、電子化された図形を用いたプロ
グラム作成は、プログラムの修正追加が容易であり、先
に挙げた効果と併せてシステムメンテナス性が非常に高
くなる。
Furthermore, in the case of creating a program using computerized graphics, it is easy to modify and add the program, and in addition to the effects mentioned above, the system maintainability becomes very high.

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

【図1】本発明のプログラム作成実行装置の基本的な機
能構成を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing a basic functional configuration of a program creating and executing apparatus of the present invention.

【図2】フローチャートを構成する図形の一例を示す模
式図である。
FIG. 2 is a schematic diagram showing an example of a graphic forming a flowchart.

【図3】本発明に係るプログラム作成実行装置の具体的
構成例を示すブロック図である。
FIG. 3 is a block diagram showing a specific configuration example of a program creation execution device according to the present invention.

【図4】フローチャート作成機能のより詳細な機能構成
を示すブロック図である。
FIG. 4 is a block diagram showing a more detailed functional configuration of a flowchart creating function.

【図5】フローチャート変換機能によるフローチャート
のソースプログラムへの変換手法を明するための模式図
である。
FIG. 5 is a schematic diagram for explaining a method of converting a flowchart into a source program by a flowchart conversion function.

【図6】「開始」, 「処理」及び「終了」の変換規則に
ついてのみで記述されたフローチャートのソースプログ
ラムへの変換例を示す模式図である。
FIG. 6 is a schematic diagram showing an example of conversion into a source program of a flowchart described only for conversion rules of “start”, “process”, and “end”.

【図7】「判断」においてソースプログラムの”if the
n else endif”文への変換例を示す模式図である。
[Fig. 7] "if" of the source program in "judgment"
It is a schematic diagram which shows the example of conversion into a "n else endif" sentence.

【図8】「判断」においてソースプログラムの”case e
ndcase”文への変換例を示す模式図である。
[Fig. 8] "case e" of the source program in "judgment"
It is a schematic diagram which shows the example of conversion into a "ndcase" sentence.

【図9】フローチャート実行機能のより詳細な機能構成
を示すブロック図である。
FIG. 9 is a block diagram showing a more detailed functional configuration of a flowchart execution function.

【符号の説明】[Explanation of symbols]

100 フローチャート作成機能 200 フローチャートファイル 300 フローチャート変換機能 400 実行形式ファイル 500 フローチャート実行機能 100 Flowchart creation function 200 Flowchart file 300 Flowchart conversion function 400 Executable file 500 Flowchart execution function

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 フローチャートの作成・編集を行う図形
処理編集能力を有するフローチャート作成手段と、 該フローチャート作成機能にて作成されたフローチャー
トのデータを記憶するフローチャート記憶手段と、 該フローチャート記憶手段に記憶されているデータを解
釈してソースプログラムに変換するフローチャート変換
手段と、 該フローチャート変換手段により変換されたソースプロ
グラムを記憶する実行形式プログラム記憶手段と、 該実行形式プログラム記憶手段に記憶されているソース
プログラムを解釈して実行するフローチャート実行手段
とを備えたことを特徴とするプログラム作成実行装置。
1. A flowchart creating means having graphic processing editing ability for creating / editing a flowchart, a flowchart storing means for storing data of the flowchart created by the flowchart creating function, and a flowchart storing means stored in the flowchart storing means. Flow chart converting means for interpreting the stored data and converting it into a source program, execution format program storing means for storing the source program converted by the flow chart converting means, and source program stored in the execution format program storing means And a flowchart executing means for interpreting and executing the program creation executing device.
JP4094814A 1992-03-20 1992-03-20 Program producing/executing device Pending JPH05265733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4094814A JPH05265733A (en) 1992-03-20 1992-03-20 Program producing/executing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4094814A JPH05265733A (en) 1992-03-20 1992-03-20 Program producing/executing device

Publications (1)

Publication Number Publication Date
JPH05265733A true JPH05265733A (en) 1993-10-15

Family

ID=14120529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4094814A Pending JPH05265733A (en) 1992-03-20 1992-03-20 Program producing/executing device

Country Status (1)

Country Link
JP (1) JPH05265733A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146075A (en) * 2007-12-13 2009-07-02 Keyence Corp Image processing controller and test support system
JP2021135590A (en) * 2020-02-25 2021-09-13 シャープ株式会社 Program controller and method for controlling program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146075A (en) * 2007-12-13 2009-07-02 Keyence Corp Image processing controller and test support system
JP2021135590A (en) * 2020-02-25 2021-09-13 シャープ株式会社 Program controller and method for controlling program

Similar Documents

Publication Publication Date Title
US6466240B1 (en) Method for visually writing programs or scripts that transform structured text presented as a tree
JPH06110701A (en) Device and method for converting computer program language
JPH0528435B2 (en)
JP5147240B2 (en) Method and system for reversible design tree transformation
CN110968294B (en) Business domain model establishing system and method
WO2019098107A1 (en) Translation support device, translation support program, and method to support translation with information processing device
JPH0916382A (en) Program development supporting system
JPH05265733A (en) Program producing/executing device
JP2946715B2 (en) Program generation method and specification input method for it
JPH07160490A (en) Coding assistance device
JPH07146785A (en) Method for automatically generating program and device therefor
JPS63109578A (en) Processing system for logic diagram outline display
Szwillus GEGS-a system for generating graphical editors
JPS62145424A (en) Program managing method
JP3112623B2 (en) Program production support equipment
JPH08272596A (en) Program design generation device
JP6906155B2 (en) Automatic software generator capable of reverse engineering
JPH0553785A (en) Linking and editing method for graphic editor and text editor
JP2974401B2 (en) LSI design support equipment
JPH05324289A (en) Device for automatically generating programming specification
JPH05134854A (en) Software development supporting device
JPH02297150A (en) Text processor
JPH0798707A (en) Document processor
JPH0793144A (en) Program analyzer
JPH03252760A (en) Document editing method and document editing device