Structured Super Basic 2.7.2g

Anything QL Software or Programming Related.
User avatar
Giorgio Garabello
Gold Card
Posts: 299
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Structured Super Basic 2.7.2g

Post by Giorgio Garabello »

Original Post:
viewtopic.php?t=5227&start=20
NormanDunbar wrote: Mon Apr 21, 2025 7:42 am Morning Derek.

https://github.com/SinclairQL/Structure ... tag/2.7.2g

2.7.2g is the latest. Details in the docs as to what changed. One thing I added that is incompatible with Tim's version,the line continuation character is "/" in Tim's but in mine it's "/+" as I often use PRINT statements with the trailing slash to get a linefeed. Those lines were combined with the next one and caused MISTakes.

Cheers,
Norm.

This is a problem. Backward compatibility is fundamental, for example this change prevents me from being able to use the latest version, I have been using SSB for years and I have hundreds of programs written with ssb!.

You could use double encoding...


Giorgio


Derek_Stewart
Font of All Knowledge
Posts: 4756
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Structured Super Basic 2.7.2g

Post by Derek_Stewart »

Hi,

As mentioned earlier, MicroEMACS can use SSB by Fileinfo, great I use all those.

I was hoping for a MicroEMACS macro to invoke SSB and process the file in MicroEMACS..


Regards,

Derek
User avatar
Giorgio Garabello
Gold Card
Posts: 299
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Re: Structured Super Basic 2.7.2g

Post by Giorgio Garabello »

Derek_Stewart wrote: Mon Apr 21, 2025 3:46 pm Hi,

As mentioned earlier, MicroEMACS can use SSB by Fileinfo, great I use all those.

I was hoping for a MicroEMACS macro to invoke SSB and process the file in MicroEMACS..
Of course, you can also do it through the MicroEmacs macro, we have several possibilities

Giorgio


swensont
Forum Moderator
Posts: 325
Joined: Tue Dec 06, 2011 3:30 am
Location: SF Bay Area
Contact:

Re: Structured Super Basic 2.7.2g

Post by swensont »

Derek,

My latest version is here:
http://swensont.epizy.com/ssb272.zip

Norman has expanded it with some additional features.

The documentation for 2.7.2 details how to use SSB with MicroEmacs. That document is here:

http://swensont.epizy.com/SSB.pdf

See page 26 for a macro that calls SSBGO to execute SSB while still in MicroEmacs.

Tim


User avatar
NormanDunbar
Forum Moderator
Posts: 2488
Joined: Tue Dec 14, 2010 9:04 am
Location: Buckie, Scotland
Contact:

Re: Structured Super Basic 2.7.2g

Post by NormanDunbar »

Giorgio Garabello wrote: Mon Apr 21, 2025 10:09 am This is a problem. Backward compatibility is fundamental, ...
Check out the rest of the updates. Details of what I changed are in each version. 2.7.2f doesn't change the continuation character, for example.

https://github.com/SinclairQL/Structure ... c/releases

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
Giorgio Garabello
Gold Card
Posts: 299
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Re: Structured Super Basic 2.7.2g

Post by Giorgio Garabello »

NormanDunbar wrote: Mon Apr 21, 2025 6:43 pm
Giorgio Garabello wrote: Mon Apr 21, 2025 10:09 am This is a problem. Backward compatibility is fundamental, ...
Check out the rest of the updates. Details of what I changed are in each version. 2.7.2f doesn't change the continuation character, for example.

https://github.com/SinclairQL/Structure ... c/releases

Cheers,
Norm.
Yes I have seen the various changes, but I am thinking about how the future of this software will be...
Who wants to use the next versions will have to correct all the ssb sources that he had written? in my personal case, more than 100 sources :-(
Who is the maintainer of the software? you or Tim?

Giorgio


User avatar
tofro
Font of All Knowledge
Posts: 3125
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Structured Super Basic 2.7.2g

Post by tofro »

Giorgio Garabello wrote: Tue Apr 22, 2025 6:42 am
NormanDunbar wrote: Mon Apr 21, 2025 6:43 pm
Giorgio Garabello wrote: Mon Apr 21, 2025 10:09 am This is a problem. Backward compatibility is fundamental, ...
Check out the rest of the updates. Details of what I changed are in each version. 2.7.2f doesn't change the continuation character, for example.

https://github.com/SinclairQL/Structure ... c/releases

Cheers,
Norm.
Yes I have seen the various changes, but I am thinking about how the future of this software will be...
Who wants to use the next versions will have to correct all the ssb sources that he had written? in my personal case, more than 100 sources :-(
Who is the maintainer of the software? you or Tim?

Giorgio
I guess it shouldn't be too hard to write some Python or S*Basic utility that converts the line continuation characters?


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
Giorgio Garabello
Gold Card
Posts: 299
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Re: Structured Super Basic 2.7.2g

Post by Giorgio Garabello »

tofro wrote: Tue Apr 22, 2025 1:20 pm I guess it shouldn't be too hard to write some Python or S*Basic utility that converts the line continuation characters?
Sure, but that's not the point.


User avatar
pjw
QL Wafer Drive
Posts: 1626
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: Structured Super Basic 2.7.2g

Post by pjw »

Giorgio Garabello wrote: Tue Apr 22, 2025 3:52 pm
tofro wrote: Tue Apr 22, 2025 1:20 pm I guess it shouldn't be too hard to write some Python or S*Basic utility that converts the line continuation characters?
Sure, but that's not the point.
It wasnt ideal to use a valid separator as a meta character in the first place, but thats water under the bridge.

The simplest might be to just change it in the SSB source code and compile your own version, Giorgio, and anyone else affected.

The maintainers should consider allowing both options in the next update.

Just my 2d's worth


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
User avatar
Giorgio Garabello
Gold Card
Posts: 299
Joined: Tue Jun 30, 2015 8:39 am
Location: Turin, Italy
Contact:

Re: Structured Super Basic 2.7.2g

Post by Giorgio Garabello »

I would add, other small considerations and personal notes.
1) Be able to download the . zip file in the same repository that you normally use, (i.e. either the Dylwyn site or Tim's, do not put it only on Github)
2) The . zip file cannot be unpacked on QL, (names too long)
3) the zip file does not contain the executable, only the sources and documentation, the software is optimized for Turbo so this forces you to install and learn to use this compiler.

just my two cents

Giorgio


Post Reply