PureBasic is an "high level" programming language based on established BASIC rules.
It is similar to any other BASIC compiler you may have used, whether for the Amiga, PC, MacOS X or Linux.
Learning PureBasic is very easy! PureBasic has been created for the beginner and expert alike.
Compilation time is really fast. This software has been developed for the Windows operating system.
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 run on AmigaOS (680x0 and PowerPC)
Windows (x86 and x64), Linux (x86 and x64) and MacOS X (x86 and PowerPC). This means that the same code
can be compiled natively for all 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 very optimized, up to the assembler
level when needed, which produces very fast and small commands.
- 486, Pentium, Core2, Core i7, Athlon, Phenom support
- Built-in arrays, linked lists, maps, complex structures, pointers and variable definitions
- Supported types: Byte (8 bit), Word (16 bit), Long (32 bit), Float (32 bit), Quad (64 bit), Double (64 bit) and also user defined types (structures)
- Built-in string types (characters) and transparent unicode support
- Constants, binary and hexadecimal numbers supported
- Expression reducer and optimizer (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
- Procedure support for structured programming with local, global, protected variables
- Built-in thread programming facilities with threaded variables and threadsafe mode
- Most Standard BASIC keywords: If-Else-EndIf, Repeat-Until, etc.
- External library support to manipulate objects like pictures, windows, controls, DirectX, etc.
- External libraries are very optimized up to the assembler level for maximum speed and compactness
- The Win32 API functions is 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
- Windows XP, Windows Vista, Windows 7, Windows 8 or Windows 10
PureBasic is designed for both beginners and 'pure' advanced users alike. Here we will explain some important
features demonstrating that PureBasic is a very powerful and unique language. Firstly, PureBasic uses
"third party libraries" which are very modular, and can extend to any number of libraries. There are numerous
libraries provided as standard which include : sound, sprite, windows, gadgets, screen, palette, openGL, etc.
These libraries ensures maximum performance, as they are written in a very optimized way.
Note: any user can develop their own libraries. All tools are provided in the full package. With PureBasic,
user libraries can be written in both C and assembler for better flexibility.
The advanced system of structures and pointers lets the user access OS objects easily, allowing extra information
to be used with regular commands. Windows functions are fully supported through a large file containing
all constants and structures. This allows lightning fast compilation, even if your program needs to access OS functions.
For all assembler optimizer freaks (like us ? :-): You can compile programs into a 'commented asm output file',
containing all code in a comprehensive asm format: all directly recompilable after an hand-made modification. It has never
been so easy to optimize small program parts. You keep control of all your source code.
The PureBasic source code has been programmed in a very modular fashion and can support any processor or operating system.
This has been proven already as PureBasic is now available on four very different systems: Windows, Linux, MacOS X and AmigaOS.