RetroBASIC 3.0.6 is up!

A new user has been using RetroBASIC with the 101 BASIC Games sources and noted a number of issues. I have just built version 3.0.6 to address these, and you can download it here:

Change include:

  • support for --dartmouth-loops/-l which skips the loop body if the exit condition is met on entry, like FOR I=1 TO 0
  • support for \ as a statement separator, used in DEC dilects
  • the CLK() function, which returns fractional hours since midnight, from BASIC-PLUS
  • fixed an issue in string comparisons
  • fixed a crash after early exits and then re-entering FOR loops with the same index var
  • fixes a bug that resulted in ?EXTRA IGNORE on numeric INPUTs
  • (minor) add the version number to the CLI header line

For those new to the topic, RetroBASIC is an interpreter written in C that (aims to) supports most of the early dialects of BASIC from various platforms. It can run the original Dartmouth dialect including its MAT commands and CHANGE string handling, as well as the HP TS BASIC that was very popular in the early 1970s and introduced the BASIC world to string slicing, and of course the MS variations and the DEC dialects it was based on, like BASIC-PLUS and EDUSYSTEM.

The program also has extensive documentation, and the Reference Manual is exhaustive and can be used as a stand-alone BASIC reference as it lists the differences between dozens (and dozens!) of different dialects.

Enjoy!

3 Likes

I’m trying to install on an M1 Mac and am getting:

==> Fetching downloads for: retrobasic
✔︎ Bottle flex (2.6.4_2)                                                                     Downloaded  412.5KB/412.5KB
✔︎ Bottle bison (3.8.2)                                                                      Downloaded    1.1MB/  1.1MB
✘ Formula retrobasic (3.0.6)                                                                Verifying   242.7KB/-------
Error: Formula reports different checksum:  1367b2ed720d8945a4e9df69f55c7c8430e4d5e889788d6a433c5d97b21b935b
       SHA-256 checksum of downloaded file: 7545a5a3fe93c60e9290142f12891968f58ac5d24b95182f44ab3b250f1261c6

Gar! This one keeps coming back release after release!

Can you try it again? I had to change the release tag though:

1 Like

Worked fine this time, thanks.

Excellent!

Hopefully this won’t happen on the next release, but I’ll have to remember to check.

1 Like

Ooh, nice. The unlimited tracing issues I was having have gone. Thank you!

How difficult would it be to add a --load «file» option to load but not immediately run a file from the command line? I use that one a lot with Matrix Brandy BASIC.

1 Like

load but not immediately run a file from the command line

Try -n. Or maybe you want it to go into the CLI after?

I am very good at not reading instructions. -n does exactly what I want. Thanks!

Excellent! Plays into my natural laziness just perfectly.

Still looking for suggestions BTW!