diff options
| author | eunhhu <[email protected]> | 2026-10-19 07:34:12 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-19 07:34:12 +0100 |
| commit | 30eed7886769d838a5d51b70c764c532ca023b1c (patch) | |
| tree | 38ae2b811d56c217bb4ebf0c843046390d207ecd /examples/inflate.aup | |
| parent | 1c3b2475ca2008b7a68e7fbd6281b59fa84a286c (diff) | |
| download | aup-30eed7886769d838a5d51b70c764c532ca023b1c.tar.gz aup-30eed7886769d838a5d51b70c764c532ca023b1c.zip | |
140's apps written with the frictions gone: inflate's and linebreak's lists declared together, linebreak's 0x2010 and 0x25CC (their modules the same), DNS's records = [] and 0xc000, HTTP's trailers, j = fields(...), RFC 6298's abs and tick.period (G written once), layout's lists together, its boxes and root as targets together, boxes = []; lines 121 to 120, 148 to 146, 176 to 169, 116 to 110; instructions within 0.2%
Diffstat (limited to 'examples/inflate.aup')
| -rw-r--r-- | examples/inflate.aup | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/inflate.aup b/examples/inflate.aup index 5144c25..eb84a12 100644 --- a/examples/inflate.aup +++ b/examples/inflate.aup @@ -67,8 +67,7 @@ on inflate { at = (b + 4 + size) * 8 } else { require kind != 3 - let lengths: list of number - let distances: list of number + let lengths, distances: list of number if kind == 1 { for s in 0 .. 288 { lengths.append(if s < 144 { 8 } else if s < 256 { 9 } else if s < 280 { 7 } else { 8 }) } for s in 0 .. 30 { distances.append(5) } |
