All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Can LUA e coming with future Grub2
Date: Wed, 3 Sep 2008 12:25:32 +0200	[thread overview]
Message-ID: <20080903102532.GA29762@thorin> (raw)
In-Reply-To: <ca0f59980809030125n46c3ba6ao40169d1150b27163@mail.gmail.com>

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.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  reply	other threads:[~2008-09-03 10:27 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 [this message]
2008-09-03 16:44     ` Vesa Jääskeläinen
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=20080903102532.GA29762@thorin \
    --to=rmh@aybabtu.com \
    --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.