工业机器人语言解释器的设计与实现  被引量:6

Design and Implementation of Industrial Robot Language Interpreter

在线阅读下载全文

作  者:王侦[1] 马旭东[1] 

机构地区:[1]东南大学自动化学院,江苏南京210096

出  处:《工业控制计算机》2015年第3期6-8,共3页Industrial Control Computer

基  金:国家重大科技专项"面向机床自动化生产的机器人开发及产业化工程"

摘  要:定义了工业机器人编程语言,并设计、实现了机器人语言的解释器。解释器的主要功能是将机器人语言源程序转换成合适的中间数据结构,并对中间数据结构进行解释执行。解释器分为前端和后端,前端包括词法分析、语法分析、语义分析、中间数据结构的生成,后端包括语句解释器和插补器。词法分析借助flex工具实现,语法分析借助bison实现,并得到抽象语法树。语义分析通过对语法树的遍历完成类型检查及符号表的建立,同时生成中间数据结构。语句解释器对中间数据结构进行解释执行,并启动插补器进行插补计算。最后,对该解释器的功能进行了测试验证,符合预期要求。This paper designs and implements an industrial robot programming language interpreter.The main function of interpreter is to translate the robot language source code into intermediate data structure,then to execute the data structure.Interpreter is divided into the front-end and the rear-end,the front-end including lexical,syntax,semantic analyzer and intermediate data structure generator,the rear-end including statement interpreter and interpolator.Finally,by multiple tests,the interpreter shows that it's function and performance meted the demand.

关 键 词:解释器 FLEX BISON 语句解释器 插补器 

分 类 号:TP242.2[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象