检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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.
分 类 号:TH166[机械工程—机械制造及自动化] TG659[金属学及工艺—金属切削加工及机床]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30