trevorswan11/zlx

Toolchain is Disfunctional

開放

#4 建立於 2026年2月5日

 (0 則留言) (0 個反應) (0 位負責人)Zig (0 個分叉)auto 404
bugenhancementgood first issuehelp wanted

倉庫指標

星標
 (23 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Describe the bug Tools like diff,

To Reproduce Steps to reproduce the hexdump crash behavior:

  1. Create a file like test.zlx
import array;

let d = [1, 2, 3, 4, 5];
let sub = array.slice(d, 1, 4);
println(sub);

let j = array.join(["a", "b", "c"], "-");
println(j);
  1. Try to hex dump the file with ./zlx -x test.zlx and observe the error
thread 11266090 panic: reached unreachable code
???:?:?: 0x104a849c3 in _main.main (???)
???:?:?: 0x104a8947b in _main (???)
???:?:?: 0x196835d53 in ??? (???)
???:?:?: 0x0 in ??? (???)
fish: Job 1, './zlx -x test.zlx' terminated by signal SIGABRT (Abort)

Steps to reproduce the hexdump crash behavior:

  1. Run ./zlx diff README.md README.md on the readme found in the release
  2. Observe the error:
thread 11270055 panic: index out of bounds: index 2, len 2
???:?:?: 0x1026875d7 in _utils.diff.compareBytes (???)
???:?:?: 0x1026b0c4b in _main.main (???)
???:?:?: 0x1026b547b in _main (???)
???:?:?: 0x196835d53 in ??? (???)
???:?:?: 0x0 in ??? (???)
fish: Job 1, './zlx diff README.md README.md' terminated by signal SIGABRT (Abort)

Compression/Decompression:

  • These are useless tools and should be removed entirely
  • Decompression takes a long time
  • Archiving is inconsistent on MacOS
  • Just use tar/zip

Environment and Version

  • OS: MacOS Sequoia
  • Shell: Fish
  • Release: 0.6.1

Additional context Likely to never be implented. Conch will not include a toolchain like this and will be the spiritual successor to ZLX.

貢獻者指南