Skip to content

License

Paul Squires edited this page Nov 9, 2026 · 7 revisions

License and Attribution

The FreeBASIC language reference in this wiki

The keyword, statement, operator, function and compiler pages of the compatibility reference are reproduced from the FreeBASIC Wiki Manual. The tiko pages (the language, the standard library, the toolchain and the tutorials) are not; they are covered in the next section.

Copyright © the FreeBASIC project and wiki contributors. Reproduced under the GNU Free Documentation License, Version 1.3, with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.

The upstream manual lives at https://www.freebasic.net/wiki/DocToc. These pages are a Markdown conversion of the official compiled manual for FreeBASIC 1.20.0; the language they describe is unchanged by this project.

The tiko pages

These pages document the tiko language, its standard library and its toolchain. They are licensed under the GNU Free Documentation License, version 1.3 or later, with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.

Copyright © Paul Squires, PlanetSquires Software.

The compiler itself

tiko-lang is its own compiler, written from scratch, and written in tiko. It is not a copy of fbc, and it is licensed in parts. The repository's LICENSE is the map.

Part Licence
The compiler (src/, tools/, build/, and its own tests/) and the tiko binaries built from it GNU GPL v2 or later (COPYING)
The package library (pkg/: std, db, sys, tkl), in the repository and in the toolchains GNU GPL v2 or later, with a linking exception (pkg/LICENSE)
The runtime, tiko-rt (lib/rt/), a derivative of fbc's libfb GNU LGPL v2.1 or later, with a static-linking exception (lib/rt/LICENSE, COPYING.LGPL-2.1)
The graphics library, libtkogfx (lib/gfx/), a derivative of fbc's gfxlib2 LGPL v2.1 or later, same exception (lib/gfx/LICENSE)
tiko's documentation (the READMEs and the tiko pages here) GNU FDL 1.3 or later

Your programs are yours. Both libraries extend fbc's static-linking exception to themselves, and the package library carries the same exception, so a program compiled by tiko, linked against the libraries and importing the packages can be distributed on any terms you choose.

The packaged toolchains carry third-party components.

  • inc/ holds FreeBASIC's headers (crt/, win/, fbgfx.bi and the rest) beside tiko's own, a few third-party bindings (GL/, clang-c.bi, llvm-c.bi, ffi.bi and others) and, on Windows, AfxNova. FreeBASIC's headers keep FreeBASIC's terms. 146 of them carry a no-redistribution notice, and the FreeBASIC project has given its permission to ship them.
  • lib/<target>/ holds no fbc binaries: tiko-rt (on Linux and macOS with its own startup object), on Windows libtkogfx, fbcunit (LGPL 2.1 or later) and SQLite, which is public domain. The Windows toolchain adds import libraries for the Windows DLLs, built from export lists derived from mingw-w64's import libraries (ZPL 2.1, with parts in the public domain).
  • Each toolchain's licences/ holds tiko's notices, FreeBASIC's and fbcunit's, and on Windows mingw-w64's (COPYING.MinGW-w64-runtime.txt).
  • clang is not bundled.

Where these pages came from

The FreeBASIC manual pages are a Markdown conversion of the official 1.20.0 manual, taken through the HelpCenter docset pipeline. The tiko pages and the manual pages are both edited here directly.

Clone this wiki locally