pybricksMicropython/lib: replace parser

This replaces the Python parsing library. The python-ast package has
really poor performance (many seconds to parse a 500 line file). The
new package can parse a file about 100 times faster.
This commit is contained in:
David Lechner
2022-10-24 15:21:52 -05:00
parent a673a45b03
commit 0e2a0f909a
6 changed files with 40 additions and 159 deletions
+1
View File
@@ -802,5 +802,6 @@ module.exports = function (webpackEnv) {
// Turn off performance processing because we utilize
// our own hints via the FileSizeReporter
performance: false,
ignoreWarnings: [/Failed to parse source map/],
};
};