All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin D Bennett <colin@gibibit.com>
To: grub-devel@gnu.org
Subject: Re: Can LUA e coming with future Grub2
Date: Tue, 2 Sep 2008 20:03:39 -0700	[thread overview]
Message-ID: <20080902200339.5277c207@gibibit.com> (raw)
In-Reply-To: <F605D781B7D64D879003D1639BBC347C@hp2003>

On Wed, 3 Sep 2008 09:08:13 +0800
"y.volta" <y.volta@gmail.com> wrote:

> hi,
> 
>     i get to know the Fancy menu branch has lua supported, and just
> wondering, the official release of Grub2 will have Lua inside ( as a
> mod )? 

It would be cool, to be sure!  I never used Lua before, and it was a
great experience integrating it into GRUB; Lua is very easy and clean
to integrate, and it makes adding totally customizable functionality to
themes really easy.

I haven't had a chance to really discuss the possibility of Lua support
with the core GRUB developers, however.

My plan was to modularize Lua in such a way that it is an optionally
loadable piece of the gfxmenu functionality.  Currently the Lua branch
has a hard dependency on Lua.

>     if so, i'm usre, it will extend grub2 much more: for it can load
> its function library and its scripts. Let's suppose we are trying
> develop a window GUI style menu system, just like the XOSL does, we
> can make this as a lua module, user can design its dialog or controls
> layout in its scripts and 'require ("gui.so");' to have modern window
> based menu UI. ;-)
> 
>     at the same time, we can also use lua to extend the grub.cfg,
> isn't it?

Actually, I think replacing GRUB's "bash-ish" scripting with Lua would
be great in many ways, but it is true that Lua (at ~100 KB) is larger
than the GRUB script engine.

Regards,
Colin



  reply	other threads:[~2008-09-03  3:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-03  1:08 Can LUA e coming with future Grub2 y.volta
2008-09-03  3:03 ` Colin D Bennett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-09-03  4:56 y.volta
2008-09-03  8:25 ` Bean
2008-09-03 10:25   ` Robert Millan
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

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=20080902200339.5277c207@gibibit.com \
    --to=colin@gibibit.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.