DGbasic: A Retro-Style IDE built 100% in PureBasic

Working on new editor enhancements?
DaveG
New User
New User
Posts: 1
Joined: Mon Feb 16, 2026 7:19 pm

DGbasic: A Retro-Style IDE built 100% in PureBasic

Post by DaveG »

Hi everyone,

I wanted to share a passion project I've been working on for a while called DGbasic.
It is a retro-inspired programming language and fully integrated Development Environment (IDE), designed to bring back the fun and simplicity of "old school" BASIC coding, but with a modern engine under the hood.

How it works: The entire project is written in PureBasic.

The IDE: The code editor is built from scratch using a CanvasGadget. It handles custom syntax highlighting, line numbers, cursor management, and even a custom-built help system overlay.

The Language: DGbasic acts as a transpiler. It parses the custom retro-syntax (like single-line IF...THEN...ELSE, GOSUB, and simplified Graphics commands) and translates it into optimized PureBasic code.

The Output: It then utilizes the PureBasic compiler (via CLI) to generate standalone EXEs.

Key Features (Beta 5.1):
Retro Syntax: Simplified commands for 2D graphics, sprites, and logic.
Modern UI: A custom Dark Mode interface with integrated tools (Color Picker, Syntax Helper, Asset Manager).
Graphics Wrapper: It wraps PureBasic's powerful VectorDrawing and Sprite libraries into easy-to-use commands like OUTPUT DARKWINDOW, SPRITELOAD, and DRAWTEXT.
Hot-Swap Testing: You can run code directly from the IDE or compile to an executable.
It's been a great challenge to build an entire IDE logic using PureBasic's gadget system. It really shows how flexible PB is for creating custom tools.

Here is a screenshot of the current build (Beta 5.1):
Image

I'm still actively developing it, adding more commands and refining the editor logic. Thanks for looking!
Fred
Administrator
Administrator
Posts: 18513
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: DGbasic: A Retro-Style IDE built 100% in PureBasic

Post by Fred »

WOW ! :shock:
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 530
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: DGbasic: A Retro-Style IDE built 100% in PureBasic

Post by Mindphazer »

Indeed !
Just WOW
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 26.1 - Iphone 17 Pro Max - iPad at home
...and unfortunately... Windows at work...
BarryG
Addict
Addict
Posts: 4329
Joined: Thu Apr 18, 2019 8:17 am

Re: DGbasic: A Retro-Style IDE built 100% in PureBasic

Post by BarryG »

Looks interesting. Would love to test it. :) But, it's not for PureBasic code? Which BASIC does it translate from?
Post Reply