摘要
提出了一种将农业知识表示语言KRL(Knowledge Representation Language of Agriculture)转换到Java代码的设计方法,给出了一组从KRL到Java的转换规则。通过设计一个KtoJ翻译器完成自动转换功能,使得KRL表示的知识库能够跨平台,并具有一定的软件重用和面向对象特性,其中有些研究观点和结论适用于相关程序语言转化的工作,并对面向对象语言转换问题有所启示。
In the thesis a design method for translation from Knowledge Representation Language of Agriculture to Java is proposed and a set of conversion rules for the translation from KRL to Java is given.By designing a translator called KtoJ which does automatic translations,the knowledge base represented by KRL can be cross-platform,reusable and object oriented to a certain extent.Some viewpoints and conclusions of the study may also be applied to researches on relevant programming language translations,and may even be instructive to the topic of object oriented language conversion.
出处
《计算机应用与软件》
CSCD
2011年第8期184-186,共3页
Computer Applications and Software
基金
广东省气象局气象科技项目(2008A01)
关键词
农业知识表示语言KRL
JAVA
翻译器
KRL(Knowledge Representation Language of Agriculture) Java Translator