5 stable releases
Uses new Rust 2024
| 1.2.2 | Apr 29, 2025 |
|---|---|
| 1.1.0 | Apr 29, 2025 |
| 1.0.0 | Apr 28, 2025 |
#1241 in Parser implementations
108 downloads per month
Used in conway-game-life-ratatui
67KB
323 lines
Conway's Game of Life File Converter
A blazingly-fast Rust-based tool to convert between plaintext (.cells) and Run-Length Encoded (RLE) formats for Conway's Game of Life patterns.
Features
- Convert between
.cells(plaintext) and.rleformats. - Automatic format detection for input files, regardless of file extension
Installation
Prerequisites
Build from Source
-
Clone the repository:
git clone https://github.com/LuMarans30/rletxtconv.git && cd rletxtconv -
Build the project:
cargo build --release
The binary will be located at target/release/rletxtconv.
Pre-built binaries
Alternatively, you can find the binaries in the releases page.
Usage
Convert a file to the RLE format:
rletxtconv --input input.cells --output output.rle
Force overwrite if the output file exists:
rletxtconv --input input.rle --output output.cells --force
Dependencies
~3–4.5MB
~80K SLoC