cproc
oksh
cproc | oksh | |
---|---|---|
10 | 8 | |
680 | 338 | |
- | - | |
8.7 | 4.4 | |
7 days ago | 27 days ago | |
C | C | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cproc
-
Oasis – a small, statically-linked Linux system
Michaelforney has also built croc [1], a qbe based C compiler. Really impressive!
[1]: https://github.com/michaelforney/cproc
- List of (open source) C compilers
- Hand-optimizing the TCC code generator
-
Minias – A mini x86-64 assembler for fun and learning
A word of warning for those wondering: this is not for Intel syntax, despite referencing the Intel doc.
Minias can assemble itself
...but it's written in C and uses a parser generator? IMHO it feels a bit backwards --- and perhaps even a bit cheating if you're doing this for a "bootstrap pilgrimage" --- to write a lower-level tool in a higher-level language. On the other hand, the same author also links to a C compiler in C, without a parser generator: https://github.com/michaelforney/cproc
- Cproc C Compiler
-
Hacker News top posts: Aug 20, 2021
Cproc C Compiler\ (29 comments)
- A C11 compiler using QBE as a backend, released under the ISC license
oksh
- Oasis – a small, statically-linked Linux system
-
Faster Shell Startup with Shell Switching
David Korn's ksh93 was passed on to a new set of developers, who attempted to release a new version; AT&T rolled back these changes due to performance problems which raised questions of support status. It does appear that ksh93 development has resumed, and a new version was released late last year.
https://github.com/ksh93/ksh/releases
The independent pdksh spawned mksh, which is the default shell used in Android (as it has a BSD license); mksh appears to be very much active.
http://www.mirbsd.org/mksh.htm [https site has cert problems]
OpenBSD also forked oksh from pdksh. This is certainly well-maintained.
https://github.com/ibara/oksh
-
CVE-2022-45063: Xterm
I don't know if this is helpful or just annoying unsolicited "advice"
Anyway, for those of us who like openbsd ksh(all two of us) which is derived from pdksh. there is the project oksh.
https://github.com/ibara/oksh
-
What is a good alternative to Zsh?
I like oksh: https://github.com/ibara/oksh
-
OpenBSD 7.0 Released
...and that ksh descended from pdksh, and is distributed as the oksh portable project here:
https://github.com/ibara/oksh
The MirBSD Korn Shell also descended from pdksh, and it can be found here:
http://www.mirbsd.org/mksh.htm
I don't know about the feature differences and code quality between these two; they both implement most of ksh88, and a small amount of ksh93.
I prefer mksh when I need something more than a POSIX shell.
-
Which ksh is used in openbsd?
Brian Callahan publishes a portable version here: https://github.com/ibara/oksh
-
What goes into porting a program/library?
Porting from OpenBSD, look for the portable versions and their compat layer. https://github.com/ibara/oksh/blob/master/portable.h
What are some alternatives?
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.
loksh - A Linux port of OpenBSD's ksh
qbe-rs - QBE IR in natural Rust data structures
ksh - ksh 93u+m: KornShell lives! | Latest release: https://github.com/ksh93/ksh/releases
minias - A mini x86-64 assembler for fun and learning.
InitWare - The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.
unix - Mirror of the Restoration of 1st Edition UNIX kernel sources from pdf document.
openbsd-src - jcs's openbsd hax
manim - A community-maintained Python framework for creating mathematical animations.
cicada - An old-school bash-like Unix shell written in Rust
fpga_craft - A voxel game/Minecraft clone for the iCE40 UP5K FPGA
ast - AST - AT&T Software Technology