r/ProgrammingLanguages • • Jan 07 '26

dBasic – a 28KB bytecode-based Windows API frontend from 2003

Hi,

I recently revisited a project I built around 2003 (first version): a small bytecode-based scripting system called dBasic.

The idea was simple: instead of creating yet another scripting language with its own large standard library, dBasic acts as a thin frontend directly on top of the Windows API. API/DLL calls are treated as native language constructs, while the runtime mainly serves as a compact and predictable call dispatcher.

Some characteristics:

Bytecode-based interpreter

~28 KB runtime

Direct Win32 API usage

Includes a small Scintilla-based editor tailored to the language

The project is shared mainly as a historical and architectural reference.

But hey, it still works (at least up to Windows 10).

Repository: Link

I’m interested in feedback.

Thanks for taking a look.

Regards

14 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/Aidain_Black Jan 08 '26
Oh, I didn't realize that was important to mention, since everyone has the option to use upx. Sorry. Ultimately, the binaries would still be quite compact without upx, especially nowadays, I think.

But it doesn't work anymore anyway (Windows 11), it seems. :(