Author Topic: BASIC  (Read 14172 times)

Offline John

  • Forum Support / SB Dev
  • Posts: 2573
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #120 on: January 10, 2019, 01:54:52 PM »
My suggestion is to try the DLLC SB extension module Charles wrote in O2.

Offline Mike Lobanovsky

  • (re)TIRED
  • BASIC Developer
  • Posts: 262
Re: BASIC
« Reply #121 on: January 10, 2019, 02:08:55 PM »
FBSL

Thanks John! :)

Using my unreleased Cocoa Objects Library:

Thanks Armando!

What is the license for the macOS native Script BASIC and where can I get its sources should the license so permit?
Mike
____________________________________________________________________
(3.6GHz Intel Core i5, 16GB RAM / nVidia GTX 1060Ti , 6GB VRAM / x64 Win7 Ult.)

Online AIR

  • BASIC Developer
  • Posts: 608
Re: BASIC
« Reply #122 on: January 10, 2019, 02:11:29 PM »

Thanks Armando!

What is the license for the macOS native Script BASIC and where can I get its sources should the license so permit?

ScriptBasic License is MIT, afaik.  It's up in the SANDBOX here.

Offline John

  • Forum Support / SB Dev
  • Posts: 2573
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #123 on: January 10, 2019, 02:13:23 PM »
Quote
Using my unreleased Cocoa Objects Library:

Is your plan to be able to callback to SB SUB/FUNCTION's?

Online AIR

  • BASIC Developer
  • Posts: 608
Re: BASIC
« Reply #124 on: January 10, 2019, 02:45:04 PM »
Not anytime soon, since callbacks to the internal engine itself are not straightforward from extension modules.

Offline John

  • Forum Support / SB Dev
  • Posts: 2573
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #125 on: January 10, 2019, 02:52:20 PM »
Dave Zimmer's COM module would be a good example of calling back to SB function/subs in the same process. DLLC does it from another thread. This is high on my list for IUP so I don't have to do IupLoopStepWait() returning to SB with every event.
« Last Edit: January 10, 2019, 02:54:36 PM by John »

Online AIR

  • BASIC Developer
  • Posts: 608
Re: BASIC
« Reply #126 on: January 10, 2019, 03:01:41 PM »
I don't see them in the sandbox.

Offline John

  • Forum Support / SB Dev
  • Posts: 2573
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #127 on: January 10, 2019, 03:37:46 PM »
Until I do, check out the VB6 OCX SB example I posted on the forum. It's calling back to SB functions from the OCX.

BTW Peter Verhas runs on a Mac and I sent him your Mac install. You may want to let him know what you're up to.

I need to update Dave's COM source with the enhancements Mike did to allow object reference arguments creating new objects.

Here is the BitBucket repo to my updated version of Dave's base but doesn't include Mike's enhancements. I plan to move this repo to the sandbox.

https://bitbucket.org/ScriptBasic/com/src/master/
« Last Edit: January 10, 2019, 04:17:41 PM by John »

Online AIR

  • BASIC Developer
  • Posts: 608
Re: BASIC
« Reply #128 on: January 10, 2019, 04:27:28 PM »
That path doesn't exist, or I don't have rights to see it.

Offline John

  • Forum Support / SB Dev
  • Posts: 2573
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #129 on: January 10, 2019, 04:42:25 PM »
Sorry!

It got marked private for some reason. Please try again.

Offline Mike Lobanovsky

  • (re)TIRED
  • BASIC Developer
  • Posts: 262
Re: BASIC
« Reply #130 on: January 11, 2019, 03:17:30 AM »
ScriptBasic License is MIT, afaik.  It's up in the SANDBOX here.

MIT permits derivative works to be closed-sourced at their authors' option. That's the reason I asked.

Thanks for keeping your fork open to public!
Mike
____________________________________________________________________
(3.6GHz Intel Core i5, 16GB RAM / nVidia GTX 1060Ti , 6GB VRAM / x64 Win7 Ult.)

Offline John

  • Forum Support / SB Dev
  • Posts: 2573
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #131 on: January 11, 2019, 09:15:15 AM »
Quote from: Mike@RetroB
He's also the author of recent ScriptBasic for Java. Probably he knows better the merits and drawbacks of his latest opus as compared to "classic" Script BASIC that runs natively under Windows, all sorts of Linuxes, and macOS, both 32 and 64 bits.

I think the crap reference is about his Java implementation of SB. It never seemed to take off like Peter had hoped. I wish Peter would have stayed with C.

Offline John

  • Forum Support / SB Dev
  • Posts: 2573
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #132 on: January 11, 2019, 10:35:02 AM »
Mike,

I would be honored if you would lead the Windows version of Script BASIC like AIR is doing with the Mac version of SB. I can focus on Linux and man the 'store' but if SB is ever going to relevant in the future, it's going to take pros like you and AIR to bring this home.

Offline Mike Lobanovsky

  • (re)TIRED
  • BASIC Developer
  • Posts: 262
Re: BASIC
« Reply #133 on: January 11, 2019, 10:59:48 AM »
It took AIR years of blind retreat behind the "RETIRED BASIC developer" shield to decide on such a heroic step. It's been just a few months since I hid behind mine. ;D
« Last Edit: January 11, 2019, 12:09:32 PM by Mike Lobanovsky »
Mike
____________________________________________________________________
(3.6GHz Intel Core i5, 16GB RAM / nVidia GTX 1060Ti , 6GB VRAM / x64 Win7 Ult.)

Offline John

  • Forum Support / SB Dev
  • Posts: 2573
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #134 on: January 11, 2019, 11:15:33 AM »
We are at the point in our lives we need to be thinking about the legacy we are going to leave behind. I'm sad FBSL didn't achieve the success you hoped for but a Windows only BASIC these days is an up hill battle. You have already been under the SB covers an appreciate the work Peter invested in the BASIC. Peter gave me the opertunity of a lifetime when he trusted me to carry on with his work. I'm not going to let him down.
« Last Edit: January 11, 2019, 11:18:32 AM by John »