Full BASIC app icon

Full BASIC

Learn coding in classic BASIC.

Learn to program the way a whole generation did: type a few lines, press Run and watch them work. Full BASIC brings back the BASIC of the 1980s, in its most complete form, to your Mac, iPhone and iPad.

iPhone and iPad

Download on the App Store

Mac — coming soon to the Mac App Store.

See it in action

The Mandelbrot set drawn by a BASIC program Catapult Duel, a two-player game with craters and wind The built-in manual, open on PRINT The debugger paused inside a recursive SUB

For learners, teachers and retro fans

  • Small enough to learn in an afternoon, rich enough to take seriously.
  • A built-in manual, with context help from the editor.
  • 38 explained example programs, from "Hello, world" to classics such as Lunar Lander, Hamurabi, the Game of Life and the Mandelbrot set — and a catapult duel with craters and wind.
  • Errors point to the exact place in your code.
  • Completely free: no in-app purchases, no account, no ads, no data collection, and it works fully offline. Ready for the classroom.

The whole standard

Full BASIC implements ANSI X3.113-1987 Full BASIC (adopted as FIPS PUB 68-2, and equivalent to ECMA-116): the structured BASIC that was written down in a standard but that almost nobody ever implemented in full.

  • Structured programming — IF and SELECT CASE blocks, FOR and DO loops, SUB, FUNCTION and DEF, with recursion and multiple program units.
  • Exception handling — WHEN, USE, RETRY and CAUSE EXCEPTION: programs that recover instead of crashing.
  • Arithmetic your way — floating point, or exact decimal arithmetic with OPTION ARITHMETIC for money calculations.
  • Strings, arrays and MAT operations, DATA and READ, formatted output with PRINT USING.
  • Files — sequential and other access methods on the files you choose.
  • Graphics — windows, lines, areas, colors, text and pictures with transformations.
  • CHAIN to run another program of yours.
20 DECLARE EXTERNAL FUNCTION FNFACT
30 DECLARE EXTERNAL FUNCTION FNFIB
40 PRINT "=== PS9_REC_001 ==="
50 PRINT "factorial(5)="; FNFACT(5)
60 PRINT "factorial(10)="; FNFACT(10)
70 PRINT "fib(0)="; FNFIB(0)
80 PRINT "fib(1)="; FNFIB(1)
90 PRINT "fib(8)="; FNFIB(8)
100 PRINT "fib(12)="; FNFIB(12)
110 PRINT "=== END ==="
120 END
150 EXTERNAL FUNCTION FNFACT(N)
160   IF N <= 1 THEN
170     LET FNFACT = 1
180   ELSE
190     LET FNFACT = N * FNFACT(N - 1)
200   END IF
210 END FUNCTION
220 EXTERNAL FUNCTION FNFIB(N)
230   IF N <= 1 THEN
240     LET FNFIB = N
250   ELSE
260     LET FNFIB = FNFIB(N - 1) + FNFIB(N - 2)
270   END IF
280 END FUNCTION

Output:

=== PS9_REC_001 ===
factorial(5)= 120 
factorial(10)= 3628800 
fib(0)= 0 
fib(1)= 1 
fib(8)= 21 
fib(12)= 144 
=== END ===

Tested, in the open

Conformance is not a slogan here: it is measured. The interpreter is checked against the Full BASIC Conformance Suite — 2,085 test programs backing 1,270 claims against ANSI X3.113-1987 and 787 against ECMA-116, all passing. The suite is open source, so anyone can verify the results or run it against another interpreter.

Claimed modules: Core, Enhanced Files, Graphics and Fixed Decimal. The optional Real Time module and the standard's line editor are not part of the app (the app has its own source editor instead).

The app

  • A code editor with syntax highlighting, line numbers, and renumbering and reordering of lines.
  • A console for text and graphics, with keyboard input for your programs.
  • Open and save your .bas files from the Files app or the Finder.
  • A debugger — breakpoints, step into/over/out, pause, call stack and variables.
  • SVG export of your graphics.
  • iCloud Drive — your programs on all your devices.
  • Light, dark and system appearance.

Completely free

Full BASIC is free on Mac, iPhone and iPad, with no in-app purchases. Everything is included: the whole language, the 38 examples and the manual, the debugger, SVG export and iCloud Drive.

Under the hood

The language engine is written in C++: an ANTLR 4 grammar → a typed syntax tree → an intermediate language → a virtual machine, with exact decimal arithmetic where the standard asks for it. The app around it is native SwiftUI.

The grammar itself has been released under the MIT licence and contributed to ANTLR's grammars-v4, the community collection of ANTLR grammars.

Open source around Full BASIC

More on both: Open source.

Support, privacy and contact


Full BASIC is an independent implementation of the published standard. It is not affiliated with, endorsed by or certified by ANSI, NIST, Ecma International or any other standards body.
Full BASIC is developed by Antonio José González Barazón. © 2026 AJGB. All rights reserved.
Apple, the Apple logo, Mac, iPhone, iPad and iCloud are trademarks of Apple Inc., registered in the U.S. and other countries.