Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64-lite
#1
QB64-lite:

For the past 7-8 hours or so I have been working at creating a minimal version of qb64.
I can't even count how many recompiles ive done. It recompiles itself, so it works.

45644 lines of code (down from 52662).

It only works on linux. no mac or windows support.
it has no debug, or wiki, or help system.
it has none of the built in tools.

it may still have traces left of those things but they will be deleted.

this is all one big .bas file. put it in your qb64/sources folder along side qb64.bas, and compile.
It might be a little faster since there is less in it, i cant back that up though.

Well enjoy. and give me feedback!  Smile


Attached Files
.bas   qb64o2.bas (Size: 1.82 MB / Downloads: 94)
Reply
#2
@Keybone

Is version 2.+ needed because 1.5 doesn't have any Internal/Support files particularly for vwatch.


[Image: Screenshot-from-2022-04-23-19-08-42.png]
Reply
#3
(04-23-2022, 11:17 PM)bplus Wrote: @Keybone

Is version 2.+ needed because 1.5 doesn't have any Internal/Support files particularly for vwatch.


[Image: Screenshot-from-2022-04-23-19-08-42.png]
Well version 2.x has the recursion fix.
I guess that's one reason to use it.

Mostly, i'm just doing this for my own projects.
I'm sharing it because I know someone might find it useful.
Reply
#4
Well it certainly is interesting, I'll see if I can get latest QB64 going on Linux.
Reply
#5
OK @Keybone thanks to you I now have QB64 v 2.0.2 loaded in Linux and YES, your mod does work!

Nice work, worth a point to your rep ;-)) BTW I guess Fellippe inserted a mod of vwatch to get the debug stuff going in versions 2.0+ that was the missing support between 1.5 and 2+


Attached Files Image(s)
   
Reply
#6
(04-24-2022, 12:53 AM)bplus Wrote: OK @Keybone thanks to you I now have QB64 v 2.0.2 loaded in Linux and YES, your mod does work!

Nice work, worth a point to your rep ;-)) BTW I guess Fellippe inserted a mod of vwatch to get the debug stuff going in versions 2.0+ that was the missing support between 1.5 and 2+
Thank you. yeah i got rid of as much of the vwatch stuff as possible, there might be some left though.
Reply
#7
Here is my latest version:

I manage to strip out another 1300 lines of code.
Let me know if it works good. It worked on everything tested it with.


Attached Files
.bas   qb64o8.bas (Size: 1.78 MB / Downloads: 74)
Reply
#8
@Keybone so this should work with any bas file I have in my collection? There are no limits?

(Well with my new Linux I don't have much of a collection yet.)
b = b + ...
Reply
#9
(04-24-2022, 01:40 PM)bplus Wrote: @Keybone so this should work with any bas file I have in my collection? There are no limits?

(Well with my new Linux I don't have much of a collection yet.)

As far as i know, I didnt change the qb64 language in the slightest bit.
If you run this on a linux computer it should run all your .bas files. So far i havent had a problem. 
Since it is based on 2.x, if its an old program it might need the recursion bug fixed though.

[Image: Screenshot-2022-04-23-23-57-38.png]
Here is a screenshot of Stx's sanctum program running.
It was just some random program i threw at it.

upload image
Reply
#10
hello Keybone ...
well if is compiled on Linux ..for sure should work on linux
but ,,then if is just a big .bas file then should be compiled on Windows with
same compiler .. i guess you use GCC ..right ?
Reply




Users browsing this thread: 4 Guest(s)