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.

Date of Patent:
Aug. 29, 2023

Filed:

Dec. 29, 2020
Applicant:

Soochow University, Suzhou, CN;

Inventors:

Yihuai Wang, Suzhou, CN;

Mingyu Xu, Suzhou, CN;

Huiming Shuai, Suzhou, CN;

Wensen Yu, Suzhou, CN;

Chuanghua Cai, Suzhou, CN;

Assignee:

SOOCHOW UNIVERSITY, Suzhou, CN;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 8/40 (2018.01); G06F 8/41 (2018.01);
U.S. Cl.
CPC ...
G06F 8/427 (2013.01);
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.


Find Patent Forward Citations

Loading…