JPH04217023A - Source program presenting device - Google Patents
Source program presenting deviceInfo
- Publication number
- JPH04217023A JPH04217023A JP41120690A JP41120690A JPH04217023A JP H04217023 A JPH04217023 A JP H04217023A JP 41120690 A JP41120690 A JP 41120690A JP 41120690 A JP41120690 A JP 41120690A JP H04217023 A JPH04217023 A JP H04217023A
- Authority
- JP
- Japan
- Prior art keywords
- comment
- source program
- control information
- output
- output control
- 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.)
- Withdrawn
Links
Landscapes
- Stored Programmes (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、ソースプログラムとこ
れに埋め込まれたコメント文を出力してその提示を行な
うソースプログラム提示装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a source program presentation device that outputs and presents a source program and comments embedded therein.
【0002】多くの場合、ソースプログラムはフルスク
リーンのエディタを用いて編集され、その際にコメント
文がソースプログラムに埋め込まれる。[0002] In many cases, a source program is edited using a full-screen editor, and comment statements are embedded in the source program at this time.
【0003】0003
【従来の技術】従来のエディタにおいては、コメント分
の埋め込まれたソースプログラムがそのまま表示されて
おり、そのコメント文部分はソースプログラムの内容を
理解するための説明文,注釈文として利用される。2. Description of the Related Art In conventional editors, source programs with embedded comments are displayed as they are, and the comment portions are used as explanations and annotations for understanding the contents of the source program.
【0004】図12(A),(B),(C)にはコメン
ト文が埋め込まれたソースプログラムの一例が示されて
おり、各コメント文の行先頭にはアスタリスクマーク”
*”が付されている。[0004] FIGS. 12A, 12B, and 12C show examples of source programs in which comment statements are embedded, and each comment statement has an asterisk mark "" at the beginning of the line.
*” is attached.
【0005】従来においてはこれらのコメント文が全て
表示されるので、図12(A),(B),(C)のコメ
ント文1,2,3からソースプログラムの概要,両サブ
ルーチンの概要を各々理解でき、さらに、他のコメント
文からソースプログラムの詳細な内容を理解できる。Conventionally, all of these comment statements are displayed, so the outline of the source program and the outline of both subroutines are shown from comment statements 1, 2, and 3 in FIGS. 12(A), (B), and (C), respectively. You can understand it, and you can also understand the detailed contents of the source program from other comments.
【0006】ここで、プログラム内容を他人や初心者に
理解させることを目的とする場合には、そのソースプロ
グラムに詳細なコメント文が図12(A),(B),(
C)のように数多く埋め込まれる。[0006] Here, if the purpose is to help others or beginners understand the contents of the program, detailed comments may be added to the source program in FIGS. 12(A), (B), (
C) are embedded in large numbers.
【0007】また、プログラム開発後にその開発者や熟
練者がソースプログラムを修正したりこれを他のプログ
ラムで利用することを目的とする場合には、図12(A
),(B),(C)のコメント文1,2,3のみが埋め
込まれる。[0007] Furthermore, if the developer or expert wants to modify the source program after developing the program or use it in another program, the method shown in FIG.
), (B), and (C) only comment sentences 1, 2, and 3 are embedded.
【0008】このように、ソースプログラムに埋め込ま
れるコメント文の数や詳細度はそのソースプログラムを
読む者のレベルにより異なる。[0008] As described above, the number and level of detail of comment sentences embedded in a source program vary depending on the level of the person reading the source program.
【0009】[0009]
【発明が解決しようとする課題】しかしながら、図12
(A),(B),(C)のソースプログラムをその開発
者や熟練者が読む場合には、ソースリストが煩雑と感じ
られ、かえってプログラム内容の理解の妨げとなる。[Problem to be solved by the invention] However, FIG.
When a developer or an expert reads the source programs of (A), (B), and (C), the source list may seem complicated and may actually hinder understanding of the program contents.
【0010】また、図12(A),(B),(C)のコ
メント文1,2,3のみが埋め込まれていたソースプロ
グラムを他人や初心者が読む場合には、プログラム内容
の十分な理解が困難となる。[0010] Furthermore, when someone else or a beginner reads the source program in which only comment sentences 1, 2, and 3 in Figs. becomes difficult.
【0011】本発明は上記の事情に鑑みてなされたもの
であり、その目的は、適切なコメント文の付されたソー
スプログラムをその読み手に提示することが可能となる
装置を提供することにある。The present invention has been made in view of the above circumstances, and its purpose is to provide a device that makes it possible to present a source program with appropriate comments attached to the reader. .
【0012】0012
【課題を解決するための手段】上記目的を達成するため
に、本発明にかかる装置は図1のように構成されている
。Means for Solving the Problems In order to achieve the above object, an apparatus according to the present invention is constructed as shown in FIG.
【0013】図1において、プログラム読込手段10は
コメント文が埋め込まれたソースプログラムを読み込み
、出力制御情報設定手段12は読み込まれたソースプロ
グラム中で指定されたコメント文に対して出力制御情報
を設定する。In FIG. 1, a program reading means 10 reads a source program in which a comment statement is embedded, and an output control information setting means 12 sets output control information for a comment statement specified in the read source program. do.
【0014】そして、コメント出力判断手段14はコメ
ント文が出力対象となるか否かを対応設定の出力制御情
報により判断し、プログラム出力手段16は出力の対象
となるコメント文をソースプログラムの本体(コメント
文は除かれる)とともに出力する。[0014] Then, the comment output determining means 14 determines whether or not the comment sentence is to be outputted based on the output control information of the corresponding setting, and the program outputting means 16 converts the comment sentence to be outputted into the main body of the source program ( Comments are removed).
【0015】なお、判断基準情報設定手段18はコメン
ト出力判断手段14の判断基準となる情報を予め設定し
、出力制御情報格納手段20は設定された出力制御情報
をソースプログラムとは別のファイルに格納する。Note that the judgment criterion information setting means 18 sets in advance information that serves as a judgment criterion for the comment output judgment means 14, and the output control information storage means 20 stores the set output control information in a file separate from the source program. Store.
【0016】また、出力制御情報挿入手段22は設定さ
れた出力制御情報をソースプログラム内のコメント文に
挿入する。Further, the output control information insertion means 22 inserts the set output control information into a comment sentence in the source program.
【0017】[0017]
【作用】本発明では、ソースプログラムに埋め込まれた
コメント文を任意に指定し、それらに対して出力制御情
報を各々設定することにより、各コメント文の出力制御
を対応の設定情報に応じて行なえる。[Operation] In the present invention, by arbitrarily specifying comment statements embedded in a source program and setting output control information for each comment statement, the output of each comment statement can be controlled according to the corresponding setting information. Ru.
【0018】なお、コメント文が出力対象となるか否か
を判断する際の基準となる情報を設定することにより、
出力すべきコメント文を容易かつ迅速に選択することが
可能となる。[0018] Furthermore, by setting information that serves as a standard for determining whether or not a comment text is to be output,
It becomes possible to easily and quickly select the comment text to be output.
【0019】また、設定された出力制御情報をソースプ
ログラムとは別のファイルへ格納し、あるいは、ソース
プログラム中のコメント文へ挿入することによりそれら
の情報を保存でき、したがって、出力制御情報のファイ
ルをソースプログラムのファイルとともにオープンして
出力制御情報をソースプログラムと同時に読み込み、あ
るいは、ソースプログラムのコメント文から出力制御情
報を抽出することにより,これら情報の設定を自動的に
行なうことも可能となる。Furthermore, the set output control information can be saved by storing it in a file separate from the source program or by inserting it into a comment statement in the source program. It is also possible to automatically set this information by opening the file along with the source program file and reading the output control information at the same time as the source program, or by extracting the output control information from the comment statement of the source program. .
【0020】[0020]
【実施例】以下、図面に基づいて本発明にかかるソース
プログラム提示装置の好適な実施例を説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the source program presentation apparatus according to the present invention will be described below with reference to the drawings.
【0021】図2において、処理装置30の入力部32
にはキーボード入力のデータが与えられており、そのキ
ーボード入力のデータに従ってファイル34からはソー
スプログラムを内容とするデータが、また、ファイル3
6からはコメント文の表示制御に使用するデータが、各
々読み込まれる。In FIG. 2, the input section 32 of the processing device 30
is given keyboard input data, and according to the keyboard input data, data containing the source program is sent from file 34, and data containing the source program is sent to file 3.
From 6 onwards, data used to control the display of comment sentences is read.
【0022】入力部32に入力されたデータはコマンド
解析実行部38へ送出され、ソースプログラムのデータ
及びその編集データはコマンド解析実行部38から内部
制御部40に出力される。The data input to the input unit 32 is sent to the command analysis execution unit 38, and the data of the source program and its edited data are output from the command analysis execution unit 38 to the internal control unit 40.
【0023】内部制御部40ではコマンド解析実行部3
8から入力されたデータがバッファ42に書き込まれ、
そのバッファデータは出力部44を介して表示解析部4
6に与えられる。In the internal control unit 40, the command analysis execution unit 3
The data input from 8 is written to the buffer 42,
The buffer data is sent to the display analysis section 4 via the output section 44.
6 is given.
【0024】また、コメント文の表示制御コマンドとな
るキーボード入力のデータはコマンド解析実行部38で
解析され、その解析結果を示すデータはコマンド解析実
行部38から表示設定部48へ出力される。Further, keyboard input data serving as a display control command for a comment sentence is analyzed by a command analysis execution section 38, and data representing the analysis result is outputted from the command analysis execution section 38 to a display setting section 48.
【0025】表示設定部48においてはコメント文の番
号,表示/非表示,表示レベル,表示形式などに関して
初期設定の処理がコマンド解析実行部38の出力(解析
結果)に従って行なわれ、再設定の処理も行なわれる。In the display setting unit 48, initial setting processing is performed regarding the number of comment sentences, display/non-display, display level, display format, etc. according to the output (analysis result) of the command analysis execution unit 38, and resetting processing is performed. is also carried out.
【0026】その表示設定部48で得られた設定データ
はコメント文管理部50へ送出され、コメント文管理部
50により設定情報管理テーブル52がアクセスされる
。The setting data obtained by the display setting section 48 is sent to the comment text management section 50, and the setting information management table 52 is accessed by the comment text management section 50.
【0027】この結果、新たな設定データが設定情報管
理テーブル52に追加登録され、既登録の設定データが
更新される。As a result, new setting data is additionally registered in the setting information management table 52, and the already registered setting data is updated.
【0028】なお、ファイル36がオープンされてその
ファイルから表示制御データが読み込まれた場合には、
表示制御データが初期の設定データとして設定情報管理
テーブル52に登録される。Note that when the file 36 is opened and display control data is read from that file,
The display control data is registered in the setting information management table 52 as initial setting data.
【0029】図3においてはコマンド解析実行部38,
表示設定部48,コメント文管理部50の作用がフロー
チャートで説明されており、コマンド解析実行部38が
キーボード入力のデータで示されるコマンド(命令)を
受け取ると(ステップ380)、その解析が行なわれる
(ステップ382,384,386)。In FIG. 3, the command analysis execution unit 38,
The operations of the display setting unit 48 and the comment management unit 50 are explained using a flowchart. When the command analysis execution unit 38 receives a command (instruction) indicated by keyboard input data (step 380), its analysis is performed. (Steps 382, 384, 386).
【0030】そして、解析結果に応じて登録用または更
新用の設定データ(設定情報)が表示設定部48で作成
されると(ステップ480,482)、コメント文管理
部50によりこのときの設定データが設定情報管理テー
ブル52へ新規登録され(ステップ500)、あるいは
、その設定データに既登録の設定データが更新される(
ステップ502,504)。[0030] Then, when setting data (setting information) for registration or updating is created by the display setting unit 48 according to the analysis result (steps 480, 482), the comment text management unit 50 creates the setting data at this time. is newly registered in the setting information management table 52 (step 500), or the previously registered setting data is updated to the setting data (step 500).
Steps 502, 504).
【0031】図4にはファイル34から読み込まれるソ
ースプログラムの一例が示されており、そのソースプロ
グラムには多数のコメント文が埋め込まれている。FIG. 4 shows an example of a source program read from the file 34, and a large number of comment sentences are embedded in the source program.
【0032】このソースプログラムは論理行を単位とし
て読み込まれ、それらの読み込み単位が表示解析部46
へ順に入力される。[0032] This source program is read in units of logical lines, and the unit of reading is the display analysis unit 46.
are input in order.
【0033】図5においては表示解析部46の作用がフ
ローチャートで説明されており、表示制御部46に読み
込み単位が入力されると(ステップ460)、入力終了
(ファイルエンド)が確認されない場合において(ステ
ップ461)、その読み込み単位がコメント文のデータ
か否かが判断される(ステップ462)。In FIG. 5, the operation of the display analysis section 46 is explained using a flowchart. When the reading unit is input to the display control section 46 (step 460), if the end of input (file end) is not confirmed, ( Step 461), it is determined whether the read unit is comment sentence data or not (Step 462).
【0034】このデータはコメント文のものでないとき
(プログラムの本体であるとき:ステップ462でNO
)に出力制御部54へ送出され、ディスプレイ56(プ
リンタも可)で表示される(ステップ463)。[0034] When this data is not a comment statement (when it is the main body of the program: NO in step 462)
) is sent to the output control unit 54 and displayed on the display 56 (or a printer) (step 463).
【0035】また、入力された読み込み単位がコメント
文のデータであるときには、これと対応した設定データ
の問い合わせがコメント文管理部50に対して行なわれ
(ステップ464)、対応の設定データが設定情報管理
テーブル52に登録されていなかったとき(ステップ4
65でYES)には、その読み込み単位のデータは出力
制御部54へ送出され、ディスプレイ56において表示
される(ステップ466)。Further, when the input read unit is comment text data, an inquiry is made to the comment text management unit 50 for setting data corresponding to this (step 464), and the corresponding setting data is stored as setting information. When it is not registered in the management table 52 (step 4)
If YES at 65), the read unit data is sent to the output control section 54 and displayed on the display 56 (step 466).
【0036】そして、対応した設定データが設定情報管
理テーブル52に登録されていたとき(ステップ465
でNO)には、その設定データの解析が行なわれ(ステ
ップ467)、コメント文の表示制御が解析結果に応じ
て行なわれる(ステップ468)。Then, when the corresponding setting data is registered in the setting information management table 52 (step 465
If NO), the setting data is analyzed (step 467), and the display of the comment text is controlled according to the analysis result (step 468).
【0037】図6ではコメント文表示の制御作用が説明
されており、ソースプログラムに埋め込まれたコメント
文のうち、表示の対象となるものの位置にそのコメント
文の番号1,8が表示されている。FIG. 6 explains the control function for displaying comment statements, and the numbers 1 and 8 of comment statements are displayed at the positions of the comment statements embedded in the source program that are to be displayed. .
【0038】また、これら番号1,8はソースプログラ
ムの下段においても表示され、両番号1,8の各下側に
おいて表示番号1,8と対応したコメント文が表示(こ
こでは反転表示)される。[0038] These numbers 1 and 8 are also displayed at the bottom of the source program, and below both numbers 1 and 8, comment sentences corresponding to display numbers 1 and 8 are displayed (inverted here). .
【0039】図7ではこのときのテーブル内容が説明さ
れており、番号1,6,7,8,9,10のコメント文
が表示の対象とされている。FIG. 7 illustrates the contents of the table at this time, with comment sentences numbered 1, 6, 7, 8, 9, and 10 being displayed.
【0040】さらに、コメント文の表示形式は図8の表
示が行なわれたときにおいて入力されたキーボードデー
タに従って表示解析部46で設定される。Furthermore, the display format of the comment text is set by the display analysis section 46 in accordance with the keyboard data input when the display of FIG. 8 is performed.
【0041】同図においてはコメント文の表示レベルが
3以上で”通常表示”,”脚注表示”が選択されており
、このため、上述した図6の表示が行なわれる。In the figure, the display level of the comment text is 3 or higher and "normal display" and "footnote display" are selected, and therefore the display shown in FIG. 6 described above is performed.
【0042】なお、4以上の表示レベルが選択されると
番号1のコメント文のみが表示され(図7参照)、色別
表示が選択されるとソースプログラムとは別の色であっ
て表示レベル毎に異なる色によりコメント文が表示され
る。[0042] If a display level of 4 or higher is selected, only the comment with number 1 will be displayed (see Figure 7), and if display by color is selected, the display level will be displayed in a different color from that of the source program. The comment text is displayed in a different color each time.
【0043】また、番号指定表示が選択されたときには
コメント文は初期表示されず、ソースプログラム中に表
示された番号(図6参照)が指定されることにより、対
応のコメント文が分割画面またはウインドウに表示され
る。Furthermore, when the number specification display is selected, the comment text is not initially displayed, but by specifying the number displayed in the source program (see Figure 6), the corresponding comment text is displayed on a split screen or in a window. will be displayed.
【0044】図9ではコメント文の表示形態を変更する
ための処理手順が説明されており、最初に各コメント文
について表示制御データのキーボード入力が受け付けら
れる(ステップ900)。FIG. 9 illustrates a processing procedure for changing the display format of comment sentences. First, keyboard input of display control data for each comment sentence is accepted (step 900).
【0045】その際には図10で示されるように、該当
コメント文の先頭と末尾にリージョンマークが自動的に
各々付加され、コメント文の近傍に表示設定のウインド
ウが開かれる。At that time, as shown in FIG. 10, region marks are automatically added to the beginning and end of the comment, and a display setting window is opened near the comment.
【0046】このウインドウにはコメント文の番号(=
7),表示有無(=表示:1),表示レベル(=1)が
予め自動入力されており、それらは必要に応じキーボー
ド入力のデータに従って変更される。[0046] This window displays the comment number (=
7) Display presence/absence (=display: 1) and display level (=1) are automatically input in advance, and these are changed according to data input from the keyboard as necessary.
【0047】そして全てのコメント文について表示制御
データが受け付けられると、それらの設定データが設定
情報管理テーブル52に格納される(ステップ902)
。[0047] When display control data for all comment sentences are accepted, these setting data are stored in the setting information management table 52 (step 902).
.
【0048】さらにコメント文の表示形式が上述のよう
にして選択されると(ステップ904)、設定情報管理
テーブル52から設定データが取り出され(ステップ9
06)、対応の設定データに応じて各コメント文が選択
の形式で表示制御される(ステップ908,910)。Furthermore, when the display format of the comment text is selected as described above (step 904), the setting data is retrieved from the setting information management table 52 (step 9).
06), the display of each comment text is controlled in a selection format according to the corresponding setting data (steps 908, 910).
【0049】その後においてソースプログラムの編集が
終了したときには(ステップ912でYES)、ソース
プログラムのデータがファイル58へ出力され(ステッ
プ914)、設定情報管理テーブル52の内容が別のフ
ァイル60へ出力される(ステップ914)。After that, when editing of the source program is completed (YES in step 912), the data of the source program is output to the file 58 (step 914), and the contents of the setting information management table 52 are output to another file 60. (step 914).
【0050】なお、図11で示されるようにコメント文
を表示制御する設定データを対応のコメント文へ挿入す
ることも好適である。Note that it is also preferable to insert setting data for controlling the display of comment sentences into the corresponding comment sentences, as shown in FIG.
【0051】以上説明したように本実施例によれば、ソ
ースプログラムに埋め込まれたコメント文を指定して表
示制御データを設定すると、各コメント文の表示制御が
対応の設定データに応じて行なわれるので、装置利用者
は表示されるコメント文を自己のレベルに合わせて適切
に選択でき、このため、そのソースプログラムに不慣れ
な者は豊富な量で詳細な内容のコメントが付されたソー
スリストを得ることによりその内容を十分に理解するこ
とが可能となる。As explained above, according to this embodiment, when comment statements embedded in a source program are specified and display control data is set, display control of each comment statement is performed according to the corresponding setting data. Therefore, the device user can select the displayed comment text appropriately according to his or her own level, and for this reason, those who are unfamiliar with the source program can view the source list with a rich amount of detailed comments. By obtaining the information, it becomes possible to fully understand its contents.
【0052】またこのソースプログラムに習熟した者は
、必要なコメントのみが付された簡素で見易いソースリ
ストを表示させることにより、その内容を容易に理解す
ることが可能となる。Furthermore, those who are familiar with this source program can easily understand its contents by displaying a simple and easy-to-read source list with only necessary comments.
【0053】さらに本実施例によれば、コメント文が出
力対象となるか否かの判断基準となるデータ(図8参照
)を設定できるので、装置利用者は自己のレベルに合わ
せてコメント文を容易かつ迅速に選択することが可能と
なる。Furthermore, according to this embodiment, data (see FIG. 8) that serves as a criterion for determining whether or not a comment text is to be output can be set, so the device user can write the comment text according to his/her own level. It becomes possible to select easily and quickly.
【0054】そして、設定された表示制御データをソー
スプログラムとは別のファイル60へ格納(あるいはソ
ースプログラムのコメント文中へ挿入)することにより
、それらのデータを保存でき、したがって、表示制御デ
ータのファイル36(58))をソースプログラムのフ
ァイル34(58)とともにオープンして表示制御デー
タをソースプログラムと同時に読み込む(あるいは、ソ
ースプログラムのコメント文から表示制御データを抽出
する)ことにより、それら表示制御データの設定を自動
的に行なうことが可能となり、このため、表示制御デー
タの再設定作業を不要化して装置の操作性を大幅に高め
ることができる。[0054] By storing the set display control data in a file 60 separate from the source program (or inserting it into the comment text of the source program), these data can be saved. 36 (58)) together with the source program file 34 (58) and read the display control data at the same time as the source program (or by extracting the display control data from the comment statement of the source program). This makes it possible to automatically set the display control data, thereby eliminating the need for resetting display control data and greatly improving the operability of the device.
【0055】また、コメント文がソースプログラムとは
別の位置に表示されるので、コメント文及びソースプロ
グラムの視認性を高めることも可能となる。Furthermore, since the comment text is displayed in a different position from the source program, it is possible to improve the visibility of the comment text and the source program.
【0056】[0056]
【発明の効果】以上説明したように本発明によれば、ソ
ースプログラムに埋め込まれたコメント文を選択出力で
きるので、利用者の能力や習熟度に合致した適切なコメ
ント文の付されたソースリストが得られ、このため、プ
ログラムの開発をより良好な環境で行なうことが可能と
なる。[Effects of the Invention] As explained above, according to the present invention, comments embedded in a source program can be selectively output, so a source list with appropriate comment texts that match the user's ability and proficiency level can be output. Therefore, it becomes possible to develop programs in a better environment.
【図1】発明の原理説明図である。FIG. 1 is a diagram explaining the principle of the invention.
【図2】実施例の構成説明図である。FIG. 2 is an explanatory diagram of the configuration of the embodiment.
【図3】実施例における表示制御データの設定作用を説
明するフローチャートである。FIG. 3 is a flowchart illustrating the setting operation of display control data in the embodiment.
【図4】実施例で取り扱われるソースプログラムの説明
図である。FIG. 4 is an explanatory diagram of a source program handled in the embodiment.
【図5】実施例のコメント文表示作用を説明するフロー
チャートである。FIG. 5 is a flowchart illustrating the comment text display operation of the embodiment.
【図6】実施例におけるソースプログラム及びコメント
文の表示画面説明図である。FIG. 6 is an explanatory diagram of a display screen of a source program and a comment statement in the embodiment.
【図7】設定情報管理テーブルの内容説明図である。FIG. 7 is an explanatory diagram of the contents of a setting information management table.
【図8】実施例におけるコメント文表示形式の選択作用
説明図である。FIG. 8 is an explanatory diagram of the selection effect of the comment text display format in the embodiment.
【図9】実施例におけるコメント文表示形態の変更作用
を説明するフローチャートである。FIG. 9 is a flowchart illustrating the effect of changing the comment text display format in the embodiment.
【図10】実施例における表示制御データの設定作用説
明図である。FIG. 10 is an explanatory diagram of setting effects of display control data in the embodiment.
【図11】表示制御データをソースプログラムのコメン
ト文に挿入する作用の説明図である。FIG. 11 is an explanatory diagram of the operation of inserting display control data into a comment statement of a source program.
【図12】コメント付ソースプログラムの説明図である
。FIG. 12 is an explanatory diagram of a source program with comments.
30 処理装置
32 入力部
34 ソースプログラムの入力ファイル36 表示制御
データの入力ファイル
38 コマンド解析実行部
40 内部制御部
42 バッファ
44 出力部
46 表示解析部
48 表示設定部
50 コメント文管理部
52 設定情報管理テーブル
54 出力制御部
56 ディスプレイ
58 ソースプログラムの出力ファイル60 表示制御
データの出力ファイル30 Processing device 32 Input unit 34 Source program input file 36 Display control data input file 38 Command analysis execution unit 40 Internal control unit 42 Buffer 44 Output unit 46 Display analysis unit 48 Display setting unit 50 Comment statement management unit 52 Setting information management Table 54 Output control unit 56 Display 58 Source program output file 60 Display control data output file
Claims (3)
グラムを読み込むプログラム読込手段(10)と、指定
されたコメント文に対して出力制御情報を設定する出力
制御情報設定手段(12)と、コメント文が出力対象と
なるか否かを対応設定の出力制御情報により判断するコ
メント出力判断手段(14)と、出力の対象となるコメ
ント文をソースプログラムの本体とともに出力するプロ
グラム出力手段(16)と、を有する、ことを特徴とす
るソースプログラム提示装置。1. Program reading means (10) for reading a source program in which a comment statement is embedded; output control information setting means (12) for setting output control information for a specified comment statement; A comment output determining means (14) for determining whether or not to be outputted based on output control information of corresponding settings, and a program outputting means (16) for outputting a comment to be outputted together with the main body of the source program. A source program presentation device comprising:
グラムを読み込むプログラム読込手段(10)と、指定
されたコメント文に対して出力制御情報を設定する出力
制御情報設定手段(12)と、コメント文が出力対象と
なるか否かを対応設定の出力制御情報により判断するコ
メント出力判断手段(14)と、コメント出力判断手段
(14)の判断基準となる情報を予め設定する判断基準
情報設定手段(18)と、設定された出力制御情報をソ
ースプログラムとは別のファイルに格納する出力制御情
報格納手段(20)と、出力の対象となるコメント文を
ソースプログラムの本体とともに出力するプログラム出
力手段(16)と、を有する、ことを特徴とするソース
プログラム提示装置。2. Program reading means (10) for reading a source program in which a comment statement is embedded; output control information setting means (12) for setting output control information for a specified comment statement; A comment output determining means (14) that determines whether or not to be outputted based on output control information of corresponding settings, and a determination criterion information setting means (18) that presets information that becomes a determination criterion for the comment output determining means (14). ), an output control information storage means (20) that stores the set output control information in a file separate from the source program, and a program output means (16) that outputs the comment statement to be output together with the main body of the source program. ), a source program presentation device comprising:
グラムを読み込むプログラム読込手段(10)と、指定
されたコメント文に対して出力制御情報を設定する出力
制御情報設定手段(12)と、コメント文が出力対象と
なるか否かを対応設定の出力制御情報により判断するコ
メント出力判断手段(14)と、コメント出力判断手段
(14)の判断基準となる情報を予め設定する判断基準
情報設定手段(18)と、設定された出力制御情報をソ
ースプログラム内のコメント文中に挿入する出力制御情
報挿入手段(22)と、出力の対象となるコメント文を
ソースプログラムの本体とともに出力するプログラム出
力手段(16)と、を有する、ことを特徴とするソース
プログラム提示装置。3. Program reading means (10) for reading a source program in which a comment statement is embedded; output control information setting means (12) for setting output control information for a specified comment statement; A comment output determining means (14) that determines whether or not to be outputted based on output control information of corresponding settings, and a determination criterion information setting means (18) that presets information that becomes a determination criterion for the comment output determining means (14). ), an output control information insertion means (22) for inserting the set output control information into a comment sentence in a source program, and a program output means (16) for outputting a comment sentence to be output together with the main body of the source program. A source program presentation device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP41120690A JPH04217023A (en) | 1990-12-17 | 1990-12-17 | Source program presenting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP41120690A JPH04217023A (en) | 1990-12-17 | 1990-12-17 | Source program presenting device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04217023A true JPH04217023A (en) | 1992-08-07 |
Family
ID=18520245
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP41120690A Withdrawn JPH04217023A (en) | 1990-12-17 | 1990-12-17 | Source program presenting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04217023A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015510602A (en) * | 2011-12-20 | 2015-04-09 | オーディブル・インコーポレイテッドAudible, Inc. | Management of auxiliary information playback |
-
1990
- 1990-12-17 JP JP41120690A patent/JPH04217023A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015510602A (en) * | 2011-12-20 | 2015-04-09 | オーディブル・インコーポレイテッドAudible, Inc. | Management of auxiliary information playback |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5831615A (en) | Method and apparatus for redrawing transparent windows | |
| US5699486A (en) | System for speaking hypertext documents such as computerized help files | |
| KR950014976B1 (en) | Method and device using data icon | |
| GB2273188A (en) | Information processing system using icons | |
| JPH04229364A (en) | Method and system for changing emphasizing characteristic | |
| JPS6020284A (en) | Electronic translation device | |
| Federici et al. | Is the Scratch programming environment ideal for all? Enhancements to the Scratch IDE to make it easier to use and more useful for students and teachers | |
| JPH06103018A (en) | Display method | |
| Piehl | Visual interventions: exhibition graphic design as critical practice | |
| JPH0474749B2 (en) | ||
| Bevan et al. | The design and evaluation of a micro-computer based authoring system for trainers | |
| JPS61229154A (en) | System for training operator of word processor | |
| JP2597620B2 (en) | Assistance information provision system | |
| JPH08235184A (en) | Document editing device | |
| JPH01306913A (en) | Information processor | |
| JPH0769915B2 (en) | Document creation device | |
| JPS59167255A (en) | Proofreading process of music data | |
| JPH01149162A (en) | System for controlling syllable hyphen display and non-display | |
| Gross et al. | Director 8 Demystified: The Official Guide to Macromedia Director, Lingo, and Shockwave | |
| JPH05108567A (en) | Automatic transforming and inputting system for command | |
| JPS63101925A (en) | Control system for logical graphic control level printing | |
| JPS62100860A (en) | document creation device | |
| JPH10260967A (en) | Method and apparatus for creating HTML file for WWW | |
| JPH03273446A (en) | document editing device | |
| JPH0311410A (en) | information processing equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980312 |