From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Can LUA e coming with future Grub2
Date: Wed, 03 Sep 2008 19:44:33 +0300 [thread overview]
Message-ID: <48BEBEF1.5090601@nic.fi> (raw)
In-Reply-To: <20080903102532.GA29762@thorin>
Robert Millan wrote:
> On Wed, Sep 03, 2008 at 04:25:12PM +0800, Bean wrote:
>> On Wed, Sep 3, 2008 at 12:56 PM, y.volta <y.volta@gmail.com> wrote:
>>> For the Grub2 internal script engine, yes, it is little. but need more work
>>> to be improved. About the size, i think, Lua can be a replacement if this
>>> lua.mod is available at runtime. at the same time, why not load gziped mod
>>> file from disk? this will reduce the size of lua module: 100,436 bytes ->
>>> 49,766.
>>>
>>> But the benifit of using Lua, i think, is for graphic menu. the gfxmenu uses
>>> a strange script engine, it is hard to learn for a common user; but the Lua,
>>> it is easy. ;-)
>>>
>>>
>>> So, it is good to have lua support in Grub2.
>> Hi,
>>
>> In my suggestion to split normal mode, the script engine is separated
>> and can be replaced, as long as they export a certain interface that
>> return information like the menu items, etc. But now, I'm waiting for
>> the handler patch, as it's the basic of the new model.
>
> Note that size is still an issue, though. For example coreboot users will
> usually want to use scripting for the grub.cfg they store in their ROM.
Hi,
I like the idea of using Lua personally for graphical menu related
scripting and in my opinion it could be additional script that could be
used.
User could in example defined scripting language in a bit same way that
you do that in HTML pages:
lua:"script-filename.lua"
grub:"exec grub-script-filename"
own-extension:"do this and this effect that is integrated to some other
module"
In order to one of those work, you need to load script module that
registers handler for it.
Do anyone have skills to decipher Lua's license is it compatible with
GPLv3 ?
Thanks,
Vesa Jääskeläinen
next prev parent reply other threads:[~2008-09-03 16:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 4:56 Can LUA e coming with future Grub2 y.volta
2008-09-03 8:25 ` Bean
2008-09-03 10:25 ` Robert Millan
2008-09-03 16:44 ` Vesa Jääskeläinen [this message]
2008-09-04 19:24 ` Robert Millan
[not found] <48C052F5.80B3EF.08497@m12-68.163.com>
2008-09-05 0:49 ` y.volta
-- strict thread matches above, loose matches on Subject: below --
2008-09-03 1:08 y.volta
2008-09-03 3:03 ` Colin D Bennett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48BEBEF1.5090601@nic.fi \
--to=chaac@nic.fi \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.