nowfound

Dev tools · January 2, 2023

CW

Computing with just one instruction – Forth on SUBLEQ

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:…

What it does

In the maker’s words, at launch

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: https://howerj.github.io/subleq.htm (feedback welcome) The Forth is fairly feature full and includes cooperative multitasking.

Does the same job

all alternatives →
  • IM
    I'm 17 and I created a Forth interpreter for the TI-84+ calculator2018 · ▲56

    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

  • DT
  • FA
    Forsh – A Unix shell embedded in Forth2017 · bitbucket.org · ▲76
  • IM
    I made a Forth-Based OS for the TI-84+ Calculator2019 · ▲6

    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…

  • AC
  • SA
    Silk, a simple systems programming language2020 · ajaymt.github.io · ▲79

    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!

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, January 2023

the whole month →
  • NA

    This works suprisingly well. Just give it instructions like "make it winter" or "remove the cars" and the photo is altered. Here are some examples of transformations it can make: Golden gate bridge: https://raw.githubusercontent.com/brycedrennan/imaginAIry/ma... Girl with a pearl earring: https://raw.githubusercontent.com/brycedrennan/imaginAIry/ma... I integrated this new InstructPix2Pix model into imaginAIry (python library) so it's easy to use for python developers.

    AI · 2023 · github.com

  • Fast, reliable, and affordable open source payments switch

    Dev tools · 2023 · hyperswitch.io

  • IV

    The project is called QueryStorm. It uses Roslyn to offer C# (and VB.NET) support in Excel, as an alternative to VBA. I've posted about it before, but a lot has changed since then so figured I'd share an update. The current version includes a host of new features, namely a C# debugger, support for NuGet packages, and the ability to publish Excel extensions to an "AppStore" (which is essentially a NuGet repository). The AppStore can be used by anyone with the (free) runtime component. Another great addition is the community license, which is a free license for individuals and small companies…

    Work · 2023 · querystorm.com

  • IM

    Hey HN! Some more info: I’m an NHS doctor and the founder of Pi-A (https://www.pi-a.io) which developed Lungy (https://www.lungy.app). Lungy is an app (iOS only for now) that responds to breathing in real-time and was designed to make breathing exercises more engaging and beneficial to do. It hopefully has many aspects of interest to the HN community – real-time fluid, cloth and soft body sims running on the phone’s GPU. My background is as a junior surgical trainee and I started building Lungy in 2020 during the first COVID lockdown in London. During COVID, there were…

    Life & fun · 2023 · lungy.app

  • Your 2022 on Product Hunt

    Life & fun · 2023

  • 200+ handpicked tools to skyrocket your product launch

    Growth · 2023