Building Full BASIC meant turning a 1987 standard into running code, and proving that the result really follows it. Two pieces of that work are useful beyond the app, so they are published under the MIT licence for anyone to use, check or improve.
github.com/Full-BASIC/full-basic-conformance · latest release v1.0.1 (2026-11-12) · MIT
An interpreter-independent conformance suite for ANSI X3.113-1987 Full BASIC (FIPS PUB 68-2) and ECMA-116, in the spirit of the classic NBS test programs for Minimal BASIC. As far as I know, nothing like it was publicly available for Full BASIC.
Tests come in several types: SELF (the program checks itself), OUTPUT (exact expected output), REJECT (the interpreter must refuse a non-conforming program), FATAL and WARN (the right exception code at the right line), plus graphics tests that compare a log of drawing primitives.
python3 tools/run_suite.py --interpreter 'myinterp {file}' \
--name 'MyInterp 1.0' --output results/myinterp.json
| Test programs | 2,085 — all passing |
| ANSI X3.113-1987 claims | 1,270 (Core, Enhanced Files, Graphics, Fixed Decimal) |
| ECMA-116 claims | 787 (BASIC-2 + Graphics) |
The two conformance statements are generated from the results, so they only list claims whose tests pass: nothing is claimed by hand.
antlr/grammars-v4 — pull request #5202 · submitted 2026-11-14 · pending review · MIT
The parser of Full BASIC is built from an ANTLR 4 grammar written from scratch from the standard's syntax rules. A cleaned-up version — the same one the interpreter uses — has been contributed to grammars-v4, the community collection of ANTLR grammars, as basic/fullbasic/.
FullBASICLexer.g4, FullBASICParser.g4), with no actions or predicates, so it builds for every ANTLR target (Java, C#, Python, JavaScript, C++, Go and others).grammars-v4 had several BASIC dialects, but not the standard Full BASIC. Until the pull request is merged, the grammar can be followed on the PR itself.
The language is the same in the three published standards:
Full BASIC, FBCS and the grammar are independent work. They are not affiliated with, endorsed by or certified by ANSI, NIST, Ecma International, ISO or the ANTLR project.