vbSlacker is an ongoing experiment. I've been picking at this for several years now. This is meant to be a compiler/runtime library for legacy BASIC code. The goal was to support most of the syntax and API of Qbasic, QuickBASIC 4.5, and the earlier Visual Basics. It was intended to compile to native code, and the runtime was to be C-callable, albeit with some weird macros and inline asm to handle the stack and registers.

This project is currently not being worked on, but volunteers that would like to tackle it are always welcome. I pick at this codebase once in a while, but not heavily.

What works:

What doesn't work: In short, this is currently a half-complete BASIC runtime with some cool ideas. :)


vbSlacker is licensed under the GNU Lesser General Public License version 2.1 . Those interested in a closed-source license may contact me about licensing fees.


bzcat vbslacker.tar.bz2 | tar -xvvf -
cd vbslacker
cd BASIClib
cp ./vbslacker.cons ./vbslacker.lang /etc

After that, you can just build BASIClib, or libgc, or the test programs individually. The only things that use BASIClib right now are the test programs, so you'll want to:

cd vbslacker/tools/testlib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../../BASIClib:../../BASIClib/consoledrivers

If you get an "Error #17", then you either didn't copy vbslacker.lang and vbslacker.cons to /etc, or you didn't set the LD_LIBRARY_PATH, or something didn't build correctly. Obviously, making this more user-friendly is a necessity. :)

Your Mileage May Vary under Windows.


Prepackaged source code:

Downloading from Mercurial:

vbSlacker's source code may be downloaded using Mercurial, or "hg". Hg allows you to get up-to-the-minute fixes and enhancements; as a developer works on a source tree, you can use hg to mirror that source tree instead of waiting for an official release. Please look at the Mercurial website for more information on using hg.

Here is the web interface to vbSlacker's Mercurial repository.

To download vbSlacker via Mercurial:

hg clone http://hg.icculus.org/icculus/vbslacker/

Maintainer Wanted:

Generally speaking, I'm still interested in working on this project, but I don't have the time to put into it right now. If anyone is willing to take up the slack and become the official maintainer, I'll be more than happy to provide webspace, source control, shell, email, finger, and any other reasonable services you'd like to make your development easier and more rewarding. At any rate, I am, of course, always happy to answer questions and give help.

If you are interested, just email me.

Page maintained by Ryan C. Gordon.