LB -> LBB -> BBCSDL -> Linux

You can talk about anything related to LB Booster here, not covered in another category
Steve
Posts: 1
Joined: Mon Aug 04, 2025 7:52 pm

LB -> LBB -> BBCSDL -> Linux

Post by Steve »

If I’m understanding the docs correctly.
I can write a program in LB port it to LBB, convert it to BBC Basic then make (whatever the equivalent to an EXE file is on Linux) standalone for Linux in BBCSDL?

Or an I over complicating things?

Wish LBB ported to a deb file. Or am i naive?
guest
Site Admin
Posts: 213
Joined: Tue Apr 03, 2018 1:34 pm

Re: LB -> LBB -> BBCSDL -> Linux

Post by guest »

Steve wrote: Mon Aug 04, 2025 8:22 pm If I’m understanding the docs correctly.
I can write a program in LB port it to LBB, convert it to BBC Basic then make (whatever the equivalent to an EXE file is on Linux) standalone for Linux in BBCSDL?
It very much depends on what kind of program.

It says this in the description of how LBB works: "LBB is a hybrid translator and emulator. The translator automatically converts Liberty BASIC syntax to the equivalent BBC BASIC syntax... The emulator implements at run-time those aspects of Liberty BASIC which aren't part of the standard BASIC language and which have no direct equivalent in BBC BASIC; principally these are the Graphical User Interface elements".

So a Liberty BASIC program which can be entirely translated to BBC BASIC, i.e. one that does not rely on the run-time emulator part of LBB, probably can be ported to BBCSDL in the way you describe. But a program which cannot be entirely translated to BBC BASIC, typically one using GUI elements, isn't going to be compatible with BBCSDL.