Harbour @ xBasians.org

Modern open-source xBase compiler for Windows, Linux & macOS

🚢 About Harbour

Intro

Harbour is a 100 % free, multi-platform xBase language compiler and development environment. It converts Clipper / xBase code into highly optimized C and then compiles it with GCC/Clang/MSVC.

⚡ Quick install

30-sec start
# 1) prerequisites (Ubuntu example)
sudo apt install build-essential git

# 2) clone
git clone https://github.com/harbour/core.git $XBASE_WORKSPACE/harbour-core
cd $XBASE_WORKSPACE/harbour-core

# 3) build
make

After build add bin folder to PATH.

  1. Download harbour-x.y.z-win64.zip from GitHub Releases
  2. Unpack to %XBASE_WORKSPACE%\harbour
  3. Add %XBASE_WORKSPACE%\harbour\bin to PATH
  • macOS (Homebrew):
    brew install harbour
  • Arch AUR:
    yay -S harbour-core-git
  • openSUSE:
    sudo zypper install harbour

👋 Hello World

30 s
// hello.prg
PROCEDURE Main()
   ? "Hello from Harbour running on", OS()
   WAIT
RETURN

Compile & run:

hbmk2 hello.prg -run

🔗 Docs & Links

Resources

🛠️ Editors & IDEs

Productivity
Ready? Set up xPM →