QD vB.07

Anything QL Software or Programming Related.
User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

QD vB.07

Post by mk79 »

I uploaded a new QD version to https://www.kilgus.net/smsqe/qd/. It finally seems to fix the crashes Per experienced with it (thanks for isolating the problem!). Basically it could corrupt memory if you give it an editor height on the command line (e.g. "\n200") that does not fit on the screen. I introduced the bug in B.05 while implementing the per-extension file usage feature, a very unfortunate and unexpected side-effect.

Cheers, Marcel


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

Re: QD vB.07

Post by Derek_Stewart »

Hi Marcel,

Great work.

I use QD for assembler programming and I am using QD more for Basic programming.

Just a couple of questions:

1) The Usage for Basic only highlights the DEF PROCedure statements, is it possible to have full syntax highlighting

2) How to compile with Qliberator from QD, at present,I have to save the basic programme with line numbers and compile from Sbasic. Can the QD basic programme be sent to the Qliberator Thing and compile it that way?


Regards,

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

Re: QD vB.07

Post by pjw »

@Derek: JMS used to sell a product called QBASIC which was similar to the SBAS/QD Thing except it would send the file being edited in QD to Q-Liberator rather than SBASIC. Personally I didnt like it, partly because you couldnt have both SBAS/QD and QBAS/QD at the same time; it was either/or.
So, naturally, I wrote my own version, which works via FileInfo2 to compile line-numbered or numberless (or _sav files) directly from a file manager (like QPAC2 Files). I find that much more practical.


Per
dont be happy. worry
- ?
User avatar
pjw
QL Wafer Drive
Posts: 1315
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QD vB.07

Post by pjw »

@mk79:
Thanks for fixing and maintaining QD!
Ive tried the rest; QD suits me best!


Per
dont be happy. worry
- ?
User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QD vB.07

Post by mk79 »

Derek_Stewart wrote:1) The Usage for Basic only highlights the DEF PROCedure statements, is it possible to have full syntax highlighting
In theory yes, of course, in practice no. I tried once 10 years ago and failed. The code is not really prepared for these kind of things.
2) How to compile with Qliberator from QD, at present,I have to save the basic programme with line numbers and compile from Sbasic. Can the QD basic programme be sent to the Qliberator Thing and compile it that way?
No idea, but I have uploaded the QBASIC thing Per mentioned, in case anybody has a use for it.

Marcel


User avatar
RalfR
Aurora
Posts: 872
Joined: Fri Jun 15, 2018 8:58 pm

Re: QD vB.07

Post by RalfR »

mk79 wrote:No idea, but I have uploaded the QBASIC thing Per mentioned, in case anybody has a use for it.
No, you have just uploaded the QD Manual.PDF. Perhaps the wrong link.
Last edited by RalfR on Thu Aug 06, 2020 1:55 pm, edited 1 time in total.


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

Re: QD vB.07

Post by Derek_Stewart »

Hi Marcel,

I tried to download QBASIC.ZIP and got the QD 2018 Manual.

But with regards to compiling with Fileinfo2, I think a possible approach is:

Start SBASIC
Load basic programme to be compiled
Create Qliberator work file by LIBERATE dev_filename_ext
quit SBASIC
EX qlib_obj;"dev_filename_ext -OBJ dev_filename"

My first attempt at this did not work.


Regards,

Derek
User avatar
mk79
QL Wafer Drive
Posts: 1349
Joined: Sun Feb 02, 2014 10:54 am
Location: Esslingen/Germany
Contact:

Re: QD vB.07

Post by mk79 »

Derek_Stewart wrote:I tried to download QBASIC.ZIP and got the QD 2018 Manual.
Argh, copy&paste is evil. Fixed.


User avatar
RalfR
Aurora
Posts: 872
Joined: Fri Jun 15, 2018 8:58 pm

Re: QD vB.07

Post by RalfR »

I think QBASIC's parser is written by TT, I once have gotten a program "parser" from him to try. This could it be.

But the more serious question is, if the parser is able to control nowadys SBASIC?


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

Re: QD vB.07

Post by Derek_Stewart »

Hi,

The download works perfectly, so I should be able to compile SBASIC programmes from QD.

I could configure Fileinfo2 to use a version of QD with different Thing option in the command line to use SBAS/QD or QBASIC.

As for the Syntax colouring, I do not think this a problem.

Anyways, Microemacs has a Hilite mode


Regards,

Derek
Post Reply