DracScript 1.06 Released! LGPL Scripting Language

Developed or developing a new product in PureBasic? Tell the world about it.
White Eagle
Enthusiast
Enthusiast
Posts: 215
Joined: Sun Jan 04, 2004 3:38 am
Location: Maryland

Post by White Eagle »

[Update]
1.05 is up... This version is still 3.94 compatible.
Thank you VERY much :wink:
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Hey guys, just want to say:

If the LGPL license prevents you from using DracScript in your game or application please contact me so we can work something out.

Also, I'll be working on some more features for DracScript soon, however it will be PB4-only if I do (backporting it should be easy though).
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 345
Joined: Sat Dec 25, 2004 2:37 pm

Post by thyphoon »

hello ! A stupid question but i have a doubt !
Actually can i use "AND" and "OR" operator with "IF" keyword in Dracscript ?
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Nah I hadn't put them in but you can implement it easily on your own if you want, or just do nested if's
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

DracScript is great, I want to use it in ReportBuilder - just trying to figure out in what way though. :)

It would be good if you made it standard that included files should have the extender '.dsi'.

If you do this then an application can preload all the '.ds' files for a menu selector and need not worry about including an include file by mistake.

Maybe purebasic's compilerif statements can be used to keep the source up to date with both 3.xx and 4.xx versions?

As users are supposed to write scripts, maybe a small reference on the basic commands would be good?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

dracflamloc: I've uploaded an rtf file that contains basic script user instructions, maybe you might want to include it in a new release (check it first, it may need corrections). As things get added to the base script system then it could be updated.

Maybe people could include the file in distributions - with an additional file for commands/constants they themselves have registered thru an app?

Here it is:
www.applepanic.com/downloads/rb/dracscript.rtf
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Cool man, thanks!

Btw,
In theory it'd be simple to make user-definable functions, however i'd either have to make a truly working stack (which is a problem due to some quirks in pb's linkedlists) to support recursive calls or i'd have to block the ability to call recursively until I did.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I've added DracScript to ReportBuilder. I've put a note in the license text file that people should contribute to your paypal account if they use the script system.

The zip of DracScript source code is included in the package. Two docs are also included in the programs directory - the DracScript instructions and the extra ReportBuilder commands document.

Could you check to make sure I'm abiding by your license conditions?

http://www.purebasic.fr/english/viewtop ... 287#188287

-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

More than enough, thanks =)

Let me know if people make use of it
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Will do. :D
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 345
Joined: Sat Dec 25, 2004 2:37 pm

Post by thyphoon »

I think i found a little bug !

if you use string value and you put a point (".") dracscript try to read like a float value ....

My english is poor i hope you understand what i Say !

Best Regards
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

been working on some fixes, not quite ready yet!
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

1.06 is up
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 345
Joined: Sat Dec 25, 2004 2:37 pm

Post by thyphoon »

Great !! :)
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

Thanks for the nice script! :wink:
I will be using it on my program. Its not EnableExplicit compatible though.

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
Post Reply