Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ratfactor/zigish
A toy Unix shell written in Zig
https://github.com/ratfactor/zigish
shell unix-shell zig ziglang
Last synced: 3 months ago
JSON representation
A toy Unix shell written in Zig
- Host: GitHub
- URL: https://github.com/ratfactor/zigish
- Owner: ratfactor
- License: mit
- Archived: true
- Created: 2021-06-05T18:55:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T22:41:46.000Z (over 1 year ago)
- Last Synced: 2024-09-26T17:40:15.550Z (3 months ago)
- Topics: shell, unix-shell, zig, ziglang
- Language: Zig
- Homepage:
- Size: 7.81 KB
- Stars: 60
- Watchers: 5
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - zigishποΈA toy Unix shell written in Zig
README
= Zigish - Zig Interactive Shell
**MOVED!** Hello, I am moving my repos to http://ratfactor.com/repos/
and setting them to read-only ("archived") on GitHub. Thank you, _-Dave_== I am a real shell!...ish
This is a minimalist toy Unix shell written in Zig.
----
*** Hello, I am a real shell! ***
> ls
README.adoc build.zig src zig-cache
> date
Sat Jun 5 13:26:59 EDT 2021
> foo
ERROR: error.FileNotFound
>
----It has almost no error checking and is otherwise unsuitable for "real work" and it never will.
I started with this tutorial: https://brennan.io/2015/01/16/write-a-shell-in-c/[Write a Shell in C].
The comments explain it pretty well.
But check out my article, http://ratfactor.com/zig/forking-is-cool[Forking is Cool] for the whole story.Enjoy! :-)