https://github.com/walltime1/xxz
My learn-by-doing attempt to get into Zig by creating a hexdump utility. STD library only. Many thanks to ziglings project.
https://github.com/walltime1/xxz
zig
Last synced: 10 months ago
JSON representation
My learn-by-doing attempt to get into Zig by creating a hexdump utility. STD library only. Many thanks to ziglings project.
- Host: GitHub
- URL: https://github.com/walltime1/xxz
- Owner: walltime1
- License: apache-2.0
- Created: 2025-01-15T06:00:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-04T20:54:01.000Z (over 1 year ago)
- Last Synced: 2025-03-11T20:20:43.008Z (over 1 year ago)
- Topics: zig
- Language: Zig
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
My learn-by-doing attempt to get into Zig by creating a hexdump utility.;
STD library only.
Many thanks to ziglings project.
Milestones:
- [] Implement basic functions;
- [x] Basic hexdump formatter;
- [x] Read command line params;
- [x] Handle errors when suppiled params are missing/broken;
- [x] Read data directly from stdin;
- if there is a valid filename a file will be read;
- if there is none and there is a data piped the data will be read;
- otherwise program will be stuck vaiting for an input;
- [] Going deeper;
- [] Learn zig build system;
- [] Note: for now this seems pretty straingtforward so I will try to move some function to external zig file and then import it back to the original code (Most likely I will try to implement my own args reading and parsing module);
- [] Coloured output;
- [] Final steps;
- [] Support for both -p val amd -p=val command line param formats;
- [] Code revision, maybe I will know how to redo already implemented stuff in a better way by that moment;
- [] Add comptime where it is possible;