Ced – C REPL in 50 lines of POSIX shell
Yesterday, I found myself writing a little C throwaway script to test something out. That happens often enough to clutter my HOME and some other directories with these useless text files and binaries. So I thought that I can use a repl instead. Quick google search didn't find any good and tested solutions. So I wrote my own with help of a tcc compiler. Why POSIX Shell? Because it would be far too easy in a normal language (it'd probably take me ~10 minutes to rewrite this in Nim) and where is fun in that?
Ced – C REPL in 50 lines of POSIX shell launched on May 7, 2026 with 5 votes, #2,008 of 20,538 launches that month and more than 75% of that year's launches.
What it does
ced - C REPL in 50 lines of POSIX shell + awk
ced is an interactive C REPL. Type a line, press Return, and see the result immediately. A minimal valid C program is maintained behind the scene. #include <stdio.h> int main() { return 0; } and positions you at line 3 (inside main). All line numbers are 1-indexed. Enter a statement without a semicolon and press Return to run it immediately. If the line is not a preprocessor directive, semicolon will be appended automatically. To continue a statement across multiple lines, end a line with ; or { and press Return. The following line will be joined to the previous one. It won't be executed until you submit the normal statement. To split a statement across lines while preserving the line…from codeberg.org
Does a similar job
all alternatives →- GIGoing into freshman year, figured I should build an interpreter2023 · ▲138
Hi all! I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;) Anyways... here's the repo: https://github.com/liam-ilan/crumb I started learning C over the summer, so I still have a whole lot to learn... Any feedback would be greatly appreciated! :D
Zrc, I tried making a Unix shell scripting language with Tcl syntax2025 · github.com · ▲5Welp, second time posting this project! Bourne shell's ALGOL-inspired syntax seems a bit verbose, and while `rc` is quite nice, it lacks some features I'd prefer in a shell (this is probably by design). Though don't let the name I chose fool you, this shell is probably more related to `tcl` or `csh` than `rc`, except in some small places. It's been a while since my last post. Notable new features include a stack trace (via `caller`), `try`/`catch` (but only with user-supplied strings), `fc`, `disown`, login shell detection, and a shorter argv alias (`${argv number}` becomes `$number`).…
Sed to C translator written in sed2020 · github.com · ▲160sed to C translator written in sed. Contribute to lhoursquentin/sed-bin development by creating an account on GitHub.
Clamshell- an experimental Python based shell2023 · github.com · ▲51About a month ago I started a suprisingly-not-that tricky project to build an experimental python repl that I could use instead of bash as a daily shell in windows, mac or linux. It"s more hack-for-exploration than a production ready shell, but here it is! Hope somebody finds it anywhere near as interesting to check out as I found making it. Disclaimer: I know about xonsh and love it (if you haven't heard of it, google it). This project is more pure python and less python and bash interacting - see the readme for more details.
- RCReplify – Create a REPL for any command2016 · gist.github.com · ▲112
GitHub Gist: instantly share code, notes, and snippets.
- IWI wrote a book on GNU grep and ripgrep2019 · ▲182
My book on "GNU grep and ripgrep" is free to download today and tomorrow [1][2] Code snippets, example files and sample chapters are available on GitHub [3] The book uses plenty of examples and regular expressions are also covered from scratch. The book is suitable for beginners as well as serves as a reference. Hope you find it useful, I would be grateful for your feedback and suggestions. I used pandoc+xelatex [4] to generate the pdf. [1] https://gumroad.com/l/gnugrep_ripgrep [2] https://leanpub.com/gnugrep_ripgrep [3]…
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 15d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 16d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, May 2026
the whole month →

Parallel agents, diff reviewer, and multi-model comparisons
Dev tools · May 2026 · kilo.ai



Hey HN, Henry here from Cactus. We open-sourced Needle, a 26M parameter function-calling (tool use) model. It runs at 6000 tok/s prefill and 1200 tok/s decode on consumer devices. We were always frustrated by the little effort made towards building agentic models that run on budget phones, so we conducted investigations that led to an observation: agentic experiences are built upon tool calling, and massive models are overkill for it. Tool calling is fundamentally retrieval-and-assembly (match query to tool name, extract argument values, emit JSON), not reasoning. Cross-attention…
Life & fun · May 2026 · github.com

🌱 Private, quiet space for thinking. Simple app for .md files. - zakirullin/files.md
Dev tools · May 2026 · github.com