New scripting engine - testers wanted!

Everything else that doesn't fall into one of the other PB categories.
dreamzonne
New User
New User
Posts: 7
Joined: Mon Jul 29, 2019 4:02 pm

Re: New scripting engine - testers wanted!

Post by dreamzonne »

Hi everyone,
and special thanks to srod for this piece or code art :)
The concep of an expasible script engine sounds great!!!

I'm an active reader of PB foruns, but only I've write something in several years (and may be it was in the German forum)

I have a project that needs a scripting engine.
I was working with PBScript for years because it was easy to adapt PB code to an script and it was very simple to create an hybrid app where scructures, Lists and Functions are shared by host app and scripts.
Problems was to be stuck in PB v5.31 (I use the userlib to compile an standalone .exe) and a few bugs that make scripts crashes sometimes. and there no way to get the source code to fixit and make it compatible with newer PB versions.

Recently I discovered this new and great script engine (I do not strongly test it due to the lack of documentation),
and I have seriously thought to migrate to minScript from PBScript, it's a lot or work because I have over 1,5Mb of PBScrips to migrate, but I need to jail-break from the PBScript bugs and PB v5.31 limitations.

For anyone that kowns something about minScript project:
It is still active?
It is possible to pass PB structures to script engine and work with it (read, assign values of structure elemens), I read about the term CLASS, may be it can be used for that?

There is a way to work with PB List / Maps or analog data types in the scripts? Also I miss the FOREACH/NEXT keyworks to work with these type of data.
I had several PB Lists and Maps declared and filled by the host app, but I like to be used in the scripts (without using a lot of helper functions to work with each List or map)

Loops have the BREAK keywork but I miss the CONTINUE keywork, I think it may be useful to avoid extra IF conditios to skip code in a loop.

Keywork: SELECT / CASE / ENDCASE works with lots of implicit OR (for example DIM Fruit AS STRING : SELECT Fruit : CASE "orange", "grapefruit", "mandarin", "lime": ENDSELECT) ?

And last but not least,
I see that minScrips work in threaded mode, this means that can be posible that an script (for example a main function script) should run other scripts in one or more threads?

Also I will like the possibility to use an script as a pointer for a callback function (to use with SetWindowCallback, for example). The idea is to compile the script, gen an entry address and execute the code by the callback (it's no problem to use a PB helper function for the callback itself, an this function will execute the compiled script)

Sorry for the big post, but I need to make a list of pros and cons to move to minScript

Thanks for any help in my questions,
BR
User avatar
X0r
Enthusiast
Enthusiast
Posts: 142
Joined: Tue May 01, 2007 3:49 am
Location: Germany

Re: New scripting engine - testers wanted!

Post by X0r »

Hey folks,

is minScript still available somewhere to download from?

Or do you know any other solution?
Last edited by X0r on Wed Oct 22, 2025 5:42 pm, edited 1 time in total.
User avatar
mk-soft
Always Here
Always Here
Posts: 6309
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New scripting engine - testers wanted!

Post by mk-soft »

For Windows I have something ...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
X0r
Enthusiast
Enthusiast
Posts: 142
Joined: Tue May 01, 2007 3:49 am
Location: Germany

Re: New scripting engine - testers wanted!

Post by X0r »

Would you mind sharing it? :)
User avatar
mk-soft
Always Here
Always Here
Posts: 6309
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New scripting engine - testers wanted!

Post by mk-soft »

Link: Module ActiveScript for VBScript and JScript

Should all VB-Script examples work with customisation from the Internet.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
X0r
Enthusiast
Enthusiast
Posts: 142
Joined: Tue May 01, 2007 3:49 am
Location: Germany

Re: New scripting engine - testers wanted!

Post by X0r »

Thanks mate!

If anyone still has minScript, I would appreciate it a lot if it could be shared.
User avatar
HeX0R
Addict
Addict
Posts: 1214
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: New scripting engine - testers wanted!

Post by HeX0R »

🙋‍♂️
https://hex0rs.coderbu.de/Sonstiges/pb/minScript.7z

But no support provided, I'm still using it in a terminal program, but I didn't touch this for a very long time.
Might need some changes for latest PB versions, but it was (and is) still a nice scripting engine and was rock solid that time!
User avatar
X0r
Enthusiast
Enthusiast
Posts: 142
Joined: Tue May 01, 2007 3:49 am
Location: Germany

Re: New scripting engine - testers wanted!

Post by X0r »

Thanks a lot, HeX0R!

I will take a look at it.
Post Reply