Vesa Jääskeläinen <[EMAIL PROTECTED]> writes:

> Markus Elfring wrote:
>>> And what is wrong with current config file?
>>> http://grub.enbug.org/grub.cfg
>> 
>> How much documentation is available for this domain-specific language?
>> Does a grammar exist for the data format?
>
> Marco Gerards has been working on the grub scripting language. So he
> might be able to give some insights in case Wiki does not feature enough
> information.

It's supposed to be bash like :)

>> http://grub.enbug.org/Subprojects/GraphicalMenu
>> 
>> I imagine that additional attributes will be needed.
>> - Identifier: optional alphanumeric key
>> - Parent: index number or menu identifier
>
> Menu commands can have children already so you would get hierarchy
> information from there. Shortcut key you could just add as extra
> argument for menu, like --hotkey="1"
>
> In example:
>
> menu "foo" {
>   menu "bar" {
>     menu "zot" {
>     }
>   }
> }
>
> Though I am not sure how well this outline view is supported by the
> current parser. Marco, perhaps you could share some insights?

Personally I first want to focus on getting what we have to work,
before even thinking about anything else.  Ideas are good, but having
*something* to use is better :-)

--
Marco



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to