BaCon is a free BASIC to C translator for Unix-based systems. The following design goals were followed: To use Bacon your system must have either Korn Shell, or ZShell, or Bourne Again Shell (BASH) available. If none of these shells are available on your platform, download and install the free Public Domain Korn Shell which can execute BaCon also. Furthermore BaCon also works with a newer Kornshell implementation like the MirBSD Korn Shell.

BaCon intends to be a programming aid in creating tools which can be compiled on different platforms (including 64bit environments). It tries to revive the days of the good old BASIC.

Code converted by BaCon can be compiled by GCC, the Compaq C Compiler, TCC or the clang/LLVM compiler.


Older news can be found here.


BaCon Sources version 2.4.0

BaCon Precompiled Binaries and Packages

IDE Related



Demonstration programs

BaCon language extensions


Wrappers are BaCon functions built around external libraries.


Interfaces are straight imports from external libraries into BaCon.

User contributed functions

Test programs

Test1 hereTest7 hereTest13 here
Test2 hereTest8 hereTest14 here
Test3 hereTest9 hereTest15 here
Test4 hereTest10 hereTest16 here
Test5 hereTest11 hereTest17 here
Test6 hereTest12 hereTest18 here

Similar projects and other links


Last update: March 9, 2014 - © Peter van Eerten.

The canonical URL for this page is

The background for this page came from

This page was created by hand with

BaCon uses Fossil for its software versioning and revision control. 

RATING is my current Euler rating using BaCon.

to help the ongoing development of BaCon.