dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Scripting language (was: Audio_3587 Released)

Scripting language (was: Audio_3587 Released)

From: BlueChip <>
Date: Wed, 09 Jun 2004 19:47:53 +0100

>>Obviously, one of the calls to plugchain.rock would be during startup,
>>where main() would
>> settings/car.cfg
>> audio_3587 settings/car.vol
>> car_head.rock "alpine"
>> ASK "left=home ... right=walkman" LEFT|RIGHT
>> settings/home.cfg
>> audio_3587 settings/home.vol
>> settings/walkman.cfg
>> audio_3587 settings/car.vol
>>Well, you get the idea, and the concept could be quickly expanded to
>>include any event driven task you like :)
>Yeah, a scripting language inside rockbox! I like the idea.
>Maybe there exist some freeware language which is light enough to go
>inside rockbox?
>The lightness might be the problem, don't you think?

I discussed this with a friend at length last night, he mentioned a basic
interpreter was built in 1K of C in a competition at ioccc a few years
back, that leaves 31K for a cute plugin interface, or you could include it
in the core, as you prefer.

Either way I have some snazzy ideas for it, unless one of the Rockbox guys
beats me to it. The dilemma is that to create a full event driven
interface (when a song starts <x>; when a menu displays (y), when the
machine boots <z>) would require hooks all over the core code - and that
bit is out of my hands now :(


Received on 2004-06-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy