FreeBASIC: Difference between revisions

From Rosetta Code
Content added Content deleted
m (numerous minor link edits; some minor rephrasing)
m (added a few links, changed one other)
Line 1: Line 1:
{{implementation|BASIC}}'''FreeBASIC''' is a free/[[open source]] (GPL), 32-bit [[BASIC]] compiler for [[Microsoft]] [[Windows]], protected-mode DOS (via a DOS extender), [[Linux]], [[BSD|FreeBSD]], and the Xbox.
{{implementation|BASIC}}'''FreeBASIC''' is a free/[[open source]] ([[GPL]]), 32-bit [[BASIC]] compiler for [[Microsoft]] [[Windows]], protected-mode [[DOS]] (via a [[wp:DOS extender|DOS extender]]), [[Linux]], [[BSD|FreeBSD]], and the [[wp:Xbox|Xbox]].


It makes use of the GNU binutils programming tools as backends, and can produce console, [[QuickBASIC]]-compatible graphical and [[GUI]] executables, along with dynamic and static libraries. A [[GCC]] frontend is under development, which will enable compilation for many more operating systems than currently supported.
It makes use of the [[wp:GNU Binutils|GNU Binutils]] programming tools as backends, and can produce console, [[QuickBASIC]]-compatible graphical and [[GUI]] executables, along with dynamic and static libraries. A [[GCC]] frontend is under development, which will enable compilation for many more operating systems than currently supported.


Currently, software libraries like [[GTK+]], GSL, [[:Category:SDL|SDL]], [[wp:Allegro library|Allegro]], [[Lua]] and [[OpenGL]] can be used directly (no wrappers, only function and structure prototypes), and more are being added on every new release. A complete set of the Windows [[API]] headers is also included.
Currently, software libraries like [[GTK+]], [[wp:GNU Scientific Library|GSL]], [[:Category:SDL|SDL]], [[wp:Allegro library|Allegro]], [[Lua]] and [[OpenGL]] can be used directly (no wrappers, only function and structure prototypes), and more are being added on every new release. A complete set of the Windows [[API]] headers is also included.


The compiler, and its nearly 90,000 lines of code, was, and still is, compiled by itself (in other words, FreeBASIC is a [[wp:Self-hosting|self-hosting compiler]]). The first version of FreeBASIC was written in [[Visual Basic]] for DOS for that purpose.
The compiler, and its nearly 90,000 lines of code, was, and still is, compiled by itself (in other words, FreeBASIC is a [[wp:Self-hosting|self-hosting compiler]]). The first version of FreeBASIC was written in [[:Category:Visual Basic|Visual Basic]] for DOS for that purpose.


==See also==
==See also==

Revision as of 07:24, 28 July 2011

FreeBASIC is an implementation of BASIC. Other implementations of BASIC.

FreeBASIC is a free/open source (GPL), 32-bit BASIC compiler for Microsoft Windows, protected-mode DOS (via a DOS extender), Linux, FreeBSD, and the Xbox.

It makes use of the GNU Binutils programming tools as backends, and can produce console, QuickBASIC-compatible graphical and GUI executables, along with dynamic and static libraries. A GCC frontend is under development, which will enable compilation for many more operating systems than currently supported.

Currently, software libraries like GTK+, GSL, SDL, Allegro, Lua and OpenGL can be used directly (no wrappers, only function and structure prototypes), and more are being added on every new release. A complete set of the Windows API headers is also included.

The compiler, and its nearly 90,000 lines of code, was, and still is, compiled by itself (in other words, FreeBASIC is a self-hosting compiler). The first version of FreeBASIC was written in Visual Basic for DOS for that purpose.

See also