nowfound

Alternatives

Products that do what Computing with just one instruction – Forth on SUBLEQ does

Hello HN, This is a project of mine which contains a working, self-hosting, Forth interpreter for a single instruction machine. The instruction is called "SUBLEQ", short for (SUB)tract and branch if (L)ess than or (EQ)ual. Everything has to be synthesized from that instruction, bitwise operators have to be implemented in terms of repeated subtraction and self modifying code used to create indirect loads and stores. In doing this it is possible to port a working language that is capable of generating new images for the machine. It's possible to play with it online at:…

  1. 1IM

    https://github.com/siraben/ti84-forth Hi HN! For the past year I've been getting into programming in Z80 assembly (especially for the TI-84+). More recently I've been learning about the Forth programming language and after a lot of searching online (in vain) for a Forth interpreter for the TI-84, I decided to write one myself. It's been fun demoing this to others, because it's a very unexpected use of a calculator. It's my largest project to date, and I'm interested to know what the HN community thinks, please feel free to critique my code! -- Ben

    2018

  2. 2DT
  3. 3FA
  4. 4IM

    https://github.com/siraben/zkeme80 As a successor to my previous project[1], a Forth interpreter that runs under the TI operating system, I decided to go all the way and write my own assembler and OS. This is a project I've been working on for just over a month, but there's still a long way to go. The idea is to have a kernel + the Forth interpreter and compiler, then users can modify how their operating system works through the Forth files. My Forth implementation is mostly ANS-standard conforming, so most code should work right out of the box without any problem. See…

    2019

  5. 5FA
  6. 6AC
  7. 7SA

    Hi HN! Silk is a project I began working on approximately six months ago without any prior experience or knowledge of compiler design, and it's been a frustrating but fun learning experience. It is very much a work in progress, but I would love to hear feedback of any kind!

    2020 · ajaymt.github.io

  8. 8BA

    I am a Dutch high school student and last year I had to do a large project of my own choice. Together with two other guys I decided to do a project about digital logic. We had an ambitious plan: building an 8-bits computer. At that time I started learning programming and I already knew some HTML and CSS. So we decided to not build a physical computer, but one running in a self-built simulator. I was going to build the simulator, the other guys took care of the computer. I was hard, our school hadn't taught us anything about computers and programming so we had to learn everything ourselves.…

    2017

  9. 9SH
  10. 10AP
  11. 11XA

    Hello I've been working on a small stack language for the BEAM in my free time called 'Xlerb'. I read Starting Forth and thought it would be interesting to see if you could send messages to other stacks etc, and the BEAM seemed like a great fit. Xlerb is a small leex/yecc grammar and a simple-ish compiler that takes Forth-ish code and turns it into regular BEAM modules. The modules it produces just export functions from stack to stack, so there's a good interop story with Elixir/Erlang (if you'd ever want to do that?). I've the syntax a bit beyond a 'strict' forth with pattern…

    Nov 2025

  12. 12GA

    2020 · greg-calendar.vercel.app

  13. 13FA
  14. 141A

    10biForthOS = 10b(2) i(nstructions) Forth OS is a very primitive Forth with only two instructions: 1 is compile 0 is execute It is heavily inspired by Frank Sergeant 3-Instruction Forth (https://pygmy.utoh.org/3ins4th.html)

    2025 · git.sr.ht

  15. 15OS

    Hi HN, we’re Dylan and Matthew, building sublingual (https://github.com/sublingual-ai/sublingual), an open-source LLM observability tool you can use with zero code changes. As developers focused on iterating and building features as fast as possible, we felt observability would’ve been a helpful tool to have, but we found existing solutions had too much overhead to set up. So we gave ourselves the challenge of building an observability tool that you can integrate without changing a single line of code in your project. How it works Run your python application as usual with…

    2025 · github.com

  16. 16CR

    hi everyone. how does moving llm call prompts and output structure definitions away from code into configuration land sound? would you use something like this if it was stable and well documented enough? please don't hold back the criticism. i appreciate all feedback (constructive & otherwise).

    2024 · github.com

  17. 17BA

    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

  18. 18OS

    We’ve just released an open-source library for solving the Maximum Independent Set (MIS) problem with neutral atom quantum computing, running on both quantum processing units (QPUs) and classical hardware, thanks to emulators. This project is the result of collaboration between Pasqal, academic researchers, and industry partners, aiming to make it practical to experiment with quantum approaches to hard combinatorial optimization tasks. The MIS problem appears in real-world scenarios like scheduling, resource allocation, and network optimization, areas where classical solvers often struggle…

    2025

  19. 19MP

    2017 · min-lang.org

  20. 20IR

    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

  21. 21HM

    This is a pretty straightforward port of Robert Smallshire's Python implementation to C. It type checks a factorial program correctly and is pretty fast. Mostly a learning exercise.

    2022 · github.com

  22. 22IR

    Tril converts every function in a repo into plain English descriptions, then runs and tests them — using an LLM as the interpreter instead of a runtime. The concept: programming languages exist because machines couldn't understand human intent. LLMs can. So what happens if you remove the code entirely and just... describe what each function should do? The tool replaces functions one by one, runs your test suite after each swap to confirm nothing breaks, and outputs a .md file. Then `tril run` spins up an HTTP server that sends each function's English description to Claude and returns the…

    Mar 2026 · tril.cc

  23. 23OD

    Hi all! I've been doing spacecraft system engineering since grad school and got to keep doing it after school at Care Weather. I tried several approaches for keeping hundreds of napkin math equations and connected simulations up-to-date, but none of them were both reliable and easy to use. To solve that, I made Oneil, a design specification language with clean syntax for specifying and evaluating math describing a complex system. Oneil has been really helpful as we design one satellite iteration after another for ground testing and spaceflight. I'm really interested in hearing feedback and…

    2024 · github.com

  24. 24PA

    A little game I made to show off an old project. The functionality of the CPU is derived entirely from simulated logic gates. All the operations and control flow are based on the underlying properties of the logic gates, and changing their operation leads to corresponding changes in function. The original game code is all python and it runs in the browser using wasm/pyodide. Not very mobile friendly

    2024 · loreley.one

Ranked by how close each launch is in meaning, then by votes. Refine with a description →