PureBasic 4.30

A new "high level" programming language based on established BASIC rules.
PureBasic is a new "high level" programming language based on established BASIC rules. PureBasic is similar to any other BASIC compiler you may have used, whether for the Amiga or PC. Learning PureBasic is very easy! PureBasic has been created for the beginner and expert alike. Compilation time is really fast. We have put a lot of effort into its realization to produce a fast, reliable and system friendly language.

The syntax is simple but the possibilities are endless with PureBasic's advanced features, such as pointers, structures, procedures, dynamically linked lists and much more. The experienced coder will have no problem in gaining access to any of the legal OS structures or API objects.

PureBasic is a portable programming language which currently works on AmigaOS (680x0 and PowerPC), Linux, MacOS X (PowerPC) and Windows computer systems. This means that the same code can be compiled natively the three systems and still use the full power of each. There are no bottlenecks like a virtual machine or a code translator; the generated code produces highly optimized executables regardless of the OS on which it is compiled. The external libraries are mainly written in hand optimized assembler, which produces very fast commands, often much faster than the C/C++ equivalent.


Use 'su -' to have root shell (if not already done)

Copy the 'purebasic/Compilers/pbcompiler' file in /usr/bin/
or any other directory in the PATH:

# cp purebasic/compilers/pbcompiler /usr/bin/

Next, move the whole 'purebasic' directory in /usr/share/

# cp -rf purebasic /usr/share/

NOTE: you can set the $PUREBASIC_HOME environment variable to
your installation path if you don't want to put the purebasic
drawer in /usr/share.

If you don't have 'fasm', copy it in your path (fasm v1.45 at least)

# cp purebasic/compilers/fasm /usr/bin/

To test your install, just type:

# pbcompiler

Main features:

  • Huge set of internal commands (800+) to quickly and easily build any application or game
  • All BASIC keywords are supported
  • Very fast compiler which creates highly optimized executables
  • No external DLLs, runtime interpreter or anything else required when creating executables
  • Procedure support for structured programming with local and global variables
  • Access to full OS API for advanced programmers
  • Easy but very fast 2D game support trough dedicated libraries (DirectX, SDL, ...)
  • Easy and high quality 3D support based on OGRE
  • Optimal use of the available hardware by using highly optimized (assembly) commands
  • Source code is portable between AmigaOS, Windows, MacOS X and Linux, for games and applications
  • Dedicated editor and development environment
  • Integrated debugger to easily trace programming bugs.
  • Technical Features:
  • 486, Pentium (Pro, II, III) support
  • Built-in arrays, dynamically linked lists, complex structures, pointers and variable definitions
  • Supported types: Byte (8 bits), Word (16 bits), Long (32 bits), Float (32 bits) and also user defined types (structures)
  • Built-in string types (characters)
  • Constants, binary and hexadecimal numbers supported
  • Expression reducer (grouping constants and explicit numbers together)
  • Standard arithmetic support in respect of sign priority and parenthesis: +, -, /, *, and, or, lsl, asl, lsr, asr
  • Very fast compilation (about 300 000 lines/min on a P200)
  • Procedure support for structured programming with local and global variables
  • All Standard BASIC keywords: If-Else-EndIf, Repeat-Until, etc.
  • External library support to manipulate objects like BMP pictures, windows, gadgets, SDL, etc.
  • External libraries are fully written in hand optimized assembler for maximum speed and compactness
  • The Linux API functions are fully supported as if they were BASIC keywords
  • Inline assembler
  • Precompiled structures with constants files for extra fast compilation
  • Configurable CLI compiler
  • System friendly, easy to install and use

last updated on:
January 5th, 2009, 10:40 GMT
license type:
developed by:
Fantaisie Software
ROOT \ Programming \ Code Generators

In a hurry? Add it to your Download Basket!

user rating 1



Rate it!
What's New in This Release:
  • Added: Full 64 bits version of PureBasic (Windows)
  • Added: MacOS X x86 support
  • Added: 'JPEG 2000' library
  • Added: 'Node' library
read full changelog

Add your review!