@markw65/monkeyc-optimizer 1.0.16 → 1.0.19

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 CHANGED
@@ -178,3 +178,45 @@ 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
196
+
197
+ ### 1.0.18
198
+
199
+ - Bug Fixes
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)