Author Topic: BASIC  (Read 11321 times)

Offline AIR

  • BASIC Developer
  • Posts: 504
Re: BASIC
« Reply #135 on: January 10, 2019, 12:08:23 PM »
My only knock against Windows (for years now) is that their default shell sux. 

Powershell is an improvement, but could be better from a usability standpoint.

(I don't mean Powershell isn't usable, I use it all of the time as my default shell in Windows, but the requirement that you need to change it's default security settings to actually execute scripts locally is a bummer.  When I do this, I do this only as an unprivileged user and not globally, which should have been the default setting IMO.  Interestingly, with Powershell under macOS this restriction doesn't apply.  Go figure)

In Windows, macOS, and Linux I would rather invoke a single command with parameters than have to click 5 times to do the same thing.  Guess I'm old-school, having started with CP/M back in the day.

Back on topic:  Oxygen is something that I haven't looked at, will check it out even though it's Win-only at this point.  Thanks!

AIR.



Offline John

  • Forum Support / SB Dev
  • Posts: 2345
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #136 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

  • ON-HOLD
  • BASIC Developer
  • Posts: 237
Re: BASIC
« Reply #137 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.)

Offline AIR

  • BASIC Developer
  • Posts: 504
Re: BASIC
« Reply #138 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: 2345
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #139 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?

Offline AIR

  • BASIC Developer
  • Posts: 504
Re: BASIC
« Reply #140 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: 2345
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #141 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 »

Offline AIR

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

Offline John

  • Forum Support / SB Dev
  • Posts: 2345
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #143 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 »

Offline AIR

  • BASIC Developer
  • Posts: 504
Re: BASIC
« Reply #144 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: 2345
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #145 on: January 10, 2019, 04:42:25 PM »
Sorry!

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

Offline Mike Lobanovsky

  • ON-HOLD
  • BASIC Developer
  • Posts: 237
Re: BASIC
« Reply #146 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: 2345
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #147 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: 2345
    • ScriptBasic Open Source Project
Re: BASIC
« Reply #148 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

  • ON-HOLD
  • BASIC Developer
  • Posts: 237
Re: BASIC
« Reply #149 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.)