机构地区: 华南理工大学机械与汽车工程学院
出 处: 《机械设计与制造》 2010年第3期160-161,共2页
摘 要: 提出了一种基于XML、UML建模和设计模式理论的开放式机器人解释器的实现方法。解释器读取XML语法文件,对机器人指令程序进行词法、语法分析,通过修改XML中的语法规则和UML模型图,可以方便的扩充和修改机器人语言指令。该解释器在VS.NET平台上用C#实现,结果证明了该解释器的正确性和高效性。 Present an open structure robot interpreter,which is based on XML,UML and Design Patterns. Interpreter uses grammar file from XML to do lexical analysis and Syntax analysis of the robot instruction ,and the instruction can be easily extended or modified by modifying the XML file and UML model. The interpreter is realized on VS.NET platform by C# language ,and the result is proved to be correct and efficient.
领 域: [机械工程] [自动化与计算机技术] [自动化与计算机技术]