Page 1 of 2

Spectacle - PureBasic scripting language - v0.9

Posted: Sun Dec 18, 2005 10:32 pm
by Killswitch
Update

Just a little update to how this projects heading. I've decieded to abandon this code base completly; adding further functionality will only slow things down and there's little room to add new VM features (such as simultanious running of scripts).

That doesn't mean I've abandoned this project though :). Instead I'm going to start completely afresh, turning this from a purely interpreted language to a compiled language. I've already begun work on the bytecode language and it's assembler. After that will come the VM and finally the actual scripting language.

The whole lot'll be open source, again. This time I'll try to have more detailed documentation - for everything.

Old(er) News

Merry Christmas!

As the festive season is nearing I thought I'd release v0.9 of Spectacle, a scripting language written in PureBasic for PureBasic. I was severly tempted to call this version v1.0 but it's not quite bug free enough to be classed as such.

The documentation is also nearly complete, I actually forgot to mention anything about arrays, so:

Code: Select all

Dim Array[10]
Defines an array.

This release is also purely sourced based. For some reason TailBite wouldn't let me create a library out of this - if anyone can tell me why or actually create a library out of this then great :D.

Anyway, I hope you enjoy!

Edit: The Link!

DOWNLOAD

Posted: Sun Dec 18, 2005 10:52 pm
by Joakim Christiansen
Thank you, this is nice!

Posted: Mon Dec 19, 2005 12:39 am
by srod
Excuse what is probably a silly question, but am I supposed to run "Main.pb" ?

If so, it keeps crashing out in the various include files!

I'm probably missing something stupid!

Posted: Mon Dec 19, 2005 12:55 am
by Killswitch
Yeah, you're supposed to run Main.pb.

I'm sorry for the crashes, it should all have been fixed. Remember that all the Spectacle code you want to run should be written in Code.txt, unless you specifiy otherwise.

Edit: Download link above will get ya the new, working source - as will this one (same link as above):

DOWNLOAD HERE

Posted: Mon Dec 19, 2005 1:02 am
by srod
Nice.

I'm going to poke around with this for a while.

Thanks.

Posted: Mon Dec 19, 2005 1:07 am
by Killswitch
No problem! I wouldn't be too worried if you can't follow the code completley - I'm baffled how some of it works myself :shock: :P

Posted: Mon Dec 19, 2005 1:16 am
by Brice Manuel
Wowzers, this is cool. I hope you will continue to develop it.

Posted: Mon Dec 19, 2005 1:22 am
by srod
Killswitch wrote:No problem! I wouldn't be too worried if you can't follow the code completley - I'm baffled how some of it works myself :shock: :P
8)

Looks nicely structured to me.

Posted: Mon Dec 19, 2005 1:27 am
by Killswitch
Yeah I'll continue development :D. I'd like some help in making it cross platform though, and this is one of my main focuses at the moment (as there's little point in having a PB scripting language that only works on 1/4 OSes PB supports!).

Posted: Mon Dec 19, 2005 3:38 am
by dracflamloc
Looks awesome. Maybe if sometime (god i can only hope) I get some free time I'll plug away at getting it to run in Linux

Posted: Mon Dec 19, 2005 3:44 am
by Killswitch
There's not much that needs to be done in order to get it to be cross platform. I made sure that the core interpreter code doesn't rely on any platform specific APIs - it's just the commands that need rewriting.

Posted: Mon Dec 19, 2005 12:31 pm
by El_Choni
Can you send me the code you're trying to Tailbite to see what's wrong?

Thx, and regards,

Posted: Mon Dec 19, 2005 2:26 pm
by Killswitch
The code I'm trying to tailbite is pretty much exactly the same as the code in the files above, except that one procedure is definded as a ProcedureDLL . I haven't really used TailBite much before, so there's probally a simple explination for why I can't make a library:

DOWNLOAD

(I've changed the code slightly, to recreate the code I was trying to tailbite - download using one of the other links if you want the unaltered project)

Posted: Mon Dec 19, 2005 3:08 pm
by ebs
Killswitch,

Your scripting language is AMAZING! I haven't had time to fully explore it yet, but I did want to let you know of a small problem with the HTML manual:

A number of the links to the command descriptions, such as "ElapsedMilliSeconds" , "Wait", "FileSize", and "MoveFile" include the path to your "My Documents" folder in them, so the target file is not found.

I'll let you know if I find anything else.

Regards,
Eric

Posted: Mon Dec 19, 2005 3:33 pm
by Killswitch
Updated the manual to fix the problems address above. I'll add some more files to the manual later on today.

Thanks for your comments :D

DOWNLOAD