Free Pascal

Free Pascal
Developer(s)Florian Klämpfl & volunteers
Initial release1997; 27 years ago (1997)
Stable release
3.2.2 / May 20, 2021; 3 years ago (2021-05-20)
Preview release
3.3.1
Repository
Written inObject Pascal
Operating systemCross-platform, embedded
TypeCompiler, embedded operating system
LicenseGNU General Public License for compiler and utility executables. GNU Lesser General Public License with static linking exception for runtime, package, component and other libraries that become part of executables created with compiler
Websitewww.freepascal.org

Free Pascal Compiler (FPC) is a compiler for the closely related programming-language dialects Pascal and Object Pascal. It is free software released under the GNU General Public License, with exception clauses that allow static linking against its runtime libraries and packages for any purpose in combination with any other software license.

It supports its own Object Pascal dialect, as well as the dialects of several other Pascal family compilers to a certain extent, including those of Borland Pascal (named "Turbo Pascal" until the 1990 version 6), Borland (later Embarcadero) Delphi, and some historical Macintosh compilers. The dialect is selected on a per-unit (module) basis, and more than one dialect can be used per program.

It follows a write once, compile anywhere philosophy and is available for many CPU architectures and operating systems (see Targets). It supports inline assembly language and includes an internal assembler capable of parsing several dialects such as AT&T and Intel style.

There are separate projects to facilitate developing cross-platform graphical user interface (GUI) applications, the most prominent one being the Lazarus integrated development environment (IDE).