Page 1 of 1

QLiberator decompiler update

Posted: Tue Mar 18, 2025 2:19 pm
by Martin_Head
Here is an update to my Qliberator decompiler.

I have finally got around to using a version number, and this is now version 1.00

This version adds support for V1.xx and V2.xx of QLiberator.

Somewhere between V3.22 and V3.31, some of the structure of the compiled programs was changed. Mostly the handling of SELect, but also handling of command and function keywords.

This version of the decompiler, now scans the systems name table/list to determine if keywords are commands or functions. So you may find that you need to install any SuperBASIC extensions, before doing a decompile. However, The decompiler knows about the QLIB extensions like Q_PIPE and Q_ERR_ON. So you don't need to install them.

The support for V1.xx and V2.xx QLiberator may be a sketchy, as I could only find one V2.xx program to decompile, and that was quite short. And only a couple of V1.xx programs.

Re: QLiberator decompiler update

Posted: Wed Mar 19, 2025 4:27 pm
by RalfR
Great Martin, thank you!

Re: QLiberator decompiler update

Posted: Sun Jun 22, 2025 2:29 pm
by Martin_Head
Here's a further update.

This update adds support for about a dozen codes in the runtimes that were previously unidentified.

These include - slicing literal strings e.g. "ABCDEF"(2 TO 4), WHEN variable constructs, and the TRACE compile option.

Re: QLiberator decompiler update

Posted: Sun Jun 22, 2025 4:17 pm
by RalfR
Thank you, Martin :)