检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李春亭 王宜怀[1] 施连敏[1,2] 张露 LI Chun-ting;WANG Yi-huai;SHI Lian-min;Zhang Lu(School of Computer Science and Technology,Soochow University,Suzhou 215000,China;Key Laboratory of Cognitive Computing and Intelligent Information Processing of Fujian Education Institutions,Wuyi University,Wuyishan 354300,China)
机构地区:[1]苏州大学计算机科学与技术学院,江苏苏州215000 [2]武夷学院认知计算与智能信息处理福建省高校重点实验室,福建武夷山354300
出 处:《计算机工程与设计》2024年第1期79-87,共9页Computer Engineering and Design
基 金:国家自然科学基金项目(61672369);江苏高校优势学科建设工程基金项目(PAPD);武夷学院认知计算与智能信息处理福建省高校重点实验室开放课题基金项目(KLCCIIP2021201)。
摘 要:针对面向微控制器的解释型MicroPython具有实时性弱、占用存储空间大和可移植性较差等问题,提出一种将Python语言转化为C++语言并将构件层与应用层分离的编译型嵌入式Python方案,设计基于抽象语法树及类型注释的源码映射机制。在此基础上,设计嵌入式Python编译器,实现集成开发环境AHL-GEC-IDE(for Python版),完成Python源文件的编辑、编译、链接和下载。实践结果表明,该编译型Python方案可行,为嵌入式人工智能领域提供了一种实时性较高、编辑编译方便、可移植性较强的编译型Python集成开发环境。Aiming at the problems of poor real-time performance,large storage space and poor portability of Micro controller oriented interpretive Python,a compiled embedded Python scheme was proposed,which converted Python language into C++language and separated component layer from application layer.A source code mapping mechanism based on abstract syntax tree and type annotation was designed.On this basis,the embedded Python compiler was designed and the integrated development environment AHL-GEC-IDE(for Python version)was implemented,which completed the editing,compiling,linking and downloading of Python source files.The practice shows that the compiled Python scheme is feasible.It provides a compiled Python integrated development environment with high real-time,easy editing and compiling,and strong portability for the field of embedded artificial intelligence.
关 键 词:编译型嵌入式Python 微型Python解释器 微控制器 抽象语法树 类型注释 混合编程 可移植性
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.144.97.63