Life & fun · alternatives · 2026
24 alternatives to I built a minimal Forth-like stack interpreter library in C
This weekend I created stacklib.h - a single-header library that brings Forth-style stack operations to C. It implements a basic interpreter with: - Stack operations (push/pop/dup/swap/over/drop) - Arithmetic (+, -, *, /) - Output (., emit, cr) - Stack inspection (.s, depth) Example usage: Stack s; stack_init(&s); dict_init(); exec(&s, "10 20 + ."); // Prints "30" exec(&s, "1 2 3 4 .s"); // Shows stack contents The library is self-contained, requires no dependencies, and handles basic error checking. It was inspired by wanting to understand…
Stacklib.h is a single-header C library that implements a minimal Forth-like stack interpreter. It provides stack operations like push, pop, dup, and swap, along with basic arithmetic and output commands. The library… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.
- 1

Long-simmering side project that is finally ready to see the light. HAMTs are a cool persistent data structure and implementing one has been a lot of fun. Beyond the code, there is likely some value in the extensive and largely complete implementation docs; basic benchmarks are linked in the README, too. Kind of aiming to be "the libavl for HAMTs". That is obviously a high and aspirational bar but a distinct possibility if it stirs up a little interest and/or contribution. Anyways, it's time for this to go out, collect feedback and maybe even some use outside of toy projects. Let me…
2023 · github.com · its alternatives →
- 2GI
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
2023 · its alternatives →
- 3

Single header stackful cross-platform coroutine library in pure C. - edubart/minicoro
2021 · github.com · its alternatives →
- 4

Hi HN, I'm the author. I built this project for two simple reasons: I've always used higher-level languages and wanted to finally understand what's happening "under the hood" of an interpreter. I also wanted a real project to force me to "power up" my C skills, especially with manual memory management and reference counting. The result is ToyForth, a minimal interpreter for a Forth-like language, written from scratch in C, stack-based. I focused on making the code clean and understandable. It's broken down into a few simple parts: A parser that turns source text into a list of objects…
Nov 2025 · github.com · its alternatives →
- 5

Programming language that compiles into a x86 ELF executable. - riicchhaarrd/ocean
2021 · github.com · its alternatives →
- 6

A minimal stack-based VM. Contribute to codr7/liblg development by creating an account on GitHub.
2020 · github.com · its alternatives →
- 7CL
2013 · theck01.github.io · its alternatives →
- 8

A small, portable, linear probing hash map. Contribute to e-dant/salmagundi development by creating an account on GitHub.
2024 · github.com · its alternatives →
- 9

One of the most challenging projects of my life :)
2024 · github.com · its alternatives →
- 10

I've built many interpreters over the years, and Bolt represents my attempt at building the scripting language I always wanted. This is the first public release, 0.1.0! I've felt like most embedded languages have been moving towards safety and typing over years, with things like Python type hints, the explosive popularity of typescript, and even typing in Luau, which powers one of the largest scripted evironments in the world. Bolt attempts to harness this directly in the lagnauge rather than as a preprocessing step, and reap benefits in terms of both safety and performance. I intend to be…
2025 · github.com · its alternatives →
- 11

a Forth (for you) too. Contribute to codr7/forthy2 development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 12

A mirror of https://git.sr.ht/~grego/sumtypes.h. Contribute to grego/sumtype.h development by creating an account on GitHub.
2024 · github.com · its alternatives →
- 13

Hi! I've been working on the flipjump project, a programming language with 1 opcode: flip (invert) a bit, then jump (unconditionally). So a bit-flip followed by more bit-flips. It's effectively a bunch of NOT gates. This language, as poor as it sounds, is RICH. Today I completed my compiler from C to FlipJump. It takes C files, and compiles them into flipjump. I finished testing it all today, and it works! My key interest in this project is to stretch what we know of computing and to prove that anything can be done even with minimal power. I appreciate you reading my announcement, and be…
2025 · github.com · its alternatives →
- 14

A C interpreter and API explorer. Contribute to hexagonal-sun/bic development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 15

Smart pointers for the (GNU) C programming language - Snaipe/libcsptr
2015 · github.com · its alternatives →
- 16

Moved to Forgejo! Contribute to krig/LISP development by creating an account on GitHub.
2018 · github.com · its alternatives →
- 17

Concurrency library for C (coroutines). Contribute to tidwall/neco development by creating an account on GitHub.
2024 · github.com · its alternatives →
- 18
H2 Forth CPU▲120A Forth CPU and System on a Chip, based on the J1, written in VHDL - howerj/forth-cpu
2019 · github.com · its alternatives →
- 19

A fun toy memory allocator (not thread safe, that's a future TODO). I also wanted to explain how I approached it, so I also wrote a tutorial blog post (~20 minute read) covering the code which you can find the link to in the README.
Nov 2025 · github.com · its alternatives →
- 20

2019 · gitlab.com · its alternatives →
- 21

This C library is part of a main project aimed at providing a reactive key-value (KV) database. The data is typed (numbers, strings, dates, or booleans) and can include formulas with references to other entries. Clients connected to this database receive a real-time data stream with updates to the subscribed keys, allowing them to react to changes and their dependencies. Essentially, it’s like building a distributed Excel, where data and formulas dynamically update across the system. I couldn’t find any libraries that offered the full set of features I needed for evaluating expressions, so I…
2024 · github.com · its alternatives →
- 22

A simple way to write standalone C programs for i386 - luke8086/boot2c
2019 · github.com · its alternatives →
- 23

I rewrote the most common core string.h functions in pure C. I mostly did it to learn pointers and string. Would love to get any feedbacks:)
2025 · github.com · its alternatives →
- 24

A simple, self hosted, low level programming language. - mcilloni/fork
2018 · github.com · its alternatives →
Also compare
- A hash array-mapped trie implementation in C alternatives
- Going into freshman year, figured I should build an interpreter alternatives
- Asymmetric stackful cross-platform Coroutines in pure C alternatives
- Built a tiny interpreter from scratch in C to understand how they work alternatives
- A work-in-progress C compiler from scratch alternatives
- A minimal stack based VM in C alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →