A Stoner writes Forth in Zig??? @CallousCoder
A Stoner writes Forth in Zig???  @CallousCoder
Uploaded October 2024 | Updated September 2026, 5 hours ago
Today we will go over the #Zig implementation of a basic #Forth interpreter that I wrote. Now my #stoner friend #Claude, actually helped with this a little. But for a 15 year old on acid, he did a pretty decent job.

Ironically the previous video was flagged for 8 seconds of Cheap Trick's Surrender, when it obviously is fair use. But visibility would be restricted internationally, so hence this version.

Code: github.com/rdoetjes/zforth

Chapters:
00:00 Intro
00:27 setting the parameters and introducing my stoner friend Claude
02:40 Claude reminds me of Claude in Over the Edge (1979)
03:49 The code
05:40 Size does matter (for an interpreter)
08:10 Compiling
11:05 Interrupt Signal handling (issue with MacOS)
12:27 Repeat/begin/until/do interrupting and exit conditions
15:05 Explaining the actual lexer/parser/interpreter
22:55 Easily extending the interpreter with new words
22:30 Why LLMs suck (the distribution of crap)
24:12 Why is Claude is better at Zig than other language?
24:30 What Claude was helpful with
27:18 What Claude wasn't helpful with
27:23 FORTH DEMO TIME!!!
35:23 Outro/Conclusion
A Stoner writes Forth in Zig???Repair and Bishop recreation for Novag Micro Chess computerArduino plays 1978 SIMON, perfectlySHATTERING THE 100M DASH RECORDMy AI has a better taste in men, than women!!!Cloak and Dagger (1984) Movie and Game hack (FUNNY)Restoring C64 to nice looking conditionMacGyver Cover And Title (a little of my VFX work ;) )Making redressable/reusable SFX Prop DynamiteTRON in TRICOLOR ASCII ARTC64 Assembly lesson 1: Writing Clear Screen Sub routineSIO2PC for ATARI REVIEW/CONFIG & REACT2DEMO
CallousCoder |

A Stoner writes Forth in Zig???

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER