Planning a PB Revival Compiler .... in 32-bit.

Started by Theo Gottwald, May 05, 2026, 06:33:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Theo Gottwald

Planning a PB Revival Compiler .... in 32-bit.

2026-05-05 18_29_23-A+ Content – Datei-Explorer.png

2026-05-05 18_29_36-Greenshot.png

Stan Duraham

Why not 64bit? I doubt any new user would be interested in 32bit. Those interested in PB 32bit probably already have it, and they're dwindling.
If you do a 64bit, even close to PB, please hurry up.
  •  

Theo Gottwald

#2
We will soon get a 64-bit Compiler from Jürgen, and my CX 64 is slowly advancing.

So you are looking for an 64-Bit Compiler?
Jürgens Compiler is already for Testing out there.

This one ist mostly for me, also because i need it to compile my own code.

The rules are:
1. it must not be slower then Powerbasic also in Compiling. At least same speed.
And that is hard because PB is very optimized.

2. It must be 100% Compatible and add some features. Especially those that were planned and never done completely.

3. And i will change the PREFIX Command. Make it less complicated.

4. I also want the AutoDim-Feature to work. It was partly implemented in PB but crashed the program on exit.

So this is my plan for the start. It will still take some weeks i think. But - we will see.
I already have a lot together and ... it assembles. Its done in Assembler 100%.
It depends on how much KI i have leftover for sidecars (that do never earn money).

2026-05-06 20_01_03-Greenshot.png

Theo Gottwald

#3
This Compiler is also soon to be released.

The name will be ""ScharfBasic", named after

Hanns-Joachim Gottlob Scharff (didn't know there is a second "f" when i designed it  ;D).
1907–1992, German Luftwaffe interrogator during World War II.

He became known as the Luftwaffe's "Master Interrogator."
He mainly interrogated downed American and British pilots,
his method was specifically not based on torture, threats, or violence.


Instead, he used:

  • friendly conversations
  • walks outside the camp
  • seemingly casual remarks
  • information he already had beforehand
  • a psychological "correct me if I'm wrong" technique
  • trust and relaxation instead of intimidation

Which is even more modern then most armies are today, where they still use torture for interrogation.
So this is a good hero to remember.

Biography about him was published under the title "The Interrogator: The Story of Hanns Scharff, Luftwaffe's Master Interrogator.".

This program will be smaller and faster then the original PB Compiler and also support SLL's yet not the original PB but its own.
it will have the complete PB-Commands fully compatible, bugs removed where they are in original PB and more new features like
Auto-Dim Arrays, some new string commands and an /ASMOUT: Option that will enable to dissassemble the generated Output.

It will also compile programs where the normal PB will crash.

I use it already for all my Tasks. Yet the release will need to wait a bit longer when the other compilers are bug free.