Support Lempel–Ziv–Welch (LZW) - as used in the Unix .Z compress and decompress

Open
#246 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
julia
Domain
tooling

Research direction

Start by reviewing TranscodingStreams.jl's transcoding interface and the linked unlzw3 reference implementation. Determine the scope for both LZW compression and decompression, then add the codec and tests demonstrating support for Unix .Z data.

Written by the indexing model from the issue text.

Description

Would be great to have Lempel–Ziv–Welch (LZW) compression and decompression available in the Julia ecosystem somewhere. Especially for Windows users, since Unix users have this default available via the compress utility. A codec in TranscodingStreams.jl seems like the most obvious candidate to me, although I have no idea how difficult it is to adhere to the transcoding interface.

There are pure Python and C implementations for reference if we want, like in the Python unlzw3 package. Less than 200 lines of source code (note: only decompression, no compression).

Might have a go at it myself if I find some time, but would like to create some awareness. I couldn't find a Julia discourse topic nor any Github issue on LZW yet, please link if there is one already.

Dominant language
Julia
Stars
90
Forks
26
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaIO/TranscodingStreams.jl

All issues in JuliaIO/TranscodingStreams.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.