@markw65/monkeyc-optimizer 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/build/api.cjs +364 -323
- package/build/optimizer.cjs +380 -160
- package/build/sdk-util.cjs +1 -1
- package/build/src/api.d.ts +1 -1
- package/build/src/inliner.d.ts +11 -2
- package/build/src/optimizer.d.ts +2 -2
- package/build/src/pragma-checker.d.ts +2 -0
- package/build/src/variable-renamer.d.ts +1 -0
- package/build/util.cjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -178,3 +178,18 @@ More fixes found via open source projects.
|
|
|
178
178
|
- Testing
|
|
179
179
|
- Add support for @match pragmas to check the optimization results
|
|
180
180
|
- Add a test project, with some inlining tests
|
|
181
|
+
|
|
182
|
+
### 1.0.17
|
|
183
|
+
|
|
184
|
+
- New Features
|
|
185
|
+
|
|
186
|
+
- Extend the inliner to support more complex functions when called in a void context
|
|
187
|
+
- Cleanup unused expressions. `0;x;foo.bar;a+b` will all now be optimized away.
|
|
188
|
+
|
|
189
|
+
- Testing
|
|
190
|
+
|
|
191
|
+
- Rewrite the @match pragma implementation to have access to the next Node in the ast, rather than just the text of the remainder of the line.
|
|
192
|
+
- Add tests for the statement inliner, and the unused expression cleanup code.
|
|
193
|
+
|
|
194
|
+
- Bug Fixes
|
|
195
|
+
- Fix a bug affecting lookup of types, which could cause definitions, references and links to the api docs to be missed in the vscode extension
|