User avatar
Posts: 1768
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Matrix Brandy BASIC — another BBC BASIC interpreter for Raspbian

Sun Sep 09, 2018 4:26 pm

If you like BBC BASIC, you might like Matrix Brandy BASIC. It's a fork of the original Brandy interpreter, but lovingly maintained and developed by an active user of the stardot Acorn forum.

The source lives here: You have to build from source, but it's not too hard. Install the SDL development library (sudo apt install libsdl1.2-dev), unpack the source archive, cd to that folder, then type make. You should end up with an executable called brandy which you can move to somewhere on your PATH for the shell to find it. You can do that easily by using your ~/bin folder (mkdir -p ~/bin ; cp ./brandy ~/bin). The next time you open a terminal, ~/bin will be in your path.

A desktop file to run Matrix Brandy from the UI:

Code: Select all

[Desktop Entry]
Name=Matrix Brandy BASIC
Comment=Matrix Brandy BASIC
GenericName=Matrix Brandy BASIC
It's fairly compatible with existing BBC BASIC programs that don't use inline assembly language. It's fairly fast, so any program that relied on simple timing loops may need some modification.

Richard's BBCSDL is more of a polished package, but Matrix Brandy BASIC is definitely worth looking at.

(There's a rather old version of the original Brandy interpreter in the Raspbian repos. It works, but isn't great.)
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

Return to “Other programming languages”

Who is online

Users browsing this forum: bertlea and 5 guests