dmsc / fastbasic

FastBasic - Fast BASIC interpreter for the Atari 8-bit computers
GNU General Public License v2.0
134 stars 20 forks source link
6502 atari atarixl basic-programming-language compiler interpreter language programming-language

FastBasic - Fast BASIC interpreter for the Atari 8-bit computers

This is a fast interpreter for the BASIC language on the Atari 8-bit computers and the Atari 5200 console.

The current features are:

For support, use the GitHub bug-tracker or see the AtariAge thread at: https://atariage.com/forums/topic/318133-fastbasic-45-2021-release/

Manual

There is a full manual with all the supported syntax in the file manual.md.

To use the cross-compiler, download from the releases and see compiler/USAGE.md for instructions.

For the Atari 5200 support, read the Atari 5200 manual appendix.

Sample files

There are samples for the integer only compiler and for the floating point compiler, in addition to more test programs in the tests folder.

License

FastBasic is free software under the terms of the GNU General Public License, either version 2 or later, see the file LICENSE for the full text.

The runtime is also under the following linking exception:

In addition to the permissions in the GNU General Public License, the authors give you unlimited permission to link the compiled version of this file into combinations with other programs, and to distribute those combinations without any restriction coming from the use of this file. (The General Public License restrictions do apply in other respects; for example, they cover modification of the file, and distribution when not linked into a combine executable.)

This means that you can distribute the compiled result of any program written by you under any license of your choosing, either proprietary or copyleft.

Compiling the sources

To compile the sources, you need:

Then, type make to build all sources to a "fastbasic.xex" file and a "fastbasic.atr" disk image.

There is also a test-suite that tests various source files compiled with the Atari compiler and the cross compilers, you can run the test-suite by typing make test

Building the docs

To build the documentation, you need: