DevOps

FreeBASIC – BASIC compiler

FreeBASIC is a completely free, open-source, 32-bit BASIC compiler, with syntax similar to MS-QuickBASIC, that adds new features such as pointers, unsigned data types, inline assembly, object orientation, and many others.

Specifically, the FreeBASIC project is a set of cross-platform development tools initially created by Andre Victor, consisting of a compiler, GNU-based assembler, linker and archiver, and supporting runtime libraries, including a software-based graphics library. The compiler, fbc, currently supports building for i386-based architectures. The project also contains thin bindings (header files) to some popular 3rd party libraries such as the C runtime library, Allegro, SDL, OpenGL, GTK, and many others, as well as example programs for many of these libraries.

FreeBASIC is a high-level programming language supporting procedural, object-orientated and meta-programming paradigms, with a syntax compatible to Microsoft QuickBasic.

FreeBASIC is a self-hosting compiler, being roughly 120,000 lines of code (compiler core only, not including libraries).

It makes use of the GNU binutils programming tools as backends and can produce console and graphical/GUI executables, besides dynamic and static libraries. FreeBASIC fully supports the use of C libraries and partial C++ library support. This lets programmers use and create libraries for C and many other languages.

Key Features

  • A large number of variable types available.
  • Arrays.
  • BASIC Compatibility.
  • Built-in gfx library.
  • Clean Syntax.
  • Create OBJ’s.
  • Debugging support.
  • Enumerations (ENUM’s).
  • Escape characters inside literal strings.
  • Function overloading.
  • Inline Assembly.
  • Most of the known C libraries can be used directly, without wrappers.
  • Multi-platform.
  • Multi-threading.
  • Name spaces.
  • Optimized code generation.
  • Optional function arguments.
  • Pointers.
  • Preprocessor.
  • Typedefs.
  • Unicode support.
  • Unlimited number of symbols.
  • User-defined Types (UDT’s).
  • Variable initializers (including arrays and UDT’s).

Website: www.freebasic.net
Support: Forums
Developer: Andre Victor, Angelo Mottola, Daniel R. Verkamp, Jeff Marshall, Mark Junker and many others
License: GNU General Public License v2.0


Related Software

Compilers
GNU Compiler CollectionThe standard compiler for most Unix-like operating systems
rustcCompiler for the Rust programming language
AOCCAMD Optimizing C/C++ Compiler
LLVMLow-Level Virtual Machine (LLVM) compiler for C/C++
ispcIntel SPMD Program Compiler
BabelJavaScript compiler - use next generation JavaScript
Glasgow Haskell CompilerAn optimizing compiler for Haskell, written in Haskell
ClangC Language Family Frontend for LLVM
NuitkaOptimizing Python compiler
CHICKENCompiler for the Scheme programming language
FreeBASIC32-bit BASIC compiler
NumbaCompiler for Python array and numerical functions
Free PascalAdvanced Pascal compiler for Pascal and Object Pascal
NASMAssembler for the x86 CPU architecture
BiglooPractical Scheme compiler

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments