Skip to content

Repository files navigation

Japi Base BASIC (JBB)

JBB is the BASIC interpreter of the Japi Base Computer — a classic-style BASIC for the Raspberry Pi Pico 2 (RP2350) retro-computer platform. It is a near-complete classic-BASIC core: flow control, declared types, console I/O, the full common math/string/conversion function set, sequential and random-access files, DATA/READ, basic graphics, basic sound, date/time, long strings and MATH/EVAL.

JBB is a component of the Japi Base Computer. On hardware it runs inside the full firmware (platform + editor + BASIC), built from the JapiBaseComputer repository.

Documentation

  • JBB-SYNTAX-SUMMARY.md — the complete syntax reference: every command and function in JBB's single canonical form, grouped by area. Start here to look something up.
  • JBB_MANUAL.md — the worked manual, a work in progress: each command written up with examples and explanations. A full manual (in the spirit of the platform and editor manuals) is on the way; until it lands, the syntax summary above is the complete reference.

Design

JBB deliberately offers one canonical way to write each thing, so it avoids redundant syntaxes. MMBasic compatibility is not a goal, though the language core matches it closely.

Examples

The examples/ folder holds a few small programs (a graphics demo and a self-test) to show the language in use.

Building and testing

JBB has a dependency-free host build (gcc only) for development and testing:

make test        # run the full interpreter test suite
make test-asan   # the same under AddressSanitizer

On real hardware JBB is not built on its own; it is compiled into the Japi Base Computer firmware (see the JapiBaseComputer repository).

Licence

Released under the BSD 3-Clause License — see LICENSE. The same permissive licence as the rest of Japi Base.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages