Update: MicroPython使用AST构建下py文件抽象语法树以精确解析模块依赖

This commit is contained in:
王立帮
2024-12-03 10:44:30 +08:00
parent faa8430208
commit d97c70fb36
42 changed files with 2938 additions and 40 deletions

View File

@@ -0,0 +1,24 @@
{
"mixpy": {
"__require__": [
"math"
],
"__file__": true,
"__name__": "mixpy.py"
},
"motor_control": {
"__require__": [
"microbit"
],
"__file__": true,
"__name__": "motor_control.py"
},
"rgb_show": {
"__require__": [
"microbit",
"neopixel"
],
"__file__": true,
"__name__": "rgb_show.py"
}
}