doc/guide/src/SXMLShrink.adoc
raw| 1 | = SXMLShrink |
| 2 | |
| 3 | SXMLShrink is an optimization pass for the <<SXML#>> |
| 4 | <<IntermediateLanguage#>>, invoked from <<SXMLSimplify#>>. |
| 5 | |
| 6 | == Description |
| 7 | |
| 8 | This pass performs optimizations based on a reduction system. |
| 9 | |
| 10 | == Implementation |
| 11 | |
| 12 | * https://github.com/MLton/mlton/blob/master/mlton/xml/shrink.sig[`shrink.sig`] |
| 13 | * https://github.com/MLton/mlton/blob/master/mlton/xml/shrink.fun[`shrink.fun`] |
| 14 | |
| 15 | == Details and Notes |
| 16 | |
| 17 | <<SXML#>> shares the <<XMLShrink#>> simplifier. |