基于Boost正则表达式的数控系统译码模块设计  被引量:2

Design of Decoding Module of CNC Based on Boost Regular Expression

在线阅读下载全文

作  者:王宏甲[1] 赵庆志[1] 刘慧[1] 

机构地区:[1]山东理工大学机械工程学院,山东淄博255000

出  处:《组合机床与自动化加工技术》2017年第4期89-91,95,共4页Modular Machine Tool & Automatic Manufacturing Technique

摘  要:通过分析CNC程序的编制规则,针对数控系统运行过程中对译码模块准确、高效的设计要求,研究利用Boost正则库对数控系统的译码模块进行开发。此译码模块充分利用Boost正则库中匹配、查找、迭代等功能函数,在CNC程序代码的预处理、词法分析以及语法分析等方面,均采用正则表达式进行处理。实际运行结果表明,所开发的译码模块可准确、高效地工作。同时,基于正则表达式的编程易于理解,具有良好的可扩展性与可移植性。By analyzing the compiling rules of CNC program,the development of the decoding module of CNC system was studied by using the Boost regular database for accurate and efficient design requirements of the decoding module in the operation of CNC system.The dcoding module makes full use of matching,search,iteration and other functions of Boost regular library.The pretreatment,lexical analysis and syntax analysis of CNC program code use the regular expressions.The results of actual operation showthat the decoding module can be accurate and efficient,and the programming of regular expressions is easy to understand,and it has good expansibility and portability.

关 键 词:数控系统 译码模块 正则表达式 BOOST 

分 类 号:TH166[机械工程—机械制造及自动化] TG659[金属学及工艺—金属切削加工及机床]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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