The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Aug. 29, 2023
Filed:
Dec. 29, 2020
Soochow University, Suzhou, CN;
Yihuai Wang, Suzhou, CN;
Mingyu Xu, Suzhou, CN;
Huiming Shuai, Suzhou, CN;
Wensen Yu, Suzhou, CN;
Chuanghua Cai, Suzhou, CN;
SOOCHOW UNIVERSITY, Suzhou, CN;
Abstract
Provided is a method for implementing compiled embedded Python. The method comprises: traversing an abstract syntax tree of Python source code to obtain semantic information about a program and generating corresponding C++ code according to said semantic information (S); performing type annotation of the Python source code and thus generating C++ variable definitions and function definitions (S); using a translator to translate into C++ source files the Python source code processed in the steps described above (S); storing said C++ source files together with embedded chip-related files to form a file package, and compiling and linking said file package and generating an ASCII text file (S). The method implements a source code translator on the basis of type annotations and static analysis, and integrates the translator into an embedded platform, enabling the editing, compiling, linking, and programming of Python source files.