bugenhancementgood first issuehelp wanted
Repository metrics
- Stars
- (23 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the bug Tools like diff,
To Reproduce Steps to reproduce the hexdump crash behavior:
- 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);
- Try to hex dump the file with
./zlx -x test.zlxand 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:
- Run
./zlx diff README.md README.mdon the readme found in the release - 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.