Fork me on GitHub
 Improve this page

Overview

Harbour is the free software implementation of a multi-platform, multi-threading, object-oriented, scriptable programming language, backward compatible with Clipper/xBase. Harbour consists of a compiler and runtime libraries with multiple UI and database backends, its own make system and a large collection of libraries and interfaces to many popular APIs.

Harbour is a cross-platform compiler and is known to compile and run on Windows (32/64-bit), GNU/Linux, macOS, Android, OS/2 and MS-DOS. More features »

Why use it?

  • Harbour is free software, 100% compatible with Clipper compilers.
  • Harbour is proven to be stable, robust and efficient.
  • Harbour is portable across multiple operating systems with the same code base.
  • You can use it to develop either open source or commercial applications. Learn more »

Project Status:

Build status
Latest release:  3.0.0
Release date:  2011-07-17
Source snapshot:  ZIP  TAR.GZ
Nightly binary (Win):  7Z  EXE

More downloads »

Features

Native SQL, ADO, ODBC support
Support for modern technologies: JSON, SSL, TCP/IP, XML, …
Cross-platform: 64-bit, mobile, Mac, Linux, *BSD, ARM, …
Console, GUI, Service/Daemon, Web applications
Third party libs with additional features
Team of experienced and capable developers

Licensing

Harbour is a free and open-source project. It can be used to make open source applications, free or commercial products. Read more »

Development News


2016-09-20
Website refresh

Continuing with the refactor, the site is now fully vector-based, sources have been cleaned up and further minimised, the look refreshed. The crew page and code examples are now automatically generated, thus much easier to update. Several pages have been converted to Markdown. Source size is now 68 kB (was 624 kB). Also added en edit button to each page. @vszakats

2016-09-12
Website refactor

Website refactored to: use Jekyll, use pure HTML5, drop table based layout, drop JavaScript for a CSS menu, remove anything unused, fix things broken, use vector images instead of bitmaps where possible, deduplicate markup and content. This means 7.5x size reduction of page sources.
Content and design remained the same, but much easier to update now. @vszakats

2013-03-20
Migration to Git and GitHub GitHub Logo

The source repositories, website hosting, issue tracker, daily source snapshots, links and every other related facilities have been transferred to GitHub.

2011-07-17
Release 3.0.0

After 1.5 years of strong development and 3600 commits, new stable version 3.0.0 is released. Sources are available for download, prebuilt binaries will follow shortly.

2010-08-02
Successful port to VxWorks RTOS

In 2010 July with few days of development effort, Harbour has been ported successfully to VxWorks 6.8 Real-Time Operating System (x86 CPU target for now) for both GNU GCC and Wind River C Compiler. Thanks to Wind River Inc. for making their development package available to our open source project. This means Harbour can now run on cars, planes, rockets and robots :) Details in the commit.

2010-06-03
Mailing list address changes

Thanking Phil Barnett for providing the Harbour community a great mailing list for so many years, today, due to server problems, we have migrated the mailing lists to Google Groups in agreement with Phil and Harbour admins.
Make sure to revise your subscription settings, because digest, nomail options and readable name were lost along the migration.

2009-12-23
Release 2.0.0 unified Windows binaries

Harbour 2.0.0 (Revision 13372) source archives and Windows binary releases are available for download.

2009-12-22
Release 2.0.0

After 16 months of intensive development the final version 2.0.0 is finally released. There are many highlights and news in this new release, check out some details and download your copy free today.

2009-05-13
SourceForge Community Choice Awards

SourceForge.net announced the opening of nominations for the fourth annual SourceForge Community Choice Awards. Harbour is a candidate — nominate us!

2009-02-15
New website

Released the new layout for our site. This includes details about the project, several examples and will soon include some tutorials.

2008-09-17
Release 1.0.1

Many deployment fixes into General, Core and Contrib sections. All users should upgrade to receive the latest fixes.

2008-08-10
Release 1.0.0

Many deployment fixes into General, Core and Contrib sections. All users should upgrade to receive the latest fixes.

See the news archive for past articles.

Code Examples


Hello, world!
A simple welcome message.
FOR EACH example
Demonstrating how to use the FOR EACH command. FOR EACH iterates with elements of data types that can be seen as a collection such as arrays, strings or objects.
.ini file reading/writing
Test for reading/writing .ini files using native Harbour functions.
TBrowse() and TBColumn() examples
A simple example demonstrating the use of classes TBrowse() and TBColumn().
Idle processing
Simple way to run a process in the background.