摘要
针对软件PLC的IL的语言,进行面向对象的设计和分析。通过对面向对象的技术的具体应用,透过使用设计模式的思想增强了系统的可维护性、可扩展性以及可复用性。文章对词法分析、数据类型、符号表和语句处理的类的结构进行了介绍,通过这些类的使用增加了编译系统灵活性。
In this article, the compiler of instruction language for SoftPLC is designed and analyzed with oriented-object technology. With the use of oriented-object technology and design pattern idea, it implements the class structure of lexical analysis, data structure, symbol table and syntax parsing. From the description of these methods, it can draw a conclusion that, with OOP methods, the system has many advantages such as flexibility, scalability and reusability.
出处
《计算机工程》
CAS
CSCD
北大核心
2004年第3期76-77,110,共3页
Computer Engineering
基金
国家自然科学基金项目(59975055)