@markw65/monkeyc-optimizer 1.0.18 → 1.0.21
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 +46 -0
- package/build/api.cjs +275 -135
- package/build/optimizer.cjs +316 -139
- package/build/src/inliner.d.ts +3 -2
- package/build/src/launch.d.ts +2 -1
- package/build/src/mc-rewrite.d.ts +8 -1
- package/build/src/optimizer.d.ts +28 -2
- package/build/src/util.d.ts +2 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -198,3 +198,49 @@ More fixes found via open source projects.
|
|
|
198
198
|
|
|
199
199
|
- Bug Fixes
|
|
200
200
|
- The new inliner was too agressive at constant propagating literal parameters to their point of use.
|
|
201
|
+
|
|
202
|
+
### 1.0.19
|
|
203
|
+
|
|
204
|
+
- Upgrade to @markw65/prettier-plugin-monkeyc@1.0.22
|
|
205
|
+
|
|
206
|
+
- fixes some minor typing issues for mctree
|
|
207
|
+
- special handling for certain parenthesized expressions.
|
|
208
|
+
|
|
209
|
+
- Optimizer
|
|
210
|
+
|
|
211
|
+
- Handle more unused expressions, add tests, and prettify the OptimizerTests project
|
|
212
|
+
- Allow statement-style inlining in assignent and return contexts
|
|
213
|
+
- Add diagnostics for failure to inline
|
|
214
|
+
|
|
215
|
+
- Tests
|
|
216
|
+
|
|
217
|
+
- More tweaks to pragma-checker
|
|
218
|
+
- Add launch and task configs for building/running tests
|
|
219
|
+
|
|
220
|
+
- Code cleanup
|
|
221
|
+
- Properly type the results of JSON.parse
|
|
222
|
+
- Switch over to using ParenthesizedExpression for formatAst (depends on @markw65/prettier-plugin-monkeyc@1.0.22)
|
|
223
|
+
|
|
224
|
+
### 1.0.20
|
|
225
|
+
|
|
226
|
+
- Bug fixes
|
|
227
|
+
|
|
228
|
+
- Fix a bug marking unknown callees
|
|
229
|
+
- Fix a bug in test.js that didn't notice when tests failed, and fix a failing test
|
|
230
|
+
|
|
231
|
+
- Optimizer enhancements
|
|
232
|
+
|
|
233
|
+
- Re-run the main optimization step, to properly account for functions that are unused after optimization
|
|
234
|
+
- Call the optimizer on 'unused' nodes before returning them
|
|
235
|
+
|
|
236
|
+
- Code cleanup
|
|
237
|
+
- Called function cleanup
|
|
238
|
+
|
|
239
|
+
### 1.0.21
|
|
240
|
+
|
|
241
|
+
- Bug fixes
|
|
242
|
+
|
|
243
|
+
- Parameters from the calling function should be treated just line locals when inlining
|
|
244
|
+
- Upgrade to @markw65/prettier-plugin-monkeyc@1.0.24
|
|
245
|
+
- fixes crash with comments following an attribute: `(:foo) /* comment */ function foo() {}`
|
|
246
|
+
- Fix issues with recursive inlining
|