JPH01205334A - Program editing device - Google Patents

Program editing device

Info

Publication number
JPH01205334A
JPH01205334A JP2895088A JP2895088A JPH01205334A JP H01205334 A JPH01205334 A JP H01205334A JP 2895088 A JP2895088 A JP 2895088A JP 2895088 A JP2895088 A JP 2895088A JP H01205334 A JPH01205334 A JP H01205334A
Authority
JP
Japan
Prior art keywords
source code
program parts
program
existed
pattern
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
JP2895088A
Other languages
Japanese (ja)
Inventor
Junko Mizobuchi
溝渕 順子
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2895088A priority Critical patent/JPH01205334A/en
Publication of JPH01205334A publication Critical patent/JPH01205334A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To facilitate the generation of a source code file by constituting the titled device in such a way that a control structure block table is guided and displayed in a display screen and retrieved ones are copied in the source code file if necessary. CONSTITUTION:When a system operates, a sorter code text editing screen is displayed in the display of an engineering work station 1. For reutilizing existed program parts, an existed program parts retrieval part 7 is operated and an existed program parts retrieval screen is caused to appear from an existed program parts data base 8. When the source code to be generated is a fixed pattern, a fixed pattern development part 5 is operated, and the pattern is developed, whereby it is inserted into a source code editing area. For inputting a variable to the developed pattern and generating a non-fixed source code, various commands are used by a mouse-operation. The necessary ones are selected and are copied to the source code hereafter.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は、プログラム編集装置に係わり、特に既存プロ
グラム部品の再利用ができるプログラム編集装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention (Field of Industrial Application) The present invention relates to a program editing device, and particularly to a program editing device that can reuse existing program components.

(従来の技術) −iに、ソフトウェアの開発においてモジュール分割さ
れた各モジュールのソースコードファイルを作成する場
合には、先ずモジュール毎の設計書を作成し、この設計
書に基づいて予め作成されたコーディングシート上にソ
ースコードを手作業で書き込み、例えば端末のキーボー
ドからこのソースコードを入力して、ソースコードファ
イルを完成する。
(Prior art) -i. When creating a source code file for each module divided into modules in software development, a design document for each module is first created, and a file created in advance based on this design document is created. The source code file is completed by manually writing the source code on the coding sheet and inputting this source code, for example, from the keyboard of the terminal.

このような方法によるソースコードファイルの作成は、
いずれも手作業により行われているため、作業効率が悪
く、また、ミスが発生して確実性に欠ける等の問題があ
る。
Creating a source code file using this method is
Since all of these processes are performed manually, there are problems such as poor work efficiency, errors that occur, and a lack of reliability.

この為、近年端末のキーボードからの入力を文字単位で
はなくて、プログラミングコードの制御構造ブロック単
位とするために、プログラム編集装置が開発された。
For this reason, in recent years, program editing devices have been developed in order to input input from a terminal keyboard not in units of characters but in units of control structure blocks of programming code.

すなわちこの装置は、任意の制御構造ブロックを示すコ
マンドを端末のキーボードから入力することにより、そ
の制御構造ブロックをソースコードに自動的に展開して
ソースコードファイルを作成するものである。
That is, this device automatically expands the control structure block into source code by inputting a command indicating an arbitrary control structure block from the keyboard of the terminal to create a source code file.

一方、近年ソースコードの作成量自身を減らすための一
つの手段として、既存10グラム部品の再利用が提唱さ
れ、このための既存プログラム部品の検索装置が開発さ
れた。
On the other hand, in recent years, reuse of existing 10-gram components has been proposed as a means to reduce the amount of source code created, and a search device for existing program components has been developed for this purpose.

すなわち、この装置は動作の内容や制限事項などによっ
て分類、整理された既存プログラム部品群を検索し、検
索されたプログラム部品に間する情報をデイスプレィ上
に表示するものである。
That is, this device searches for a group of existing program parts that are classified and organized according to the content of the operation, restrictions, etc., and displays information related to the searched program parts on a display.

(発明が解決しようとする課題) しかしながら、上述のプログラム編集装置は、端末のキ
ーボードを使ってプログラミングコードの制御構造ブロ
ックを示すコマンドを入力するため、ユーザはそのコマ
ンドを覚えなければならず、この装置に慣れない初心者
には作業性の低下を来すものである。
(Problem to be Solved by the Invention) However, the above program editing device uses the terminal keyboard to input a command indicating a control structure block of programming code, so the user must memorize the command. For beginners who are not familiar with the device, the workability is reduced.

また、上述した既存プログラム部品の検索装置は、単独
で動作する専用機のなめ、この装置をプログラム製造に
おける既存プログラム部品の再利用に使用する場合、こ
の装置にて検索した結果を例えばメモに書き収るなど何
等かの手段で記録した後、改めてコーディングシートに
書き込まなければならず、この二度手間は作業性の低下
を来すのみならず、メモの記入ミスなどに起因する確実
性の低下をも来すものである。
In addition, the above-mentioned search device for existing program parts is a dedicated machine that operates independently, and when this device is used to reuse existing program parts in program production, the search results with this device can be written, for example, in a memo. After recording by some means, such as recording the data, it is necessary to write it again on the coding sheet, and this double effort not only reduces work efficiency, but also reduces reliability due to mistakes in memo writing etc. It also brings about

この発明の目的は、初心者などの装置の取扱に不=Ii
れなものにあっても、制御ブロック単位によるソースコ
ードファイルの作成を容易に行うことができ、またプロ
グラム部品を再利用するに際し手作業を省いて作業能率
を向上させることがきるようにしたプログラム編集装置
を提供することにある。
The purpose of this invention is to
A program that allows you to easily create source code files in control block units even if the program is small, and that improves work efficiency by eliminating manual work when reusing program parts. The purpose is to provide an editing device.

[発明の構成コ (課題を解決するための手段) この発明は、上記の目的を達成するなめに、ソースコー
ドに展開して入力可能なプログラミングコードの制御構
造ブロックー覧を表示画面上に案内表示させ、この案内
表示に応じて選択された制御構造ブロックをソースコー
ドファイル内に展開する手段と、 指定された機能のプログラム部品を既存プログラム部品
の中から検索し、検索された既存プログラム部品の関数
定義、関数呼び出し記述、引数定義、あるいはそのソー
スコードの一部などをソースコードファイルに複写する
手段と、 を具備すること、を特徴とするものである。
[Configuration of the Invention (Means for Solving the Problems) In order to achieve the above object, the present invention provides a guide display on a display screen of a list of control structure blocks of programming code that can be expanded into source code and input. means to expand a control structure block selected in accordance with this guidance display into a source code file, and to search for a program component with a specified function from among existing program components, and to extract the function of the searched existing program component. The present invention is characterized by comprising means for copying definitions, function call descriptions, argument definitions, or part of the source code into a source code file.

(作用) このような構成によれば、表示画面上には制御構造ブロ
ック一覧が案内表示される。
(Operation) According to such a configuration, a list of control structure blocks is displayed as a guide on the display screen.

また、必要により既存プログラム部品の中から検索され
たプログラム部品の関数定義、関数呼び出し記述、引数
定義、あるいはそのソースコードの一部などは、そのま
まソースコードファイルに複写される。
Further, if necessary, function definitions, function call descriptions, argument definitions, or part of the source code of a program component retrieved from existing program components are copied as they are to the source code file.

(実施例) 以下、本発明の一実施例を図面に基づいて詳細に説明す
る。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は、本発明の一実施例に係わるプログラム編集装
置のシステム構成を示すブロック図である。
FIG. 1 is a block diagram showing the system configuration of a program editing device according to an embodiment of the present invention.

図において、エンジニアリングワークステーション1は
、キーボードとマウスからなるデータ入力部とビットマ
ツプデイスプレィ(VDT)8からなるデータ出力部と
を備えており、これらを用いてオペレータとこのシステ
ムとの対話が行われるようになっている。
In the figure, an engineering workstation 1 is equipped with a data input section consisting of a keyboard and a mouse, and a data output section consisting of a bitmap display (VDT) 8, and these are used to allow an operator to interact with the system. It is becoming more and more popular.

画面管理部2は、エンジニアリングワークステーション
1の入力信号やデータ出力用VDT画面の管理を行うも
のである。
The screen management section 2 manages the input signals of the engineering workstation 1 and the VDT screen for data output.

ソースコードテキスト編集部3は、ソースコードファイ
ル4に対して編集メニュー(ポツプアップメニュー)を
用いてテキストの挿入や削除などの通常の編集操作を行
うものである。
The source code text editing section 3 performs normal editing operations such as inserting and deleting text on the source code file 4 using an editing menu (pop-up menu).

定型パターン展開部5は、プログラミングコードの定型
パターンを定義し格納しているファイル6の全パターン
をVDT画面に案内表示し、オペレータの指示により指
定されたパターンをソースコードに展開して挿入するも
のである。
The standard pattern expansion unit 5 displays all patterns in a file 6 that defines and stores standard patterns of programming code on the VDT screen, and expands and inserts the specified pattern into the source code according to the operator's instructions. It is.

既存プログラム部品検索部7は、既存プログラム部品デ
ータベース8に格納されている分類に基づいて、既存プ
ログラム部品をオペレータに提示する。
The existing program component search unit 7 presents existing program components to the operator based on the classification stored in the existing program component database 8.

オペレータは上記テキストと対話して既存プログラム部
品を検索し必要に応じてその結果をソースコードテキス
ト編集部3の編集メニューによりソースコード内に複写
してくる。
The operator interacts with the text to search for existing program parts and, if necessary, copies the results into the source code using the edit menu of the source code text editor 3.

他システム接続部9は、ソースコードフォーマツタ、コ
ンパイラ、デバッガ、リストなどの他システム10に編
集したソースコードを転送し、必要に応じてその結果を
受取りソースコードに反映させる。
The other system connection unit 9 transfers the edited source code to another system 10 such as a source code formatter, compiler, debugger, list, etc., and receives the result as necessary to reflect the result in the source code.

次に、このように構成されたプログラム編集装置による
ソースコード製造作業の流れを第2図に示すフローチャ
ートに基づいて説明する。
Next, the flow of source code production work using the program editing apparatus configured as described above will be explained based on the flowchart shown in FIG. 2.

本システムが動作すると、エンジニアリングワークステ
ーション1のデイスプレィ(VDT)8には先ず第3図
に示すソースコードテキスト編集画面が表示される。
When this system operates, the source code text editing screen shown in FIG. 3 is first displayed on the display (VDT) 8 of the engineering workstation 1.

そして、これ以降のプログラム編集作業において既存プ
ログラム部品の再利用を行う場合には(ステップ201
)、その前準備として、第3図に示す画面部位301に
おいてマウスをクリック操作することにより、既存プロ
グラム部品検索部7を作動させ、既存プログラム部品デ
ータベース8内から第4図に示す既存プログラム部品検
索画面を出現させる(ステップ202>。
If existing program parts are to be reused in subsequent program editing work (step 201
), as a preliminary preparation, by clicking the mouse on the screen area 301 shown in FIG. 3, the existing program parts search section 7 is activated, and the existing program parts search shown in FIG. 4 is performed from the existing program parts database 8. A screen appears (step 202>).

次に、作成するソースコードが定型パターンである場合
(ステップ203)には、第3図のパターンガイドエリ
ア302に表示されている定型パターンの中の該当する
パターン上でマウスをクリック操作する。すると、定型
パターン展開部5が動作して、そのパターンは展開され
て第3図のソースコードテキスト編集エリア303に挿
入される(ステップ204)。
Next, if the source code to be created is a standard pattern (step 203), the mouse is clicked on the corresponding pattern among the standard patterns displayed in the pattern guide area 302 of FIG. Then, the standard pattern development section 5 operates, and the pattern is developed and inserted into the source code text editing area 303 in FIG. 3 (step 204).

一方、展開したパターンの中に変数を入れたり非定型の
ソースコードを作成する場合には、キーボードから入力
するかあるいは第3図のソースコードテキスト編集エリ
ア303内で、編集メニュー304のテキスト削除、挿
入などの各種コマンドをマウス操作で使用することによ
り行う(ステップ205)。
On the other hand, when inserting variables into the developed pattern or creating non-standard source code, enter text from the keyboard or delete text from the edit menu 304 in the source code text editing area 303 shown in FIG. This is done by using various commands such as insertion with the mouse (step 205).

更に、ソースコード中に既存プログラム部品の呼出し文
を入れる場合で、その既存プログラム部品にまつわる記
述、すなわち関数定義や関数呼出し記述や引数定義など
が複雑であったり不明確であるような場合(ステップ2
03)には、既存プログラム部品検索部7を動作させて
、第4図に示す既存プログラム部品検索画面にて該当す
る部品を検索した後(ステップ206) 、第4図の検
索結果表示エリア401に表示された内容の中から必要
なものをマウス操作で選択する。
Furthermore, when inserting a call statement for an existing program component into the source code, the descriptions related to the existing program component, such as function definitions, function call descriptions, argument definitions, etc., are complex or unclear (step 2).
In step 03), the existing program component search unit 7 is activated to search for the corresponding component on the existing program component search screen shown in FIG. 4 (step 206), and then the search result display area 401 in FIG. Select the required item from the displayed contents using the mouse.

その後、第3図のソースコードテキスト編集エリア30
3内の編集メニュー304のテキスト受信コマンド(受
信後送信)を使ってソースコードに複写してくる(ステ
ップ207)、このとき、複写された状態を第5図に示
す。
After that, the source code text editing area 30 in FIG.
The source code is copied using the text reception command (send after reception) in the edit menu 304 (step 207), and the copied state at this time is shown in FIG.

そして、ソースコードが完成するまで(ステラ1208
) 、以上の動作を繰り返す、完成したソースコードは
ソースコードファイル4にファイルされる。
And until the source code is completed (Stella 1208
), the above operations are repeated, and the completed source code is filed in source code file 4.

ソースコードが完成して(ステップ208)ソースコー
ドフォーマツタ、コンパイラ1デバツガ。
When the source code is completed (step 208), the source code is formatted and the compiler is debugged.

リストなどの他システムの工程に進む場合は、第3図の
画面部位305でマウスをクリック操作することにより
、他システム接続部9を作動させ、希望する他システム
へ編集したソースコードを転送し、そのシステムから結
果が得られる場合にはその結果を受信する(ステップ2
09)。
When proceeding to the process of another system such as a list, click the mouse on the screen area 305 in FIG. 3 to activate the other system connection section 9 and transfer the edited source code to the desired other system. If a result is available from the system, receive the result (step 2
09).

以上の実施例装置によれば、デイスプレィの画面上にソ
ースコードに展開して入力できるプログラミングコード
の制御構造ブロックを一覧表示し、それをマウスを使っ
て指示することでソースコードファイル4内に展開でき
るようにしてソースコード作成の作業効率の向上を図る
ことができる。
According to the above-described embodiment, a list of control structure blocks of programming code that can be expanded into source code and input is displayed on the display screen, and the block can be expanded into the source code file 4 by instructing it using the mouse. This makes it possible to improve the work efficiency of source code creation.

また、プログラム編集装置に既存プログラム部品の検索
機能を付加したことにより、プログラム編集中に既存プ
ログラム部品の検索とその検索結果の製造中のプログラ
ムへの複写をすることができ、ソフトウェア開発におけ
る作業効率及び確実性の向上を図ることができる。
In addition, by adding a search function for existing program parts to the program editing device, it is possible to search for existing program parts during program editing and copy the search results to the program being manufactured, improving work efficiency in software development. and reliability can be improved.

更に、プログラム編集装置内に作成されたソースコード
ファイルをソースコードフォーマツタ。
Furthermore, source code files created in the program editing device can be converted into source code formatters.

コンパイラ、デバッガ、リスト出力などの多機能に転送
しその結果を受は取る機能を持たせたことにより、ソー
スコード製造工程が終わった後の次工程への作業の移行
を円滑且つ容易にし、ソフトウェア開発における作業効
率の向上をより一層図ることができる。
By having the function to transfer and receive the results to multiple functions such as a compiler, debugger, and list output, the transition to the next process after the source code production process is completed is smooth and easy, and the software Work efficiency in development can be further improved.

[発明の効果] 以上説明したように、この発明によれば、初心者などの
装置の取扱に不慣れなものにあっても、制御構造ブロッ
ク単位によるソースコードファイルの作成を容易に行う
ことができ、またプログラム部品を再利用するに際し手
作業を省いて作業能率を向上させることができる。
[Effects of the Invention] As explained above, according to the present invention, even a beginner or someone inexperienced in handling the device can easily create a source code file in units of control structure blocks. Further, when reusing program parts, manual work can be omitted and work efficiency can be improved.

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

第1図は本発明の一実施例に係わるプログラム編集装置
を示すシステム構成図、第2図は同装置の動作を説明す
るためのフローチャート、第3図は同装置で表示される
プログラム編集画面を示す図、第4図は同装置で表示さ
れる既存プログラム部品検索画面を示す図、第5図は第
4図の記述を第3図に示す画面へ複写した結果を示す図
である。 1・・・エンジニアリングワークステーション 2・・・画面管理部 3・・・ソースコードテキスト編集部 4・・・ソースコードファイル 5・・・定型パターン展開部 6・・・プログラミングコード定型パターンファイル 7・・・既存プログラム部品検索部 8・・・既存プログラム部品データベース9・・・他シ
ステム接続部 10・・他システム
FIG. 1 is a system configuration diagram showing a program editing device according to an embodiment of the present invention, FIG. 2 is a flowchart for explaining the operation of the device, and FIG. 3 is a program editing screen displayed by the device. 4 is a diagram showing an existing program component search screen displayed on the same device, and FIG. 5 is a diagram showing the result of copying the description in FIG. 4 to the screen shown in FIG. 3. 1... Engineering workstation 2... Screen management section 3... Source code text editing section 4... Source code file 5... Fixed pattern development section 6... Programming code fixed pattern file 7...・Existing program parts search unit 8...Existing program parts database 9...Other system connection unit 10...Other systems

Claims (1)

【特許請求の範囲】[Claims] (1)ソースコードに展開して入力可能なプログラミン
グコードの制御構造ブロック一覧を表示画面上に案内表
示させ、この案内表示に応じて選択された制御構造ブロ
ックをソースコードファイル内に展開する手段と、 指定された機能のプログラム部品を既存プログラム部品
の中から検索し、検索された既存プログラム部品の関数
定義、関数呼び出し記述、引数定義、あるいはそのソー
スコードの一部などをソースコードファイルに複写する
手段と、 を具備することを特徴とする、プログラム編集装置。
(1) Means for displaying a list of control structure blocks of programming code that can be expanded and input into source code on a display screen, and expanding control structure blocks selected in accordance with this guidance display into a source code file. , Search for a program part with a specified function among existing program parts, and copy the function definition, function call description, argument definition, or part of its source code of the found existing program part to a source code file. A program editing device comprising: means;
JP2895088A 1988-02-12 1988-02-12 Program editing device Pending JPH01205334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2895088A JPH01205334A (en) 1988-02-12 1988-02-12 Program editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2895088A JPH01205334A (en) 1988-02-12 1988-02-12 Program editing device

Publications (1)

Publication Number Publication Date
JPH01205334A true JPH01205334A (en) 1989-08-17

Family

ID=12262688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2895088A Pending JPH01205334A (en) 1988-02-12 1988-02-12 Program editing device

Country Status (1)

Country Link
JP (1) JPH01205334A (en)

Similar Documents

Publication Publication Date Title
JP4058118B2 (en) Program generation system and method
US5990906A (en) Undo feature for a graphical programming system
US5852564A (en) Method and apparatus for interactively displaying signal information during computer simulation of an electrical circuit
US5130932A (en) Generating device for production system simulator
JP4088760B2 (en) Design work support device
US6321378B1 (en) Automated code replication during application development
JPH01205334A (en) Program editing device
JPH03241439A (en) Test data preparation tool
JPH06274333A (en) Input support method and editing support method for program
JP3124342B2 (en) Annotation element creation and editing method in CAD system
JPH07160536A (en) Program test supporting device for interactive system
JPH06110733A (en) Test case generating device of program
JPH04294424A (en) Interactive screen controller for computer system
CA1281140C (en) Managing object relationships
JPH05189274A (en) History information management system
EP0497283A2 (en) A document processor
JP4127318B2 (en) Program generation method and apparatus
JP2000132295A (en) Gui operation specification describing device, and gui controller and gui system
JPH0752387B2 (en) Software development support device
JP2619487B2 (en) File operation method
JPH056291A (en) Method for preparing and managing test resources
JP3966355B2 (en) Program generation method and apparatus
JPS62145424A (en) Program managing method
JP3113048B2 (en) Software component synthesizer
JPH04160618A (en) Text editor