Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    SwifDoo PDF Pro drops to $35—and it’s a lifetime license

    This $60 Bitcoin miner can be run on your desk

    Internet Archive unveils tool to save the web from dead links

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026

      To avoid accusations of AI cheating, college students are turning to AI

      January 29, 2026

      ChatGPT can embrace authoritarian ideas after just one prompt, researchers say

      January 24, 2026
    • Business

      New VoidLink malware framework targets Linux cloud servers

      January 14, 2026

      Nvidia Rubin’s rack-scale encryption signals a turning point for enterprise AI security

      January 13, 2026

      How KPMG is redefining the future of SAP consulting on a global scale

      January 10, 2026

      Top 10 cloud computing stories of 2025

      December 22, 2025

      Saudia Arabia’s STC commits to five-year network upgrade programme with Ericsson

      December 18, 2025
    • Crypto

      Tether Freezes $500 Million in Assets Linked to Turkish Gambling Ring

      February 7, 2026

      Crypto.com CEO Pivots to AI Agents, Launch Planned For Super Bowl

      February 7, 2026

      Will Solana’s Price Recovery Be Challenging? Here’s What On-Chain Signals Suggest

      February 7, 2026

      China Widens Crypto Ban to Choke Off Stablecoins and Asset Tokenization

      February 7, 2026

      CFTC Expands Crypto Collateral Pilot to Include National Trust Bank Stablecoins

      February 7, 2026
    • Technology

      SwifDoo PDF Pro drops to $35—and it’s a lifetime license

      February 8, 2026

      This $60 Bitcoin miner can be run on your desk

      February 8, 2026

      Internet Archive unveils tool to save the web from dead links

      February 8, 2026

      I’m obsessed with this 3D-printed tray for Costco hot dogs

      February 8, 2026

      This refurbed Acer with an RTX 5060 may be the best deal in gaming PCs right now

      February 8, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»Show HN: R3forth, a ColorForth-inspired language with a tiny VM
    Technology

    Show HN: R3forth, a ColorForth-inspired language with a tiny VM

    TechAiVerseBy TechAiVerseFebruary 7, 2026No Comments3 Mins Read0 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Show HN: R3forth, a ColorForth-inspired language with a tiny VM
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    Show HN: R3forth, a ColorForth-inspired language with a tiny VM

    r3forth

    A Minimalist, Self-Hosted Stack Machine Environment

    r3forth is a programming language and environment inspired by ColorForth and the Forth philosophy. It’s designed to be a complete, self-contained system that balances extreme minimalism with practical creative power.

    R3 can load and call procedures from any dynamic library (.DLL in windows) or (.SO in linux) the distro use SDL2 library for make games.

    Technical Overview

    • Ultra-Minimalist VM: A highly portable, lightweight core (~40kb) written in C. It’s designed for simplicity and speed, currently supporting Windows and Linux: r3evm.
    • Zero Bloat Philosophy: No massive standard libraries or complex toolchains. It’s just the core VM, the stack, and your code.
    • High Performance & Native Ambitions: Despite running on a VM, r3 is architected for speed. It features a self-hosted compiler (currently for Windows) written entirely in r3forth, laying the groundwork for future direct-to-metal implementations.
    • Rich Ecosystem: On top of this minimal core, r3 provides a powerful suite of libraries for:
    • Graphics & 2D: Sprites, tilemaps, fonts, animations, and stack-based sprites.
    • Advanced Logic: 3D engine, collision hash, and TUI/Immediate Mode GUI (immgui).
    • Tooling: Integrated editors and a growing collection of games and demos.

    Quick Start

    LINUX

    r3 requires SDL2 development libraries.

    1. Install dependencies:

    sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
    

    2a. Run the precompiled binary:

    Donwload the latest release(.zip)

    or

    2b. Build and Run:
    If you want to build the VM from source (recommended for compatibility):

    # Clone the VM core
    git clone https://github.com/phreda4/r3evm
    cd r3evm && make
    # Move the binary back to the main folder
    mv r3lin ../ && cd ..
    ./r3lin
    

    WINDOWS

    1. Donwload the latest release(.zip)
    2. Extract and run r3.exe. No installation required.

    Workflow: How to use r3

    r3 is flexible. You can use the built-in environment or stay in your favorite terminal/editor.

    1. The Integrated Development Environment (IDE)

    By default, running the binary without arguments loads the internal system.

    • Execution: Run ./r3lin (Linux) or r3.exe (Windows).
    • Bootstrap: The system automatically loads main.r3. This script acts as the entry point, scanning the /r3 folder to build the internal menu and tools.
    • The Environment: Inside, you have access to the built-in code editor, dictionary browser, and live-coding tools.

    2. Standard Text Editor Workflow (CLI)

    If you prefer using Emacs, Vim or Notepad++, you can use r3 as a traditional compiler/interpreter.

    • Create your script: Save your code with the .r3 extension (e.g., hello.r3).
    • Run it directly: Pass the filename as an argument:

    | linux
    ./r3lin hello.r3
    
    | windows
    r3 hello.r3
    
    • Development Loop: r3 is designed for instant feedback. The VM starts, compiles, and executes your script in milliseconds.

    r3forth1.mp4


    r3forth2.mp4


    3. First program

    Red box in the corner program

    ^r3/lib/sdl2gfx.r3
    
    :main
    	0 sdlcls
    	$ff0000 sdlcolor
    	10 10 100 100 sdlfrect
    	sdlredraw
    	sdlkey
    	>esc< =? ( exit )
    	drop ;
    	
    :
    	"red box in the corner" 800 600 SDLinit
    	'main SDLShow
    	SDLquit 
    	;
    

    4. Folder Structure

    • main.r3: The core startup script.
    • /r3: Contains all the code, the system libraries, the IDE code, and core tools, etc.. all in .r3 code
    • /asm: Compiler folder, not used if you not invoke it.
    • /dll: In WIN you not install anything, the dll is here.
    • /doc: Documentation.
    • /media: graphics, sounds, models, font..etc
    • /mem: use like static memory (for keep info when exit r3)
    • main.xml: syntax coloring for notepad++

    Showcase & Demos

    r3 is not just a language; it's a creative suite. Here is what you can find:

    develop.mov


    games.mov


    demo.mov


    opengl.mov


    Games in itch.io

    • https://phreda4.itch.io/

    More documentation

    In the /doc folder.

    • Cheatsheet only BASE words

    • Manual

    • Quick reference

    • SDL graphics programing

    • Words from basic libs


    Youtube Channel

    • Videos
    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleEarly Christian Writings
    Next Article Iran VPN Search Interest Explodes by Over 2000% Indicating Demand for Private, Unfiltered Communication
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    SwifDoo PDF Pro drops to $35—and it’s a lifetime license

    February 8, 2026

    This $60 Bitcoin miner can be run on your desk

    February 8, 2026

    Internet Archive unveils tool to save the web from dead links

    February 8, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025658 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025245 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025148 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025111 Views
    Don't Miss
    Technology February 8, 2026

    SwifDoo PDF Pro drops to $35—and it’s a lifetime license

    SwifDoo PDF Pro drops to $35—and it’s a lifetime license Image: StackCommerce TL;DR: SwifDoo PDF Pro gives…

    This $60 Bitcoin miner can be run on your desk

    Internet Archive unveils tool to save the web from dead links

    I’m obsessed with this 3D-printed tray for Costco hot dogs

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    SwifDoo PDF Pro drops to $35—and it’s a lifetime license

    February 8, 20263 Views

    This $60 Bitcoin miner can be run on your desk

    February 8, 20263 Views

    Internet Archive unveils tool to save the web from dead links

    February 8, 20264 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    This new Roomba finally solves the big problem I have with robot vacuums

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.