JPH03252816A - Expert system for development of lisp education system - Google Patents

Expert system for development of lisp education system

Info

Publication number
JPH03252816A
JPH03252816A JP5086590A JP5086590A JPH03252816A JP H03252816 A JPH03252816 A JP H03252816A JP 5086590 A JP5086590 A JP 5086590A JP 5086590 A JP5086590 A JP 5086590A JP H03252816 A JPH03252816 A JP H03252816A
Authority
JP
Japan
Prior art keywords
lisp
knowledge
language
inference
function
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
JP5086590A
Other languages
Japanese (ja)
Inventor
Hiroshi Matsuda
弘 松田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5086590A priority Critical patent/JPH03252816A/en
Publication of JPH03252816A publication Critical patent/JPH03252816A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the debugging efficiency for development of a LISP education system by transforming the knowledge necessary for a LISP language and the construction of an expert system using the LISP language into a base and applying an artificial intelligence method. CONSTITUTION:A storage means 1 stores the knowledge described in a frame necessary for the education of a LISP language and the construction of an expert system using the LISP language into a knowledge base 2. The base 2 stores stores the knowledge concerning the LISP languages via the means 1. An input means 3 inputs the functions having the ambiguous meanings and the name of a function desiring the display of an executing tree structure. An inference means 4 performs the detailed inference of the subject function inputted by the means 3. Then an output means 6 outputs the detailed explanation of the function which is generated with conversion of a format by a generating means 5 together with the executing tree structure. Thus the debugging efficiency is improved for development of a LISP education system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、LISP言語に関する教育用およびシステム
の開発用システムである。インタプリタ上で、マニュア
ル等の参照がなく動的に関数の説明や使用例および関数
間の実行水構造を表示し、最適なLISP言語記述方法
を支援し、かつ、LISP言語を用いてのエキスパート
システム構築者に良いシステム作成方法を教えるといっ
た、LISP言語をもとにシステム作成作業を支援する
機能を備えた知識ベースシステムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is a system for education and system development regarding the LISP language. It dynamically displays function explanations, usage examples, and execution structure between functions on the interpreter without reference to manuals, supports the optimal LISP language description method, and is an expert system using the LISP language. It relates to a knowledge base system that has a function to support system creation work based on the LISP language, such as teaching builders how to create a good system.

〔従来の技術〕[Conventional technology]

人工知能言語向きであるLISPの教育は、実際にワー
クステーションに向かいインタプリタを起動し、対話的
に行うことが望ましい。
It is desirable to teach LISP, which is a language suitable for artificial intelligence, interactively by actually sitting at a workstation and starting up an interpreter.

従来、LISP言語による教育およびエキスパートシス
テムを構築する過程において、意味不明なLISP関数
等についてはマニュアル等を参照し、使用例をインタプ
リタ上、実際にタイプインしながら、その関数の動作確
認を行っており、あまり効率の良い方法ではなかった。
Traditionally, in the process of education using the LISP language and building expert systems, students referred to manuals for unclear LISP functions, and checked the operation of the functions by actually typing in usage examples into an interpreter. It was not a very efficient method.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

LISPインタプリタ上で、マニュアル等参照の上実際
に使用例をタイプインし実行動作確認することは非常に
煩わしいことである。また、タイプミス等により実行時
、不正動作や余分にLISPのHEAP領域を圧迫して
しまい問題である。
It is extremely troublesome to refer to a manual or the like on a LISP interpreter, type in a usage example, and check the execution. Furthermore, typographical errors or the like may cause malfunctions during execution or may overly occupy the HEAP area of LISP, which is a problem.

LISP言語の様々なノウハウを人工知能の手法で表す
ことにより、システム標準関数および利用者による新規
関数の詳細説明を行うことができる。すなわち、LIS
P関数のプログラミングスタイルから、実行過程の内容
である木構造表示までをHEAP領域を圧迫せず行い、
LISP言語に関する教育およびシステム開発作業を効
率化する。
By expressing various know-how of the LISP language using artificial intelligence techniques, it is possible to provide detailed explanations of system standard functions and new functions by users. That is, LIS
From the programming style of the P function to the display of the tree structure that is the content of the execution process, it is possible to do it without compressing the HEAP area.
Streamline education and system development work related to the LISP language.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のLISP教育システム開発用エキスパートシス
テムの構成は、LISP言語の教育およびLISP言語
を用いてのエキスパートシステム構築に必要な知識を知
識ベースに記憶する記憶手段と、インタプリタ使用中意
味不明の関数の文字列を入力する手段と、前記入力した
文字列を解析して、前記記憶した知識ベース内の知識と
照らし合わせながら推論を行う推論手段と、前記推論手
段により検出された中間仮説であるリストフォーマット
をフォーマット変換生成する生成手段と、前記生成手段
の結果、得られたLISP関数の詳細説明および関数間
の実行木構造を出力する手段とを含むことを特徴とする
The configuration of the expert system for developing a LISP educational system of the present invention includes a storage means for storing the knowledge necessary for teaching the LISP language and constructing an expert system using the LISP language in a knowledge base, and a storage means for storing the knowledge necessary for teaching the LISP language and constructing an expert system using the LISP language, and for storing meaningless functions while using the interpreter. a means for inputting a character string; an inference means for analyzing the input character string and making an inference while comparing it with knowledge in the stored knowledge base; and a list format that is an intermediate hypothesis detected by the inference means. The present invention is characterized in that it includes a generating means for converting and generating a format, and a means for outputting a detailed explanation of the LISP function obtained as a result of the generating means and an execution tree structure between the functions.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の詳細な説明的に表したものである。実
行木構造の実行結果を表したものである。
FIG. 1 is a detailed illustrative representation of the invention. This represents the execution result of the execution tree structure.

第1図において、1は記憶手段で、LISP言語の教育
およびLISP言語を用いてのエキスパートシステム構
築に必要なフレームで記述された知識を知識ベースに記
憶する。2は知識ベースでLISP言語に関する知識が
前記記憶手段により格納される。3は入力手段で意味不
明な関数および実行水構造を表示させたい関数の関数名
を入力する。4は推論手段で、インへりタンス、デイフ
ォルト、デモン等のフレームによる推論を行い、前記入
力手段で入力した対象関数についての細部に渡る推論を
行う、5は生成手段で前記推論手段の結果検出された関
数に対しての詳細説明および実行木構造のフォーマット
変換生成を行う、6は出力手段で、前記生成手段にてフ
ォーマット変換生成された関数の詳細説明および実行木
構造を出力装置に出力する。
In FIG. 1, reference numeral 1 denotes a storage means that stores knowledge described in a frame necessary for teaching the LISP language and constructing an expert system using the LISP language in a knowledge base. Reference numeral 2 denotes a knowledge base in which knowledge regarding the LISP language is stored in the storage means. 3, input the function name of the meaningless function and the function whose execution structure is to be displayed using the input means. Reference numeral 4 denotes an inference means, which performs inference using frames such as inheritance, default, and demon, and performs detailed inference regarding the target function inputted by the input means; 5, a generation means, which detects the results of the inference means; 6 is an output means which outputs the detailed explanation of the function and the execution tree structure generated by the format conversion by the generation means to an output device. .

第2図は、上記処理の実施例の構成図を表したものであ
り、本発明をLISP言語の教育およびシステム開発に
適用した例を示す、この実施例は、知識ベースファイル
7と知識ベース管理システム9と、推論機構10と、ユ
ーザインターフェイス12と、フレーム・エディタ11
と、表示装置13aと、入出力装置13bとを含む。
FIG. 2 shows a block diagram of an embodiment of the above processing, and shows an example in which the present invention is applied to LISP language education and system development. system 9, reasoning mechanism 10, user interface 12, and frame editor 11
, a display device 13a, and an input/output device 13b.

知識ベースファイル7には、フレーム格納部8が含まれ
、LISP言語に関する詳細説明知識の他に、ベカラズ
・ノウハウ的な知識も複数のフレーム群で含まれる。利
用者が頻繁に使用し、かつ、重要なユーザ関数等に関し
ては、フレームエディタ11を用い、知識ベースファイ
ル7内のフレーム格納部8にフレームを反映する。
The knowledge base file 7 includes a frame storage section 8, which includes not only detailed explanatory knowledge regarding the LISP language but also knowledge such as Beccara's know-how in a plurality of frame groups. For important user functions and the like that are frequently used by the user, the frames are reflected in the frame storage section 8 in the knowledge base file 7 using the frame editor 11.

第3図は、推論機構10での知識ベース検索と展開の一
例を示す。同図において、対象となる知識ベースファイ
ルを選択した後、入出力装置13bで入力した関数名と
パターンマツチングを行い、必要となるLISP言語の
ベカラズ・ノウハウおよび詳細説明の選択および展開を
行っている。本方式では、極力インタプリタのHEAP
領域を圧迫しない制御を行っている。
FIG. 3 shows an example of knowledge base search and development in the inference mechanism 10. In the figure, after selecting the target knowledge base file, pattern matching is performed with the function name inputted at the input/output device 13b, and the necessary Bekara's know-how and detailed explanation of the LISP language are selected and expanded. There is. In this method, the interpreter's HEAP
Control is performed so as not to overwhelm the area.

第4図は、知識ベースファイル7に含まれるフレーム格
納部8内の説明フレームの一例を示す。
FIG. 4 shows an example of an explanation frame in the frame storage section 8 included in the knowledge base file 7.

同図で、先頭キーワードが対象関数名であり、第二キー
ワード以降がフォーマット変換生成する為の詳細説明が
、関数形式で定義されている。
In the figure, the first keyword is the target function name, and the second and subsequent keywords are defined in the form of functions for detailed explanations for format conversion and generation.

第5図は、本システムにおける一実行結果であリ、意味
不明となった関数の詳細説明の他に、実行木構造の出力
結果を表したものである。これにより、不明関数の実行
制御関数の呼び出し系列が容易に把握できる。
FIG. 5 shows the result of one execution in this system, and shows the output result of the execution tree structure in addition to a detailed explanation of the function whose meaning has become unclear. Thereby, the call sequence of the execution control function of the unknown function can be easily grasped.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、LISP言語の教育およ
びLISP言語を用いてのエキスパートシステム構築に
必要の知識ベース化し、人工知能の手法を応用すること
により、システム開発のデバッグを効率化する。また、
最適な言語の記述方法を支援し、かつ、LISPシステ
ム作成者に良い言語記述を行うためのノウハウを教える
教育効果もある。
As explained above, the present invention improves the efficiency of debugging system development by creating a knowledge base necessary for teaching the LISP language and constructing an expert system using the LISP language, and applying artificial intelligence techniques. Also,
It supports the optimal language description method and has the educational effect of teaching LISP system creators the know-how for good language description.

このように、本システムをLISP言語の教育およびL
ISP言語を用いてのエキスパートシステムを構築する
際に使用することにより、効率の良い有効利用としての
効果、また、LISPシステム作成における教育システ
ムとしての効果がある。
In this way, this system can be used to teach LISP language and
By using it when constructing an expert system using the ISP language, it can be used efficiently and effectively, and it can also be effective as an educational system in creating a LISP system.

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

第1図は本発明の詳細な説明図、第2図は本発明の一実
施例の構を図、第3図は推論手段における知識ベース検
索と展開の一例を示す図、第4図は知識ベース内の説明
フレームの一例を示す図、第5図は実行木構造の出力結
果を示す図である。 1・・・記憶手段、2・・・知識ベース、3・・・入力
手段、4・・・推論手段、5・・・生成手段、6・・・
出力手段、7・・・知識ベース管理ファイル、8・・・
フレーム格納部、9・・・知識ベース管理手段、10・
・・推論11111・・・フレーム・エディタ、12・
・・ユーザ・インターフェイス、13a・・・表示装置
、13b・・・入出力装置、14・・・補助記憶装置。
Fig. 1 is a detailed explanatory diagram of the present invention, Fig. 2 is a diagram showing the structure of an embodiment of the present invention, Fig. 3 is a diagram showing an example of knowledge base search and expansion in the inference means, and Fig. 4 is a diagram showing the knowledge base. FIG. 5 is a diagram showing an example of an explanatory frame in the base, and FIG. 5 is a diagram showing an output result of the execution tree structure. DESCRIPTION OF SYMBOLS 1...Storage means, 2...Knowledge base, 3...Input means, 4...Inference means, 5...Generation means, 6...
Output means, 7...Knowledge base management file, 8...
Frame storage unit, 9...Knowledge base management means, 10.
... Reasoning 11111 ... Frame editor, 12.
... User interface, 13a... Display device, 13b... Input/output device, 14... Auxiliary storage device.

Claims (1)

【特許請求の範囲】[Claims] LISP言語の教育およびLISP言語を用いてのエキ
スパートシステム構築に必要な知識を知識ベースに記憶
する記憶手段と、インタプリタ使用中意味不明の関数の
文字列を入力する手段と、前記入力した文字列を解析し
て、前記記憶した知識ベース内の知識と照らし合わせな
がら推論を行う推論手段と、前記推論手段により検出さ
れた中間仮説であるリストフォーマットをフォーマット
変換生成する生成手段と、前記生成手段の結果、得られ
たLISP関数の詳細説明および関数間の実行木構造を
出力する手段とを含むことを特徴とするLISP教育シ
ステム開発用エキスパートシステム。
a storage means for storing knowledge necessary for teaching the LISP language and constructing an expert system using the LISP language in a knowledge base; a means for inputting character strings of meaningless functions while using the interpreter; and means for inputting the input character strings. an inference means for analyzing and inferring while comparing it with knowledge in the stored knowledge base; a generation means for converting and generating a list format that is an intermediate hypothesis detected by the inference means; and a result of the generation means. An expert system for developing a LISP educational system, comprising means for outputting a detailed explanation of the obtained LISP functions and an execution tree structure between the functions.
JP5086590A 1990-03-02 1990-03-02 Expert system for development of lisp education system Pending JPH03252816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5086590A JPH03252816A (en) 1990-03-02 1990-03-02 Expert system for development of lisp education system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5086590A JPH03252816A (en) 1990-03-02 1990-03-02 Expert system for development of lisp education system

Publications (1)

Publication Number Publication Date
JPH03252816A true JPH03252816A (en) 1991-11-12

Family

ID=12870622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5086590A Pending JPH03252816A (en) 1990-03-02 1990-03-02 Expert system for development of lisp education system

Country Status (1)

Country Link
JP (1) JPH03252816A (en)

Similar Documents

Publication Publication Date Title
Price et al. NaturalJava: A natural language interface for programming in Java
Arango et al. TMM: Software maintenance by transformation
Guida et al. NLI: a robust interface for natural language person-machine communication
Martin et al. Development Tools for the Open Agent Architecture.
Walczak Knowledge acquisition and knowledge representation with class: the object-oriented paradigm
JPH0458052B2 (en)
Dibia Lida: A tool for automatic generation of grammar-agnostic visualizations and infographics using large language models
JPH07311677A (en) Operation processor
EP0557205B1 (en) System for developing software from a natural language specification using object networks
Chandlee et al. Computational universals in linguistic theory: Using recursive programs for phonological analysis
Teich et al. Towards the application of text generation in an integrated publication system
JPH03252816A (en) Expert system for development of lisp education system
Paris et al. Building knowledge bases for the generation of software documentation
JPH07160490A (en) Coding assistance device
Agou et al. Combining natural language with direct manipulation: the conceptual framework for a hybrid human-computer interface
Dittmer Programmer Productivity Enhancement Through Controlled Natural Language Input
TWI747246B (en) A method for comprehension of text semantics based on neural network computing module and case change grammar
Paul et al. Artificial Intelligence aids in discrete-event digital simulation modelling
JPH0527889A (en) Active guide device
Yu et al. Teaching the Art of Computer Programming at a Distance by Generating Dialogues using Deep Neural Networks
Cullingford et al. Towards Automating Explanations.
Ziegler et al. Formal models and techniques in human-computer interaction
Bostwick et al. Rapid knowledge base design via extension of mid-level knowledge components
JPH09167165A (en) Dynamic image generation method
JP2629955B2 (en) Expert system construction equipment