@markw65/monkeyc-optimizer 1.0.3 → 1.0.7
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 +33 -0
- package/build/api.cjs +688 -23
- package/build/optimizer.cjs +254 -57
- package/build/util.cjs +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -23,4 +23,37 @@ Initial release
|
|
|
23
23
|
- Split the build into release and debug, so we can exclude code based on (:release) and (:debug)
|
|
24
24
|
- Optimize away `if (constant)`, `while (false)` and `constant ? E1 : E2`. Convert `do BODY while(false)` to `BODY`
|
|
25
25
|
|
|
26
|
+
### 1.0.4
|
|
27
|
+
|
|
28
|
+
- Fix a bug resulting in a failure to fully optimize constants initialized by constant conditional expressions
|
|
29
|
+
- Make the generated .cjs files work better with es modules (vscode doesn't work with es modules, so prettier-extension-monkeyc doesn't care - but for other projects importing this package it improves the behavior)
|
|
30
|
+
- Generate separate debug/release jungle files.
|
|
31
|
+
|
|
32
|
+
### 1.0.5
|
|
33
|
+
|
|
34
|
+
- Bump to version 1.0.11 of `@markw65/prettier-plugin-monkeyc` to fix an ObjectLiteral parsing issue.
|
|
35
|
+
|
|
36
|
+
### 1.0.6
|
|
37
|
+
|
|
38
|
+
- Bump to version 1.0.12 of `@markw65/prettier-plugin-monkeyc` to fix multiple parser bugs
|
|
39
|
+
- Add lots of open source projects as tests. For now, just verify that optimizing the sources succeeds, not that the generated source is actually correct.
|
|
40
|
+
|
|
41
|
+
### 1.0.7
|
|
42
|
+
|
|
43
|
+
More fixes found via open source projects.
|
|
44
|
+
|
|
45
|
+
- Fix parsing of quoted strings in jungle files
|
|
46
|
+
- Better error messages from the test framework
|
|
47
|
+
- Lazier handling of variables in jungle files
|
|
48
|
+
- Fix handling of negative enums that get completely removed
|
|
49
|
+
- Fix a bug analyzing empty classes
|
|
50
|
+
- Fix a typo that could result in consts being incorrectly eliminated
|
|
51
|
+
- Fix an edge case handling local jungle variables
|
|
52
|
+
- More test options, and add filters for some of the remote projects
|
|
53
|
+
- Try to clean up broken jungles and manifests
|
|
54
|
+
- Fix handling of unnamed callees
|
|
55
|
+
- Drop unrecognized devices
|
|
56
|
+
- Add support for a 'pick-one' device to aid testing
|
|
57
|
+
- Add a flag to remote projects to prevent trying to build them (some projects are broken to start with)
|
|
58
|
+
|
|
26
59
|
---
|