Status update and scripting

4 09 2008

It’s been quiet for a while now, but that doesn’t mean nothing is going on. I’m currently experimenting with the first real abstractor, in order to develop and streamline the abstractor API. This will be the scriptrunner abstractor, that will be able to load script files just like any other plugin.

As for what languages that will be in there, the initial language will most probably be Lua. I suppose making a scripting plugin to support JavaScript wouldn’t be that difficult either, basing it on Mozilla’s Spidermonkey. And, with some luck and help from the community we will hopefully get to see Perl4ng, Python4ng, TCL4ng etc πŸ˜‰

To dive into the actual logic, scripts are loaded by scripting plugins. These plugins contain everything that’s needed to load a script into memory, execute functions in the script, and have the script call functions in the core. These plugins (which are not compatible with bb4win) are in turn loaded by the scripting abstractor. The scripting abstractor will be an integrated part of bc-ng, but it will also be possible to compile bc-ng without any scripting enabled.

Quick summary: Scripting Abstractor is an actual bbClean-ng core plugin that loads Scripting Plugins and also helps by resolving Scripts to the proper scripting plugin. From there on, events are passed through the scripting abstractor to the plugins, and function calls are passed from the plugins to the abstractor.

Any comments on the scripting subsystem can be posted here πŸ™‚




5 responses

26 09 2008

When the first BBClean-ng comming? If it’s soon will be grean πŸ™‚

26 09 2008

It won’t be quite yet. There’s still a lot of code to be written. Remember that this is more or less a complete re-write, and this time we wanna do things right from the beginning.

There will be some concept screenshots up soon tho, for you all to drool over and comment on πŸ™‚

27 09 2008

I’ll be there to check out your output, but I’m a crazy fan of just how much bblean has gotten right on the user-side. I’m looking forward to the successor!

28 09 2008

I hope to be ready as soon as posible, and be compatible with Vista.
I like XP more but i need DX_10 😦

13 12 2008

We might need some actual Vista users on the dev staff for that to happen. Currently, it’s only being compiled and tested in Windows XP, and personally I don’t own a single Vista workstation (Got 2 WinXP, 1 Win2K, and 1 Linux system up). Again, if you think you can help out, please just drop me a mail πŸ™‚

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: