Raspberry BASIC

Raspberry BASIC => Interpreters => BBC BASIC => Topic started by: Richard Russell on July 31, 2023, 09:35:35 AM

Title: BBC BASIC for SDL 2.0 version 1.36a released
Post by: Richard Russell on July 31, 2023, 09:35:35 AM
I have released version 1.36a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, Mac OS, Linux, Raspberry Pi OS, Android, iOS and in-browser.  The changes in this version are as follows:

This version may be downloaded, for all the supported platforms, from the usual location (https://www.bbcbasic.co.uk/bbcsdl/) (the Android and iOS editions should be installed from the appropriate App Store).  The GitHub repository (https://github.com/rtrussell/BBCSDL) has also been updated.
Title: Re: BBC BASIC for SDL 2.0 version 1.36a released
Post by: Richard Russell on August 01, 2023, 08:42:17 AM
Updated the 'compiler' to create a standalone EXE file in Windows!

In response to a user request, I have updated the Windows edition (only) to v1.36b.  In this version standalone executables behave more like those created by BBC BASIC for Windows, in that libraries and DLLs are deleted after the program has terminated rather than been left lying around on the disk.

The practical outcome is that load time may be slightly increased, because the libraries and DLLs must be extracted every time the program is run, but it's less wasteful of disk space and - in the case of a program which needs no resource files such as sprites or music - admin privileges are not needed to run the program in a write-protected directory.
Title: Re: BBC BASIC for SDL 2.0 version 1.36a released
Post by: John Spikowski on August 03, 2023, 01:50:51 AM
ScriptBasic creates a standalone executable by appending the interpreter with the binary version of the script source. It also allows compiling to C which the interpreter becomes a DLL / shared object resource.