Portable BASIC

An experiment to bring BASIC everywhere.

Our newest achievement -- Portable BASIC on the HP Touchpad under Arch Linux ARM.

New! Version 1.38 gives the ability to pass arguments via the command line. Type basic --help after compiling for a list of options.


BASIC is, as its name suggests, a very simple programming language. It was introduced at Dartmouth in 1967, and in the late 70's and early 80's it became THE de facto standard for personal computers.

Today, BASIC has lost its prominence in programming, and is in many respects on its way out. Why, then, would anyone want to write a line-entry BASIC interpreter now?

Read on to find out...

What is Portable BASIC?

Portable BASIC is a simple BASIC interpreter written in C and intended to be (what else) portable. It's intended for use on phones and tablets, and to prove its portability all testing and almost all coding is being done on a single unrooted Samsung Galaxy S III.

Why are you creating Portable BASIC?

Well, mainly to get C skills, but also to do some serious C pwning on a cell phone. Who doesn't like that?

I want it!!!

Whoa, hold your horses there, Jethro! We'll give it to you, but a little info first. Portable BASIC doesn't do that much as of yet, and it's still a work in process. As of v1.39, only seven commands exist. But more are coming with every release.

Notice: As of version 1.39, a bug in the print statement has been fixed.

Click here to download basic.c, the source for Portable BASIC. Have fun... (Current version: 1.39)

Do you have Windows and feel left out? Don't worry, we've been there, too. Click here to download a compiled Windows version of Portable BASIC. (Get it? Portable BASIC is PORTable to other systems with ease...) The Windows binary won't be constantly updated, but we'll try to do the best we can. (Current version: 1.39)

Click here to download winbasic.c, the source for the Windows Version of Portable BASIC.

Copyright © Computer Sciences Club 2012