💻 slembcke.net

SLORTH!

Click for sound. Double click for fullscreen.

Download: slorth.nes Emulation via JSNES

Type using your keyboard!

Instructions

I need to write some real instructions! For now, try typing in the following program. (Note: you won't get any feed back until you type in the ;. That's normal.)

: collatz
	begin
		dup . sp
		dup 1 & if
			3 * 1 +
		else
			2 /
		then
	dup 1 <= until
	. cr
;
27 collatz

Check out the source code: SLORTH! on Codeberg

About

This is a Forth-like programming language I've been making for fun that targets 6502 based systems. Once I found out there was a keyboard perhiperal available in Japan, porting it was a no brainer!