摘要
针对基于PC的开放式数控系统代码编译器,提出了一种运用位运算符进行语法分析的方法,这种方法给语法分析以及后续扩充字符、代码检查规则库提供了便利,结合NC代码关键字表,增强了代码编译器的可扩展性和通用性。该译码器已应用于实际项目中,收到了良好效果。
A method based on logic position operation to complete syntax analysis was presented aiming at the code compiler for PC-based open CNC system. This method provides the convenience to syntax analysis and subsequent extending characters and code examination rules library. Combining NC keywords table, it enhances the scalability and generality of NC code compiler. The NC code compiler was applied to practical project and good results were achieved.
出处
《机床与液压》
北大核心
2009年第11期41-44,共4页
Machine Tool & Hydraulics